Merge pull request #195 from iandrewt/refresh_fix
fixed resolution output when refresh rate not available
This commit is contained in:
commit
177cea84df
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