reduced volume notification duration

This commit is contained in:
2016-09-03 21:21:31 -06:00
parent c8a59f068a
commit 0006365990
+2 -2
View File
@@ -23,7 +23,7 @@ muted=`amixer get Master | grep "Front Left:" | awk '{print $6}'`
vol=`amixer get Master | grep "Front Left:" | awk '{print $5}' | tr -d '[]'` vol=`amixer get Master | grep "Front Left:" | awk '{print $5}' | tr -d '[]'`
if [[ $muted == "[off]" ]]; then if [[ $muted == "[off]" ]]; then
twmnc -t 'volume' -c 'muted' -d 1000 twmnc -t 'volume' -c 'muted' -d 100
else else
twmnc -t 'volume' -c "${direction}${vol}" -d 1000 twmnc -t 'volume' -c "${direction}${vol}" -d 100
fi fi