summaryrefslogtreecommitdiffstats
path: root/mute-toggle
blob: e3359eb15bdc8b8345a98f7a25c22288e77c5498 (plain)
1
2
3
#!/bin/bash

bash -c "pacmd list-sources |  grep -oP 'index: \\d+' | awk '{ print \$2 }' | xargs -I{} pactl set-source-mute {} ${1:-toggle}"