dwmblocks/blocks/volume_button.sh

6 lines
129 B
Bash
Raw Normal View History

2020-07-18 12:00:48 +00:00
#!/bin/sh
case $1 in
2020-12-11 19:22:58 +00:00
1) pactl set-sink-mute @DEFAULT_SINK@ toggle ;;
3) pactl set-sink-volume @DEFAULT_SINK@ 50% ;;
2020-07-06 20:06:10 +00:00
esac