commit 5a51f75e844ce0389f563d14ca404a6d20ad6e76 parent d0c82b64a6da93ad7e367f9846f192bb4bf80e0a Author: JayVii <jayvii[AT]posteo[DOT]de> Date: Fri, 22 Jan 2021 16:39:39 +0100 Revert logic Diffstat:
M | sguard/sguard.sh | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sguard/sguard.sh b/sguard/sguard.sh @@ -26,7 +26,7 @@ fi # check player state. function check_player_state { - if [[ ! -z `pacmd list-sink-inputs | grep "state: RUNNING$"` ]]; then + if [[ -z `pacmd list-sink-inputs | grep "state: RUNNING$"` ]]; then echo false else echo true