1
0
mirror of https://github.com/balkian/dotfiles.git synced 2024-11-24 05:02:29 +00:00
dotfiles/volume-toggle-mute.sh
2012-12-10 13:13:59 +01:00

3 lines
116 B
Bash
Executable File

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