about summary refs log tree commit diff stats
path: root/config.default.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.default.h')
-rw-r--r--config.default.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/config.default.h b/config.default.h
index c1274a1..c318973 100644
--- a/config.default.h
+++ b/config.default.h
@@ -5,9 +5,12 @@
 #define TAGS \
 const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9", NULL };
 
-#define DEFMODE			dotile		/* dofloat */
-#define FLOATSYMBOL		"><>"
-#define TILESYMBOL		"[]="
+#define LAYOUTS \
+Layout layout[] = { \
+	/* symbol		function */ \
+	{ "[]=",		dotile }, /* first entry is default */ \
+	{ "><>",		dofloat }, \
+};
 
 #define BORDERPX		1
 #define FONT			"-*-fixed-medium-r-normal-*-13-*-*-*-*-*-*-*"
@@ -55,7 +58,7 @@ static Key key[] = { \
 	{ MODKEY|ControlMask|ShiftMask,	XK_8,		toggletag,	{ .i = 7 } }, \
 	{ MODKEY|ControlMask|ShiftMask,	XK_9,		toggletag,	{ .i = 8 } }, \
 	{ MODKEY|ShiftMask,		XK_c,		killclient,	{ 0 } }, \
-	{ MODKEY,			XK_space,	togglemode,	{ 0 } }, \
+	{ MODKEY,			XK_space,	togglelayout,	{ 0 } }, \
 	{ MODKEY|ShiftMask,		XK_space,	togglefloat,	{ 0 } }, \
 	{ MODKEY,			XK_0,		view,		{ .i = -1 } }, \
 	{ MODKEY,			XK_1,		view,		{ .i = 0 } }, \
:46 +0200 committer Anselm R. Garbe <garbeam@wmii.de> 2006-07-13 12:35:46 +0200 added philosophy section' href='/acidbong/suckless/dwm/commit/dwm.html?h=5.7.2&id=b2e98bf9e2326cd1ba2c28c7fd4794929b275d24'>b2e98bf ^
eb184e0 ^



b2e98bf ^
605630c ^
650a1fb ^
eb184e0 ^
650a1fb ^

3791ec0 ^
eb184e0 ^



3791ec0 ^





eb184e0 ^



3791ec0 ^

eb184e0 ^



3791ec0 ^

eb184e0 ^











3791ec0 ^


eb184e0 ^

3791ec0 ^

eb184e0 ^


6458d72 ^

605630c ^
6649dcc ^
3791ec0 ^
650a1fb ^
605630c ^
1e7e57d ^
6649dcc ^



1e7e57d ^

3657eae ^
650a1fb ^
6649dcc ^
650a1fb ^

6649dcc ^
650a1fb ^
3657eae ^
7faa8a9 ^
01b151f ^
7faa8a9 ^
3657eae ^
6458d72 ^

f60c597 ^
6458d72 ^
d34b4c7 ^
650a1fb ^

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