Resolution: Added support for AIX
This commit is contained in:
parent
f419c1c50e
commit
60ab558dec
2
neofetch
2
neofetch
|
@ -1315,7 +1315,7 @@ get_song() {
|
|||
|
||||
get_resolution() {
|
||||
case "$os" in
|
||||
"Linux" | "BSD" | "Solaris" | "MINIX")
|
||||
"Linux" | "BSD" | "Solaris" | "MINIX" | "AIX")
|
||||
if type -p xrandr >/dev/null; then
|
||||
case "$refresh_rate" in
|
||||
"on") resolution="$(xrandr --nograb --current | awk 'match($0,/[0-9]*\.[0-9]*\*/) {printf $1 " @ " substr($0,RSTART,RLENGTH) "Hz, "}')" ;;
|
||||
|
|
Reference in New Issue