diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/status.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/status.sh b/bin/status.sh index dd75c41..a618f5b 100755 --- a/bin/status.sh +++ b/bin/status.sh @@ -24,9 +24,9 @@ puts '[' while true; do puts '[' - volinfo="$(amixer get Master | grep 'Mono:')" + volinfo="$(amixer get Master | grep 'Front Left:')" vol_level="$(printf %s "$volinfo" | awk -F'[][]' '{print $2}')" - vol_enabled="$(printf %s "$volinfo" | awk -F'[][]' '{print $6}')" + vol_enabled="$(printf %s "$volinfo" | awk -F'[][]' '{print $4}')" color="#ffffff"; bl=""; br="" [ "$vol_enabled" = "off" ] && { color="#ffff00"; bl="("; br=")"; } block_color "vol $bl$vol_level$br" "$color" |