summaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorAnselm R. Garbe <garbeam@gmail.com>2007-10-28 12:41:14 +0100
committerAnselm R. Garbe <garbeam@gmail.com>2007-10-28 12:41:14 +0100
commitc36f7c3c5e5db297689765142c64977f6317a21c (patch)
treee11ceb2515ae858a42f3c4606fda7872ec05a26c /config.def.h
parent3fd39feb4153cf73f26223918bc8145ee98a9a92 (diff)
replaced ISTILE with domwfact/dozoom bools, removed nrules, nlayouts and ltidx, added NRULES, NLAYOUTS and Layout *layout as alternatives, removed isarrange(), checking against layout->arrange instead.
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/config.def.h b/config.def.h
index fd37293..2813b3f 100644
--- a/config.def.h
+++ b/config.def.h
@@ -23,9 +23,9 @@ Rule rules[] = {
{ "MPlayer", NULL, True },
{ "Acroread", NULL, True },
};
+#define NRULES (sizeof rules / sizeof rules[0])
/* layout(s) */
-#define ISTILE isarrange(tile) /* || isarrange(<custom>) */
#define MWFACT 0.6 /* master width factor [0.1 .. 0.9] */
#define SNAP 32 /* snap pixel */
Layout layouts[] = {
@@ -33,6 +33,7 @@ Layout layouts[] = {
{ "[]=", tile }, /* first entry is default */
{ "><>", floating },
};
+#define NLAYOUTS (sizeof layouts / sizeof layouts[0])
/* key definitions */
#define MODKEY Mod1Mask
@@ -94,3 +95,4 @@ Key keys[] = { \
{ MODKEY|ControlMask|ShiftMask, XK_9, toggletag, tags[8] }, \
{ MODKEY|ShiftMask, XK_q, quit, NULL }, \
};
+#define NKEYS (sizeof keys / sizeof keys[0])