toggle-mute (194B)
1 #!/bin/sh 2 3 muted=$(pamixer -t --get-mute) 4 5 if [ "$muted" = "true" ]; then 6 notify-send "muted" 7 elif [ "$muted" = "false" ]; then 8 notify-send "un-muted" 9 else 10 notify-send "pamixer not found" 11 fi
citadelMy dotfiles, scripts and nix configs | |
git clone git://jb55.com/citadel | |
Log | Files | Refs | README | LICENSE |