dwmblocks/blocks/volume_button.sh

7 lines
126 B
Bash
Raw Normal View History

2020-07-06 20:06:10 +00:00
#!/bin/dash
case "$1" in
1) pamixer --toggle-mute ;;
2) exec pavucontrol-qt ;;
3) pamixer --set-volume 60 ;;
esac