diff options
Diffstat (limited to 'bin/mic_toggle')
| -rwxr-xr-x | bin/mic_toggle | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/bin/mic_toggle b/bin/mic_toggle deleted file mode 100755 index 151ea48..0000000 --- a/bin/mic_toggle +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh - -# mutes the microphone and send a notification - -# microphone mute state -mute=$(pactl get-source-mute @DEFAULT_SOURCE@ | sed -e 's;sim;1;' -e 's;não;0;' -e 's/Mute\: //') - -[ "$mute" -eq 0 ] && notify-send "Microfone" "Mudo" - -[ "$mute" -eq 1 ] && notify-send "Microfone" "Reativado" - -pactl set-source-mute @DEFAULT_SOURCE@ toggle |
