added mute and unmute
This commit is contained in:
parent
ce50d0aef7
commit
15aefe2857
1 changed files with 8 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue