JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
I prefer two master windows by default
[dwm.git] / config.arg.h
index 783a3bd..04d7221 100644 (file)
@@ -1,4 +1,4 @@
-/* (C)opyright MMVI Anselm R. Garbe <garbeam at gmail dot com>
+/* (C)opyright MMVI-MMVII Anselm R. Garbe <garbeam at gmail dot com>
  * See LICENSE file for license details.
  */
 
@@ -10,15 +10,16 @@ const char *tags[] = { "dev", "work", "net", "fnord", NULL };
 #define TILESYMBOL             "[]="
 
 #define FONT                   "-*-terminus-medium-r-*-*-14-*-*-*-*-*-*-*"
-#define NORMBGCOLOR            "#333333"
+#define NORMBGCOLOR            "#111111"
 #define NORMFGCOLOR            "#cccccc"
 #define SELBGCOLOR             "#336699"
-#define SELFGCOLOR             "#dddddd"
+#define SELFGCOLOR             "#eeeeee"
 #define STATUSBGCOLOR          "#222222"
 #define STATUSFGCOLOR          "#99ccff"
 
 #define MASTER                 600             /* per thousand */
 #define MODKEY                 Mod1Mask
+#define NMASTER                        2               /* clients in master area */
 #define SNAP                   40              /* pixel */
 
 #define KEYS \
@@ -28,13 +29,15 @@ static Key key[] = { \
                { .cmd = "exec uxterm -bg black -fg '#eeeeee' -cr '#eeeeee' +sb -fn '"FONT"'" } }, \
        { MODKEY,                       XK_p,           spawn, \
                { .cmd = "exe=\"$(lsx `echo $PATH | sed 's/:/ /g'` | sort -u " \
-                       " | dmenu -font '"FONT"' -normbg '"NORMBGCOLOR"' -normfg '"NORMFGCOLOR"' " \
-                       "-selbg '"SELBGCOLOR"' -selfg '"SELFGCOLOR"')\" && exec $exe" } }, \
+                       " | dmenu -fn '"FONT"' -nb '"NORMBGCOLOR"' -nf '"NORMFGCOLOR"' " \
+                       "-sb '"SELBGCOLOR"' -sf '"SELFGCOLOR"')\" && exec $exe" } }, \
        { MODKEY,                       XK_j,           focusnext,      { 0 } }, \
        { MODKEY,                       XK_k,           focusprev,      { 0 } }, \
        { MODKEY,                       XK_Return,      zoom,           { 0 } }, \
        { MODKEY,                       XK_g,           resizemaster,   { .i = 15 } }, \
        { MODKEY,                       XK_s,           resizemaster,   { .i = -15 } }, \
+       { MODKEY,                       XK_plus,        incnmaster,     { .i = 1 } }, \
+       { MODKEY,                       XK_minus,       incnmaster,     { .i = -1 } }, \
        { MODKEY|ShiftMask,             XK_0,           tag,            { .i = -1 } }, \
        { MODKEY|ShiftMask,             XK_1,           tag,            { .i = 0 } }, \
        { MODKEY|ShiftMask,             XK_2,           tag,            { .i = 1 } }, \