why would I want output?
This commit is contained in:
parent
0f33f7a000
commit
07b33e2de3
@ -5,9 +5,9 @@ command="${1:=toggle}"
|
||||
current="$(amixer get Master | sed -n '/%/s/.*\[\(.*\)%\].*/\1/p' | head -1)"
|
||||
|
||||
case $command in
|
||||
toggle) amixer set Master toggle ;;
|
||||
down) amixer set Master "$((current - 5))%" ;;
|
||||
up) amixer set Master "$((current + 5))%" ;;
|
||||
toggle) amixer -q set Master toggle ;;
|
||||
down) amixer -q set Master "$((current - 5))%" ;;
|
||||
up) amixer -q set Master "$((current + 5))%" ;;
|
||||
*) notify-send "learn to volume" ;;
|
||||
esac
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user