fixed resolution output when refresh rate not available
This commit is contained in:
parent
9a7a21d18a
commit
64dc636e48
1 changed files with 1 additions and 1 deletions
2
neofetch
2
neofetch
|
@ -1251,7 +1251,7 @@ getresolution () {
|
|||
fi
|
||||
|
||||
[[ "$refresh_rate" == "off" ]] && \
|
||||
resolution=${resolution// @ +([0-9])Hz}
|
||||
resolution=${resolution// @ *([0-9])Hz}
|
||||
;;
|
||||
|
||||
"Windows")
|
||||
|
|
Loading…
Reference in a new issue