dwmblocks/blocks/volume_button.sh
2020-07-07 01:36:10 +05:30

7 lines
126 B
Bash
Executable file

#!/bin/dash
case "$1" in
1) pamixer --toggle-mute ;;
2) exec pavucontrol-qt ;;
3) pamixer --set-volume 60 ;;
esac