about summary refs log tree commit diff stats
path: root/config.def.h
diff options
context:
space:
mode:
authorAnselm R Garbe <garbeam@gmail.com>2008-05-17 14:38:22 +0100
committerAnselm R Garbe <garbeam@gmail.com>2008-05-17 14:38:22 +0100
commit4246affc15dd378a33c58504b4abf3893b8c84cc (patch)
treeefb2ce53701e63d53baea3422828e091cee3ab42 /config.def.h
parent42c4b310032ca6f54cdc861d74369b6373d0c33e (diff)
downloaddwm-4246affc15dd378a33c58504b4abf3893b8c84cc.tar.gz
moved all tile()-related stuff into tile.c which is included from config.def.h, the default dwm is now nearly independent from the arrange() algorithm in use
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/config.def.h b/config.def.h
index 8bd6b69..f35769c 100644
--- a/config.def.h
+++ b/config.def.h
@@ -9,6 +9,7 @@
 #define SELBORDERCOLOR  "#0066ff"
 #define SELBGCOLOR      "#0066ff"
 #define SELFGCOLOR      "#ffffff"
+#define SNAP            32    /* snap pixel */
 
 /* tagging */
 const char tags[][MAXTAGLEN] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
@@ -19,15 +20,14 @@ Rule rules[] = {
 };
 
 /* layout(s) */
-#define MFACT       0.55  /* master factor [0.1 .. 0.9] */
 #define RESIZEHINTS True  /* False - respect size hints in tiled resizals */
-#define SNAP        32    /* snap pixel */
-
+#define MFACT       0.55  /* master factor [0.1 .. 0.9] */
+#include "tile.c"
 Layout layouts[] = {
-	/* symbol     function */
-	{ "[]=",      tile    }, /* first entry is default */
-	{ "><>",      NULL    }, /* no layout function means floating behavior */
-	{ "<M>",      monocle }, /* TODO: remove this */
+	/* symbol     arrange  geom */
+	{ "[]=",      tile,    tilegeom }, /* first entry is default */
+	{ "><>",      NULL,             }, /* no layout function means floating behavior */
+	{ "<M>",      monocle, NULL     }, /* TODO: remove this */
 };
 
 /* key definitions */
com> 2015-07-28 15:26:40 -0700 committer Kartik K. Agaram <vc@akkartik.com> 2015-07-28 15:26:47 -0700 1872' href='/akkartik/mu/commit/048typecheck.cc?h=main&id=78c78c0636503de0ebfdeb8549eba9f4ed92b378'>78c78c06 ^
04209f72 ^
795f5244 ^
a70ce311 ^

b24eb476 ^
a70ce311 ^
b24eb476 ^
a70ce311 ^
d57bf669 ^
78c78c06 ^
b24eb476 ^
a70ce311 ^
d57bf669 ^
78c78c06 ^



a70ce311 ^
91abd257 ^
a70ce311 ^

c4e143d6 ^
91abd257 ^

d57bf669 ^
78c78c06 ^
3063b239 ^

a70ce311 ^
c4e143d6 ^
a70ce311 ^
ed09f738 ^
a70ce311 ^
9dcbec39 ^
cf363343 ^

af023b32 ^
a70ce311 ^
9dcbec39 ^
cf363343 ^

a70ce311 ^
9dcbec39 ^
cf363343 ^


78c78c06 ^
112613fe ^
efb7c8d6 ^
1ead3562 ^
192d59d3 ^

112613fe ^
a9a2f7db ^

112613fe ^
efb7c8d6 ^
1ead3562 ^
192d59d3 ^
112613fe ^

a9a2f7db ^

112613fe ^
efb7c8d6 ^
1ead3562 ^
192d59d3 ^
112613fe ^

a9a2f7db ^
112613fe ^
c91caafd ^
5f98a10c ^

1ead3562 ^
c91caafd ^
192d59d3 ^
c91caafd ^
9dcbec39 ^
d082b176 ^
5f98a10c ^

1ead3562 ^
760f683f ^
d082b176 ^

760f683f ^
cf363343 ^


1ead3562 ^
a0331a9b ^
cf363343 ^
9dcbec39 ^
a70ce311 ^


1ead3562 ^
a70ce311 ^
1ead3562 ^
a70ce311 ^
897ae8c1 ^
d52406cc ^
192d59d3 ^
a70ce311 ^


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
119
120
121
122
123
124
125
126
127