This commit is contained in:
Dylan Araps 2016-06-14 17:10:14 +10:00
commit 9e49e31bba

View file

@ -1538,8 +1538,8 @@ getresolution () {
awk '/Resolution:/ {printf $2"x"$4" @ "$6"Hz, "}')" awk '/Resolution:/ {printf $2"x"$4" @ "$6"Hz, "}')"
fi fi
[[ "$refresh_rate" == "off" ]] && \ [ "$refresh_rate" == "off" ] || [ "${resolution// * @ }" == "0Hz" ] && \
resolution="${resolution// @ *([0-9])Hz}" resolution="${resolution// @ *[0-9]Hz}"
;; ;;
"Windows") "Windows")