summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bin/sound.sh5
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)"