aboutsummaryrefslogtreecommitdiff
path: root/X/sxhkdrc
blob: 67f7210354c252521a750fe36a17f3cfe8f7d2e9 (plain) (blame)
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
super + Return
	urxvtcd

super + control + Return
	urxvtcd -e sh

super + shift + Return
	urxvtcd -e ksh

super + alt + Return
	urxvtcd -e zsh

super + b
	br

super + d
	dmenu_run

super + g
	xgoc

super + i
	gimp

super + m
	urxvtcd -e tm

super + p
	dmp

super + v
	urxvtcd -e "$VISUAL"

super + shift + s
	sleep 0.25 && scrot --freeze --select \
		--exec 'xclip -selection clipboard -target image/png $f && \
			dir=$$HOME/screenshots/%Y-%m-%d && \
			mkdir --parents -- "$dir" && \
			convert -- $f -define webp:lossless=true \
				"$$dir"/%Y-%m-%d_%H%M%S_$wx$h.webp && \
			rm -- $f'

super + slash
	i3lock --color=#000000 --image "$HOME"/.local/share/i3/lock.png --nofork

XF86AudioMute
	amixer -q sset Master toggle

XF86AudioRaiseVolume
	amixer -q sset Master 5%+ unmute

XF86AudioLowerVolume
	amixer -q sset Master 5%- unmute

XF86Calculator
	urxvtcd -e bcq