Merge branch 'master' of https://github.com/dylanaraps/neofetch
This commit is contained in:
commit
9e49e31bba
4
neofetch
4
neofetch
|
@ -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")
|
||||||
|
|
Reference in New Issue