1
0
mirror of https://github.com/balkian/dotfiles.git synced 2024-11-17 01:52:29 +00:00
dotfiles/scripts/.bin/volume-toggle-mute.sh
J. Fernando Sánchez fc8c11d360 New config
2015-09-18 02:14:17 +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"))}'