diff --git a/neofetch b/neofetch index 5ccbfb8a..5a4d4e74 100755 --- a/neofetch +++ b/neofetch @@ -1251,7 +1251,7 @@ getresolution () { fi [[ "$refresh_rate" == "off" ]] && \ - resolution=${resolution// @ +([0-9])Hz} + resolution=${resolution// @ *([0-9])Hz} ;; "Windows")