missed the other brackets...

This commit is contained in:
Andrew Titmuss
2016-06-14 17:07:35 +10:00
parent 47a850a305
commit f61dde03b0

View File

@@ -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}"
;;