1 2 3 4 5 6 7 8 9 10 11 12 13 14
#!/bin/sh # Toggle mute state and notify # Requires: pulsemixer, notify-send ismute=$(pulsemixer --toggle-mute --get-mute) if [ "$ismute" = "1" ]; then m="muted" else m="unmuted" fi notify-send "Audio $m"
Generated with cgit - Back to sebastiano.tronto.net