JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
introduced ISTILE, which can be easily extended with other layout functions to allow...
[dwm.git] / config.h
index f946407..006a622 100644 (file)
--- a/config.h
+++ b/config.h
 #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 }, \
+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 }, \
-};
-#define RESIZEHINTS            True    /* False - respect size hints in tiled resizals */
+#define ISTILE                 isarrange(tile)
 #define MWFACT                 0.6     /* master width factor [0.1 .. 0.9] */
+#define RESIZEHINTS            True    /* False - respect size hints in tiled resizals */
 #define SNAP                   32      /* snap pixel */
+Layout layouts[] = {
+       /* symbol               function */
+       { "[]=",                tile }, /* first entry is default */
+       { "><>",                floating },
+};
 
 /* key definitions */
 #define MODKEY                 Mod1Mask