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 'st'
23bind-key 4-p '/home/icy/bin/pwmenu.sh'
24bind-key CS-Print "/home/icy/bin/scr -s"
25bind-key C-Print "/home/icy/bin/scr -f"
26bind-key 4-n "st -e nvim /home/icy/notes"
27
28# keybinds
29bind-key 4-h menu-exec
30bind-key M-Tab window-cycle
31bind-key MS-Tab window-rcycle
32bind-key 4-Tab group-cycle
33bind-key 4S-Tab group-rcycle
34bind-key 4-t window-maximize
35bind-key 4-c window-vtile
36bind-key 4-y window-htile
37bind-key 4S-q window-close
38bind-key 4S-y window-snap-left
39bind-key 4S-o window-snap-right
40bind-key 4S-w restart
41bind-key 4S-r quit
42bind-key 4S-b window-vmaximize
43
44# mousebinds
45unbind-mouse all
46
47bind-mouse 4S-1 window-resize
48bind-mouse 4-1 window-move
49bind-mouse 4-2 window-lower
50
51# other
52borderwidth 0
53snapdist 10