aboutsummaryrefslogtreecommitdiffhomepage
path: root/files/.cwmrc
blob: 71e80259294f6860254d168645371fa4c64d9591 (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
fontname "spleen:pixelsize=14"

autogroup 0 		"xclock,xclock"
autogroup 1 		xterm
autogroup 2     Firefox

ignore 			"xclock"

gap			32 8 8 8

# Any entry here is shown in the application menu
command mail		"xterm -e aerc"
#command firefox		firefox
command terminal	xterm
command top		"xterm -e top"

# Ignore programs by that name by not drawing borders around them.
ignore xclock 

# Key bindings
unbind-key		all

# Only show group nr
bind-key M-1		group-only-1
bind-key M-2		group-only-2
bind-key M-3		group-only-3
bind-key M-4		group-only-4
bind-key M-5		group-only-5
bind-key M-6		group-only-6
bind-key M-7		group-only-7
bind-key M-8		group-only-8
bind-key M-9		group-only-9

# Move window to group
bind-key MS-1		window-movetogroup-1
bind-key MS-2		window-movetogroup-2
bind-key MS-3		window-movetogroup-3
bind-key MS-4		window-movetogroup-4
bind-key MS-5		window-movetogroup-5
bind-key MS-6		window-movetogroup-6
bind-key MS-7		window-movetogroup-7
bind-key MS-8		window-movetogroup-8
bind-key 4S-9		window-movetogroup-9

# Custom bindings
bind-key MS-q		    quit
bind-key MS-c		    window-close
bind-key M-Tab		  window-cycle
bind-key M-p		    menu-cmd
bind-key MS-Return	xterm
bind-key MS-l 		  "xlock -mode blank"

# Mouse bindings
bind-mouse M-2		window-lower
bind-mouse M-3		window-resize

sticky xclock