From f61dde03b0cbc2fb6e0622b34d7ce4f46b0b670f Mon Sep 17 00:00:00 2001 From: Andrew Titmuss Date: Tue, 14 Jun 2016 17:07:35 +1000 Subject: [PATCH] missed the other brackets... --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}" ;;