minor cleanup for "unmute" patch so it passes shellcheck

This commit is contained in:
Maarten van Gompel 2020-11-01 13:59:16 +01:00
parent 56efe6e166
commit 0f685fa3a4

View file

@ -24,7 +24,7 @@ setvol() {
notify
}
mute() {
echo "$(sxmo_audiocurrentdevice.sh)" > /tmp/muted-audio.dev
sxmo_audiocurrentdevice.sh > /tmp/muted-audio.dev
amixer set "$(cat /tmp/muted-audio.dev)" mute
notify
}