diff --git a/neofetch b/neofetch index 2f7d8b06..035e960e 100755 --- a/neofetch +++ b/neofetch @@ -1538,7 +1538,7 @@ getresolution () { awk '/Resolution:/ {printf $2"x"$4" @ "$6"Hz, "}')" fi - [[ "$refresh_rate" == "off" ]] || [ "${resolution// * @ }" == "0Hz" ] && \ + [ "$refresh_rate" == "off" ] || [ "${resolution// * @ }" == "0Hz" ] && \ resolution="${resolution// @ *[0-9]Hz}" ;;