dwmblocks/blocks/volume_button.sh

7 lines
122 B
Bash
Raw Normal View History

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