volume.sh: add toggle
This commit is contained in:
parent
6476741e55
commit
6b69d09ae4
|
@ -11,6 +11,7 @@ case "$COMMAND" in
|
||||||
[0-9]*) amixer set Master $COMMAND ;;
|
[0-9]*) amixer set Master $COMMAND ;;
|
||||||
[+-]) amixer set Master 10%$COMMAND ;;
|
[+-]) amixer set Master 10%$COMMAND ;;
|
||||||
*mute) amixer set Master $COMMAND ;;
|
*mute) amixer set Master $COMMAND ;;
|
||||||
|
toggle) amixer set Master toggle ;;
|
||||||
*) >&2 echo "Invalid command"
|
*) >&2 echo "Invalid command"
|
||||||
exit 1
|
exit 1
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in a new issue