summaryrefslogtreecommitdiff
path: root/scripts/toggle-mute.sh
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2023-10-09 17:42:22 +0100
committerdavidovski <david@davidovski.xyz>2023-10-09 17:42:22 +0100
commit02a4a3a4c1e6116158b807674709f26933ac5b10 (patch)
tree84f325f6e8ed2a6ccc618ebb358cea8f1faa95e9 /scripts/toggle-mute.sh
parent051ed527f64b0d7f400f76244b3d63a7ac98bb70 (diff)
Add desktop background
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
+