summaryrefslogtreecommitdiff
path: root/.local/bin/audio_mutemic
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/audio_mutemic')
-rwxr-xr-x.local/bin/audio_mutemic13
1 files changed, 0 insertions, 13 deletions
diff --git a/.local/bin/audio_mutemic b/.local/bin/audio_mutemic
deleted file mode 100755
index b622b62..0000000
--- a/.local/bin/audio_mutemic
+++ /dev/null
@@ -1,13 +0,0 @@
-#! /bin/sh
-
-wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
-
-command -v notify-send > /dev/null || exit
-case "$(wpctl get-volume @DEFAULT_AUDIO_SOURCE@)" in
-*\[MUTED\])
- notify-send " muted" "microphone is muted"
- ;;
-*)
- notify-send " unmuted" "microphone is active"
- ;;
-esac