dwmblocks/blocks/volume_button.sh
2020-12-12 00:53:37 +05:30

6 lines
129 B
Bash
Executable file

#!/bin/sh
case $1 in
1) pactl set-sink-mute @DEFAULT_SINK@ toggle ;;
3) pactl set-sink-volume @DEFAULT_SINK@ 50% ;;
esac