summaryrefslogtreecommitdiff
path: root/scripts/.local/bin/mixer
blob: a4ac844ac6ed1fabd380c540658ffd3370c08d1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

# Pulseaudio or Alsa audio binds
case $1 in
	"+")
		amixer set Master 1%+
		;;
	"-")
		amixer set Master 1%-
		;;
	t)
		amixer set Master toggle
		;;
	m)
		amixer set Capture toggle
esac