aboutsummaryrefslogtreecommitdiff
path: root/.local/bin/sb_set.sh
blob: 236b8568c9b08628c72010537e6cf9f8eff5dce3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh

case $1 in
	-i)
		amixer -q sset Master 5%+
		pkill -SIGRTMIN+11 dwmblocks
	;;

	-d)
		amixer -q sset Master 5%-
		pkill -SIGRTMIN+11 dwmblocks
	;;

	-t)
		amixer -q sset Master toggle
		pkill -SIGRTMIN+11 dwmblocks
	;;

	-n)
		xkb-switch -n
		pkill -SIGRTMIN+10 dwmblocks
	;;
esac