summaryrefslogtreecommitdiff
path: root/scripts/toggle-mute.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/toggle-mute.sh')
-rwxr-xr-xscripts/toggle-mute.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/toggle-mute.sh b/scripts/toggle-mute.sh
new file mode 100755
index 0000000..3d08f26
--- /dev/null
+++ b/scripts/toggle-mute.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+#
+pactl list sources | grep -qi 'Mute: yes' && pactl set-source-mute 0 false || pactl set-source-mute 0 true
+