about summary refs log tree commit diff stats
path: root/config.h
diff options
context:
space:
mode:
authorAnselm R. Garbe <garbeam@gmail.com>2007-09-15 22:25:27 +0200
committerAnselm R. Garbe <garbeam@gmail.com>2007-09-15 22:25:27 +0200
commit0235a84ef286db5c97239615ae525ce973641941 (patch)
treeeed9e2c2b39249ada5353a841f8717894bf236b0 /config.h
parent2091200c957783deed032380d56c4199a23c6b81 (diff)
downloaddwm-0235a84ef286db5c97239615ae525ce973641941.tar.gz
micromizing dwm step 1
Diffstat (limited to 'config.h')
-rw-r--r--config.h26
1 files changed, 11 insertions, 15 deletions
diff --git a/config.h b/config.h
index f946407..9dec069 100644
--- a/config.h
+++ b/config.h
@@ -12,24 +12,20 @@
 #define SELFGCOLOR		"#fff"
 
 /* tagging */
-#define TAGS \
-const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9", NULL };
-#define RULES \
-static Rule rules[] = { \
-	/* class:instance:title regex	tags regex	isfloating */ \
-	{ "Firefox",			"3",		False }, \
-	{ "Gimp",			NULL,		True }, \
-	{ "MPlayer",			NULL,		True }, \
-	{ "Acroread",			NULL,		True }, \
+static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9", NULL };
+static Rule rules[] = {
+	/* class:instance:title regex	tags regex	isfloating */
+	{ "Firefox",			"3",		False },
+	{ "Gimp",			NULL,		True },
+	{ "MPlayer",			NULL,		True },
+	{ "Acroread",			NULL,		True },
 };
 
 /* layout(s) */
-#include "tile.h"
-#define LAYOUTS \
-static Layout layouts[] = { \
-	/* symbol		function */ \
-	{ "[]=",		tile }, /* first entry is default */ \
-	{ "><>",		floating }, \
+static Layout layouts[] = {
+	/* symbol		function */
+	{ "[]=",		tile }, /* first entry is default */
+	{ "><>",		floating },
 };
 #define RESIZEHINTS		True	/* False - respect size hints in tiled resizals */
 #define MWFACT			0.6	/* master width factor [0.1 .. 0.9] */