home/.cwmrc (view raw)
1# .cwmrc
2
3sticky yes
4snapdist 4
5unbind-key all
6
7fontname "SF Mono:style=Regular:size=14"
8
9# groups
10bind-key 4-1 group-only-1
11bind-key 4-2 group-only-2
12bind-key 4-3 group-only-3
13bind-key 4-4 group-only-4
14bind-key 4-5 group-only-5
15bind-key 4S-1 window-movetogroup-1
16bind-key 4S-2 window-movetogroup-2
17bind-key 4S-3 window-movetogroup-3
18bind-key 4S-4 window-movetogroup-4
19bind-key 4S-5 window-movetogroup-5
20
21# execs
22bind-key 4-Return 'urxvtc'
23bind-key CS-Print "/home/icy/bin/scr -s"
24bind-key C-Print "/home/icy/bin/scr -f"
25bind-key 4-n "urxvtc -e nvim /home/icy/notes"
26
27# keybinds
28bind-key 4-d menu-exec
29bind-key M-Tab window-cycle
30bind-key MS-Tab window-rcycle
31bind-key 4-Tab group-cycle
32bind-key 4S-Tab group-rcycle
33bind-key 4-f window-maximize
34bind-key 4-v window-vtile
35bind-key 4-h window-htile
36bind-key 4S-q window-close
37bind-key 4S-h window-snap-left
38bind-key 4S-l window-snap-right
39bind-key 4S-r restart
40bind-key 4S-e quit
41bind-key 4S-u window-vmaximize
42
43# mousebinds
44unbind-mouse all
45
46bind-mouse 4S-1 window-resize
47bind-mouse 4-1 window-move
48bind-mouse 4-2 window-lower
49
50# other
51borderwidth 1
52snapdist 10