From b4125ecac022e5772b2bb527558f67ead3724e1c Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Mon, 29 Sep 2025 08:17:12 +0200 Subject: Update --- .shenanigans.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to '.shenanigans.sh') diff --git a/.shenanigans.sh b/.shenanigans.sh index 5f42099..992f799 100755 --- a/.shenanigans.sh +++ b/.shenanigans.sh @@ -85,9 +85,5 @@ screenrecord() { } mic_status() { - if pactl get-source-mute @DEFAULT_SOURCE@ | grep -q "no"; then - echo "\${color green}active\${color}" - else - echo "\${color orange}muted\${color}" - fi + pactl get-source-mute @DEFAULT_SOURCE@ | grep -q "no" && echo 1 || echo 0; } -- cgit v1.2.3