dot/scripts/toggle-mute.sh

5 lines
120 B
Bash
Raw Normal View History

2023-10-09 16:42:22 +00:00
#!/bin/sh
#
pactl list sources | grep -qi 'Mute: yes' && pactl set-source-mute 0 false || pactl set-source-mute 0 true