aboutsummaryrefslogtreecommitdiff
path: root/sxhkd/sxhkdrc
blob: 0f62c74de398d0035bb38a12be43d6fa2686d9b5 (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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
# launch apps
super + w
	nitrogen

super + i
	firefox

super + b
	pcmanfm

super + g
	gimp

super + t
	thunderbird

# restart hotkey daemon
super + shift + x
	killall sxhkd && sxhkd &

# spawn command launcher
alt + Return
	run_dmenu

# lock screen
super + q
	betterlockscreen -l -t 'pee pee poo poo'

# take a screenshot
super + shift + Return
	scrot /zt/Screenshots/Screenshot-%Y-%d-%m--%T.png

# volume keybindings
alt + F2
	pulseaudio-ctl mute
alt + F3
	pulseaudio-ctl down
alt + F4
	pulseaudio-ctl up

# hlwm keybindings
# focus windows
super + {h,j,k,l}
	herbstclient focus {left,down,up,right}

# move windows
super + shift + {h,j,k,l}
	herbstclient shift {left,down,up,right}

# resizing frames / floating windows
super + alt + {h,j,k,l}
	herbstclient resize {left,down,up,right}

# cycle through windows
alt + {j,k}
	herbstclient cycle_all {+1,-1}

# cycle through workspaces
alt + {h,l}
	herbstclient use_index {-1,+1} --skip-visible

# jump to urgent window
super + u
	herbstclient jumpto urgent

# layouting
# toggle fullscreen on current client
super + f
	herbstclient fullscreen toggle
# toggle floating on current client
super + i
	herbstclient set_attr clients.focus.floating toggle
# toggle floating on all clients on current ws
super + shift + i
	herbstclient floating toggle
# toggle pseudotiling on current client
super + y
	herbstclient pseudotile toggle

# splitting frames
alt + shift + {h,j,k,l}
	herbstclient split {left,bottom,top,right} 0.5
# delete current frame
alt + n
	herbstclient remove
# explode into different subframes
alt + m
	herbstclient split explode

# TODO think up better keybindings
# move between tags (tag 1 to 10 are handled by hc
alt + {q,w,e}
	herbstclient use_index {10,11,12}
# move windows to tags
alt + shift + {q,w,e}
	herbstclient move_index {10,11,12}