diff options
Diffstat (limited to '.shenanigans.sh')
| -rwxr-xr-x | .shenanigans.sh | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/.shenanigans.sh b/.shenanigans.sh index 5f42099..992f799 100755 --- a/.shenanigans.sh +++ b/.shenanigans.sh | |||
| @@ -85,9 +85,5 @@ screenrecord() { | |||
| 85 | } | 85 | } |
| 86 | 86 | ||
| 87 | mic_status() { | 87 | mic_status() { |
| 88 | if pactl get-source-mute @DEFAULT_SOURCE@ | grep -q "no"; then | 88 | pactl get-source-mute @DEFAULT_SOURCE@ | grep -q "no" && echo 1 || echo 0; |
| 89 | echo "\${color green}active\${color}" | ||
| 90 | else | ||
| 91 | echo "\${color orange}muted\${color}" | ||
| 92 | fi | ||
| 93 | } | 89 | } |
