Skip to content

Instantly share code, notes, and snippets.

Last active June 15, 2021 10:18
What would you like to do?
Refer to the blog for more info:
#sudo PULSE_RUNTIME_PATH=/var/run/pulse -u pulse pacmd list-sources | grep -oP 'index: \d+' | awk '{ print $2 }' | xargs -I{} pactl set-source-mute {} toggle
sudo PULSE_RUNTIME_PATH=/var/run/pulse -u pulse pactl set-source-mute 2 toggle && pactl set-source-mute 1 toggle && pactl set-source-mute 0 toggle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment