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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
|
#
# bspwm hotkeys
#
grave ; a
~/.tools/menu/main
grave ; shift + c
~/.tools/wp change
grave ; f
~/.tools/spotlight
grave ; alt + Escape
bspc quit
grave ; x
bspc window -c
grave ; X
bspc window -k
grave ; o
bspc desktop -l next
grave ; b
bspc desktop -B
# banish mouse
grave ; B
xdotool mousemove 10000 100000
grave ; {u,U,O}
bspc window -t {floating,pseudo_tiled,fullscreen}
grave ; {grave,Tab}
bspc {window,desktop} -f last
grave ; apostrophe
bspc window -s last
#grave ; {o,i}
# bspc control --record-history off; \
# bspc window {older,newer} -f; \
# bspc control --record-history on
#grave ; y
# bspc window -w last.manual
grave ; m
bspc window -s biggest
grave ; {h,j,k,l}
bspc window -f {left,down,up,right}
grave ; c; {h,j,k,l}
bspc window -s {left,down,up,right}
#grave ; {_,shift + }c
# bspc window -f {next,prev}
grave ; {comma,period}
bspc desktop -C {backward,forward}
grave ; bracket{left,right}
bspc desktop -f {prev,next}
grave ; s ; {h,j,k,l}
bspc window -p {left,down,up,right}
grave ; ctrl + {_,shift + }space
bspc {window -p cancel,desktop -c}
hyper + {h,j,k,l}
bspc window -e {left -10,down +10,up -10,right +10}
hyper + alt + {h,j,k,l}
bspc window -e {right -10,up +10,down -10,left +10}
grave ; {1-9}
bspc window -f {1-9}
grave ; ctrl + {1-9}
bspc window -r 0.{1-9}
{_,alt + }{F1,F2,F3,F4,F5,F6,F7,F8,F11,F12}
bspc {desktop -f,window -d} ^{1-8,11,12}
{_,alt + } F9
bspc {desktop -f,window -d} ^9 & echo 'Ixlear' > /tmp/panel-fifo
{_,alt + } F10
bspc {desktop -f,window -d} ^10 & xset -led named "Scroll Lock" & echo 'Iclear' > /tmp/panel-fifo
{_,alt + } shift + F12
bspc {desktop -f,window -d} ^13
~button1
bspc pointer -g focus
hyper + button{1-3}
bspc pointer -g {move,resize_side,resize_corner}
# Move floating windows (requires baskerville's xdo pacacur -S xdo-git)
alt + {h,l,k,j}
xdo move {-x -20,-x +20,-y -20,-y +20}
# Resize floating windows
alt + shift + {h,l,k,j}
xdo resize {-w -20,-w +20,-h -20,-h +20}
grave ; !button{1-3}
bspc pointer -t %i %i
grave ; @button{1-3}
bspc pointer -u
#
# wm independent hotkeys
#
grave ; i
~/bin/paste
grave ; space
urxvt
grave ; slash
~/.tools/create_frame
super + u
uzbl-browser
super + f
firefox
super + s
skype
super + shift + L
~/.tools/lock
#
# Clipboard hotkeys
#
# Open youtube video in mpv
grave ; Y
sleep 0.2 && xdotool key y && mpv "$(xclip -o)"
grave ; p ; {1-9}
~/.tools/clipboard paste {1-9}
grave ; p ; p
~/.tools/clipboard menu_paste
grave ; p ; u
~/.tools/clipboard push
grave ; p ; o
~/.tools/clipboard pop
grave ; y ; {1-9}
~/.tools/clipboard set {1-9}
grave ; y ; y
~/.tools/clipboard menu_set
#
# Paste and Image share hotkeys
#
grave ; P
exec ~/bin/safepaste
grave; g
exec ~/bin/safeimg
grave; L
exec ~/bin/safelink
#
# music control
#
super + space
mpc -h 127.0.0.1 toggle
super + Right
mpc -h 127.0.0.1 next
super + Left
mpc -h 127.0.0.1 prev
super + Up
mpc -h 127.0.0.1 volume +5
super + Down
mpc -h 127.0.0.1 volume -5
XF86AudioRaiseVolume
amixer -q set Master 5+ && volume -f 'V%i' > /tmp/panel-fifo
XF86AudioLowerVolume
amixer -q set Master 5- && volume -f 'V%i' > /tmp/panel-fifo
super + Prior
amixer -q set Master 5+ && volume -f 'V%i' > /tmp/panel-fifo
super + Next
amixer -q set Master 5- && volume -f 'V%i' > /tmp/panel-fifo
#
#
# brightness controls
#
XF86MonBrightnessUp
~/bin/backlight up 10
XF86MonBrightnessDown
~/bin/backlight down 10
XF86KbdBrightnessUp
kbdlight up 1
XF86KbdBrightnessDown
kbdlight down 1
# Keyboard layouts
super + q
setxkbmap us
super + c
setxkbmap us -variant colemak
# Password
grave ; t
~/bin/passenter
grave ; T
~/bin/passmake
# Mail reload
super + m
mbsync -a
# make sxhkd reload its configuration files:
grave ; Escape
pkill -USR1 -x sxhkd
|