cdwmblocks/blocks.def/volume_button.sh

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