added mute and unmute

This commit is contained in:
Maarten van Gompel 2020-08-10 22:47:32 +02:00 committed by Miles Alan
parent ce50d0aef7
commit 15aefe2857

View file

@ -22,5 +22,13 @@ down() {
setvol() {
amixer set "$(sxmo_audiocurrentdevice.sh)" "$1"
}
mute() {
amixer set "$(sxmo_audiocurrentdevice.sh)" mute
notify
}
unmute() {
amixer set "$(sxmo_audiocurrentdevice.sh)" unmute
notify
}
"$@"