Unmute fix
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
This commit is contained in:
parent
86469c9b60
commit
6aaca4b161
1 changed files with 4 additions and 3 deletions
|
@ -24,11 +24,12 @@ setvol() {
|
|||
notify
|
||||
}
|
||||
mute() {
|
||||
amixer set "$(sxmo_audiocurrentdevice.sh)" mute
|
||||
echo "$(sxmo_audiocurrentdevice.sh)" > /tmp/muted-audio.dev
|
||||
amixer set "$(cat /tmp/muted-audio.dev)" mute
|
||||
notify
|
||||
}
|
||||
unmute() {
|
||||
amixer set "$(sxmo_audiocurrentdevice.sh)" unmute
|
||||
amixer set "$(cat /tmp/muted-audio.dev)" unmute
|
||||
notify
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue