about summary refs log tree commit diff stats
path: root/config.def.h
diff options
context:
space:
mode:
authorConnor Lane Smith <cls@lubutu.com>2011-10-25 20:40:46 +0100
committerConnor Lane Smith <cls@lubutu.com>2011-10-25 20:40:46 +0100
commitb1a28ae1dab34a159e7cf17a82ecda0635e72f97 (patch)
tree23f6aed38bb99261031a8df297ab626f9ec78806 /config.def.h
parentf68a01cd767659190bf690e29986184348672647 (diff)
downloaddwm-b1a28ae1dab34a159e7cf17a82ecda0635e72f97.tar.gz
apply nmaster patch
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index 91cf439..973ab4c 100644
--- a/config.def.h
+++ b/config.def.h
@@ -24,6 +24,7 @@ static const Rule rules[] = {
 
 /* layout(s) */
 static const float mfact      = 0.55; /* factor of master area size [0.05..0.95] */
+static const int nmaster      = 1;    /* number of clients in master area */
 static const Bool resizehints = True; /* True means respect size hints in tiled resizals */
 
 static const Layout layouts[] = {
@@ -55,6 +56,8 @@ static Key keys[] = {
 	{ MODKEY,                       XK_b,      togglebar,      {0} },
 	{ MODKEY,                       XK_j,      focusstack,     {.i = +1 } },
 	{ MODKEY,                       XK_k,      focusstack,     {.i = -1 } },
+	{ MODKEY,                       XK_i,      incnmaster,     {.i = +1 } },
+	{ MODKEY,                       XK_d,      incnmaster,     {.i = -1 } },
 	{ MODKEY,                       XK_h,      setmfact,       {.f = -0.05} },
 	{ MODKEY,                       XK_l,      setmfact,       {.f = +0.05} },
 	{ MODKEY,                       XK_Return, zoom,           {0} },