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
|
# start applications
mod4 + Return
urxvt
#launcher
mod4 + w
interrobang
# lock
mod4 + Escape
xscreensaver-command -lock
# ==== manipulate windows ====
# restart
mod4 + R
~/bin/restart
# move
mod4 + {h,j,k,l}
wmv {-20 0,0 +20, 0 -20, +20 0} $(pfw)
# resize
mod4 + shift + {h,j,k,l}
wrs {-20 0,0 +20, 0 -20, +20 0} $(pfw)
# close window
mod4 + x
killw $(pfw)
# killw $(pfw) && lsw | sed 1q | xargs wtf
# make fullscreen
mod4 + f
~/bin/fullscreen.sh $(pfw)
# put window back/forward
mod4 + l
chwso -i $(pfw)
# cycle through windows
alt + {Tab, shift + Tab}
~/focus.sh {next,prev} 2>/dev/null && \
wmp -a $(wattr xy $(pfw)) && \
wmp -r $(wattr wh $(pfw))
# focus the closest window in each direction
alt + {h,j,k,l}
~/bin/closest.sh {h,j,k,l}
# put windows to the corners
#mod4 + {y,u,b,n,g}
# ~/bin/corner.sh {tl,tr,bl,br,md}
# tile windows
mod4 + t
~/bin/tile.sh
# ==== window groups ====
# next group
mod4 + n
wgrp -n
# previous group
mod4 + p
wgrp -p
# make group
mod4 + m
wgrp -m
# delete group
mod4 + d
wgrp -d
# add to group
mod4 + a
wgrp -a
# remove from group
mod4 + r
wgrp -r
# show all
mod4 + s
wgrp -s
# add group
mod4 + 9
wgrp -m
# remove group
mod4 + 0
wgrp -d
|