summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2023-12-12 23:10:12 +0000
committerdavidovski <david@davidovski.xyz>2023-12-12 23:10:12 +0000
commit7b3aa701e2de13cea1ea2e05c70cca2ced74971f (patch)
treea32d5aaacd8ef8dc91037843ee27930e5b5cb469 /scripts
parent6ed4306119355c5f6dbdca7565aa53829868ef8d (diff)
fix toggle mute
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/toggle-mute.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts/toggle-mute.sh b/scripts/toggle-mute.sh
index 3d08f26..95c2555 100755
--- a/scripts/toggle-mute.sh
+++ b/scripts/toggle-mute.sh
@@ -1,4 +1,2 @@
#!/bin/sh
-#
-pactl list sources | grep -qi 'Mute: yes' && pactl set-source-mute 0 false || pactl set-source-mute 0 true
-
+amixer set Capture toggle