diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2012-07-08 04:18:08 +0200 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2012-07-08 04:18:08 +0200 |
commit | 130dfa760b27a1cfce48f849a01b1f38306bea03 (patch) | |
tree | fa0aa503e7b17c7e059ce62076fe586d87e076e0 /bin | |
parent | 28f4041e024f717e58e201f0f4b054fabdacd325 (diff) | |
download | dzen2-config-130dfa760b27a1cfce48f849a01b1f38306bea03.tar.gz dzen2-config-130dfa760b27a1cfce48f849a01b1f38306bea03.tar.xz dzen2-config-130dfa760b27a1cfce48f849a01b1f38306bea03.zip |
remove outdated lines
Diffstat (limited to '')
-rw-r--r-- | bin/sound.sh | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/bin/sound.sh b/bin/sound.sh index a53191b..382c461 100644 --- a/bin/sound.sh +++ b/bin/sound.sh @@ -4,10 +4,7 @@ function print_mute { stat=$(amixer -c0 get Master | grep "Front Left:") VOL=$(sed 's/^.*\[\(.*\)%\].*$/\1/g' <<< "${stat}") MUTE=$(sed 's/^.*\[\([^\[]*\)\]$/\1/g' <<< "${stat}") -# VOL=$(amixer -c0 get Master | grep " 0:" | awk '{ print $6 }') - -# VOL=$(aumix -d /dev/mixer -q l | grep vol | awk '{ print $3 }') -# MUTE=${VOL} + if [ "${MUTE}" == "off" -o "${MUTE}" == "0" ] then echo "^tw()^fg(#FF0000)^i(${HOME}/.dzen2/icons/vol-mute.xbm)" |