dwmblocks/blocks/volume_button.sh
2020-07-18 17:30:48 +05:30

7 lines
124 B
Bash
Executable file

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