From 47a850a3056a3e3c3447ee32e9462f7169b1b09b Mon Sep 17 00:00:00 2001 From: Andrew Titmuss Date: Tue, 14 Jun 2016 17:04:22 +1000 Subject: [PATCH] changed double bracket --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index a800c93a..2f7d8b06 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}" ;;