aboutsummaryrefslogtreecommitdiffstats
path: root/.config/herbstluftwm/pvol.sh
blob: a3ce9e1c43d76e5f89bd0e5f35806a2ccceae598 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash

# race condition, obvs, but this is hopefully time enough
case "$1" in
	down)
		pavolume voldown --quiet 2
		;;
	up)
		pavolume volup --quiet 2
		;;
	mute)
		pavolume mutetoggle --quiet
		;;
	*)
		pavolume show
		;;
esac