Resolution: Added support for AIX

This commit is contained in:
Muhammad Herdiansyah 2017-01-04 09:40:34 +07:00
parent f419c1c50e
commit 60ab558dec

View file

@ -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, "}')" ;;