1
0
mirror of https://github.com/balkian/dotfiles.git synced 2024-11-24 13:12:29 +00:00
dotfiles/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"))}'