reduced volume notification duration
This commit is contained in:
+2
-2
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user