implemented global mue button

This commit is contained in:
2021-01-17 17:33:10 +01:00
parent 38c5ad8273
commit 926ac47383
4 changed files with 29 additions and 1 deletions

View File

@@ -0,0 +1,12 @@
#!/usr/bin/env sh
# index=$(pacmd list-sources | grep -oP '\* index: \d+' | awk '{ print $3 }')
# TODO default source not hardcoded
# pactl set-source-mute $index toggle
# Use the alsa approach
amixer -q -D pulse set Capture toggle