1
0
mirror of https://github.com/balkian/dotfiles.git synced 2024-11-22 04:02:28 +00:00
dotfiles/bin/volume-toggle-mute.sh

3 lines
116 B
Bash
Raw Normal View History

2012-12-10 12:13:59 +00:00
#!/bin/sh
pacmd dump|awk --non-decimal-data '$1~/set-sink-mute/{system ("pacmd "$1" "$2" "($3=="yes"?"no":"yes"))}'