1
0
mirror of https://github.com/balkian/dotfiles.git synced 2024-11-23 12:42:29 +00:00
dotfiles/bin/volume-toggle-mute.sh
J.Fernando Sánchez d8f23e0276 Removed personal-scripts submodule
To make my life a bit easier
2013-06-20 17:54:47 +02: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"))}'