added mute and unmute

master
Maarten van Gompel 4 years ago committed by Miles Alan
parent ce50d0aef7
commit 15aefe2857
  1. 8
      scripts/core/sxmo_vol.sh

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

Loading…
Cancel
Save