From 0f685fa3a44aedf35f49abbd01f6ac92f5676498 Mon Sep 17 00:00:00 2001 From: Maarten van Gompel Date: Sun, 1 Nov 2020 13:59:16 +0100 Subject: [PATCH] minor cleanup for "unmute" patch so it passes shellcheck --- scripts/core/sxmo_vol.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/core/sxmo_vol.sh b/scripts/core/sxmo_vol.sh index bffcb99..2361159 100755 --- a/scripts/core/sxmo_vol.sh +++ b/scripts/core/sxmo_vol.sh @@ -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 }