summaryrefslogtreecommitdiff
path: root/.config/sxhkd/sxhkdrc
blob: 3ac31ee67b696db4c0ecfce4fc6a760f6e91d848 (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
# vim: ft=sh

alt + 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}

# 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%
shift + XF86AudioMute
	amixer set Capture toggle

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

alt + w
	firefox

alt + s
	shufwall

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