summaryrefslogtreecommitdiff
path: root/.config/sxhkd/sxhkdrc
blob: 447b7b13eab146dfdc4dfe421f52c86f494bc004 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# vim: ft=sh

ctrl + Print
	ffmpeg -f x11grab -i "$DISPLAY" -vframes 1 "$XDG_PICTURES_DIR/screenshots/$(time.uuid)".png

XF86Audio{RaiseVolume,LowerVolume,Mute}
	amixer set Master {5%+,5%-,toggle};\
	kill -RTMIN+1 "$(cat ~/.cache/pidofbar)"

# for pulseaudio, master volume affects capture volume too? 
# my laptop built-in microphone capture volume is really low
# so I want to keep capture volume always 100%
ctrl + XF86AudioMute
	amixer set Capture toggle;\
	kill -RTMIN "$(cat ~/.cache/pidofbar)"

alt + y
	mpvsel || notify-send "mpvsel failed"

alt + w
	firefox

alt + s
	shufwall

XF86Audio{Prev,Play,Next}
	playerctl {previous,play-pause,next}

@Caps_Lock
	kill -RTMIN+3 "$(cat ~/.cache/pidofbar)"