Merge branch 'fix-issue-662' of https://github.com/eliezio/neofetch
This commit is contained in:
commit
93bfcf178a
1 changed files with 1 additions and 1 deletions
2
neofetch
2
neofetch
|
@ -1391,7 +1391,7 @@ get_resolution() {
|
||||||
|
|
||||||
"Mac OS X")
|
"Mac OS X")
|
||||||
if type -p screenresolution >/dev/null; then
|
if type -p screenresolution >/dev/null; then
|
||||||
resolution="$(screenresolution get | awk '/Display/ {printf $6 "Hz, "}')"
|
resolution="$(screenresolution get 2>&1 | awk '/Display/ {printf $6 "Hz, "}')"
|
||||||
resolution="${resolution//x??@/ @ }"
|
resolution="${resolution//x??@/ @ }"
|
||||||
|
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue