JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
renamed floating into swimming (this does not clash with C naming conventions and...
[dwm.git] / config.arg.h
index cb4e3eb..7b54ca2 100644 (file)
@@ -5,15 +5,19 @@
 #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 \
+static Layout layout[] = { \
+       /* symbol               function */ \
+       { "[]=",                tile }, /* first entry is default */ \
+       { "><>",                swim }, \
+};
 
+#define BORDERPX               1
 #define FONT                   "-*-terminus-medium-r-*-*-14-*-*-*-*-*-*-*"
 #define NORMBORDERCOLOR                "#333"
 #define NORMBGCOLOR            "#222"
 #define NORMFGCOLOR            "#ccc"
-#define SELBORDERCOLOR         "#9cf"
+#define SELBORDERCOLOR         "#69c"
 #define SELBGCOLOR             "#555"
 #define SELFGCOLOR             "#fff"
 
@@ -21,6 +25,7 @@ const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9", NULL };
 #define MODKEY                 Mod1Mask
 #define NMASTER                        1               /* clients in master area */
 #define SNAP                   40              /* pixel */
+#define TOPBAR                 True            /* False */
 
 #define KEYS \
 static Key key[] = { \
@@ -58,8 +63,8 @@ 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|ShiftMask,             XK_space,       togglefloat,    { 0 } }, \
+       { MODKEY,                       XK_space,       togglelayout,   { 0 } }, \
+       { MODKEY|ShiftMask,             XK_space,       toggleswimming, { 0 } }, \
        { MODKEY,                       XK_0,           view,           { .i = -1 } }, \
        { MODKEY,                       XK_1,           view,           { .i = 0 } }, \
        { MODKEY,                       XK_2,           view,           { .i = 1 } }, \
@@ -84,9 +89,9 @@ static Key key[] = { \
 
 #define RULES \
 static Rule rule[] = { \
-       /* class:instance:title regex   tags regex      isfloat */ \
-       { "Firefox.*",                  "3",            False }, \
-       { "Gimp.*",                     NULL,           True }, \
-       { "MPlayer.*",                  NULL,           True }, \
-       { "Acroread.*",                 NULL,           True }, \
+       /* class:instance:title regex   tags regex      swimming */ \
+       { "Firefox",                    "3",            False }, \
+       { "Gimp",                       NULL,           True }, \
+       { "MPlayer",                    NULL,           True }, \
+       { "Acroread",                   NULL,           True }, \
 };