summaryrefslogtreecommitdiff
path: root/.config/sxhkd/sxhkdrc
blob: 91d45433f01e698006c6a682cb842c5afcbd4d02 (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
31
32
33
34
35
36
37
38
39
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%
alt + XF86AudioMute
	amixer set Capture toggle;\
	kill -RTMIN "$(cat ~/.cache/pidofbar)"

alt + y
	mpvy -s

alt + Y
	mpvy -a

alt + ctrl + y
	tsp mpvy -A -u "$(xsel -ob)"

alt + w
	firefox

alt + s
	shufwall

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

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

alt + Print
	reco

# vim: ft=sh