about summary refs log tree commit diff stats
path: root/config.arg.h
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@suckless.org>2007-01-05 12:50:39 +0100
committerAnselm R. Garbe <arg@suckless.org>2007-01-05 12:50:39 +0100
commit0b80d1842d1c921a8a94c11fd9222dad9311cc97 (patch)
treeaadfdc5b88d211e21fcc1be93f2716dee4370abb /config.arg.h
parentd7ec23a5db32eb00ee90e60bef35010639498cab (diff)
downloaddwm-0b80d1842d1c921a8a94c11fd9222dad9311cc97.tar.gz
experimental version which allows master clients being increased/decreased
Diffstat (limited to 'config.arg.h')
-rw-r--r--config.arg.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.arg.h b/config.arg.h
index 60bdf21..d889d96 100644
--- a/config.arg.h
+++ b/config.arg.h
@@ -19,6 +19,7 @@ const char *tags[] = { "dev", "work", "net", "fnord", NULL };
 
 #define MASTER			600		/* per thousand */
 #define MODKEY			Mod1Mask
+#define NMASTER			1		/* clients in master area */
 #define SNAP			40		/* pixel */
 
 #define KEYS \
@@ -30,10 +31,12 @@ static Key key[] = { \
 		{ .cmd = "exe=\"$(lsx `echo $PATH | sed 's/:/ /g'` | sort -u " \
 			" | dmenu -fn '"FONT"' -nb '"NORMBGCOLOR"' -nf '"NORMFGCOLOR"' " \
 			"-sb '"SELBGCOLOR"' -sf '"SELFGCOLOR"')\" && exec $exe" } }, \
+	{ MODKEY,			XK_d,		incnmaster,	{ .i = -1 } }, \
 	{ MODKEY,			XK_j,		focusnext,	{ 0 } }, \
 	{ MODKEY,			XK_k,		focusprev,	{ 0 } }, \
 	{ MODKEY,			XK_Return,	zoom,		{ 0 } }, \
 	{ MODKEY,			XK_g,		resizemaster,	{ .i = 15 } }, \
+	{ MODKEY,			XK_i,		incnmaster,	{ .i = 1 } }, \
 	{ MODKEY,			XK_s,		resizemaster,	{ .i = -15 } }, \
 	{ MODKEY|ShiftMask,		XK_0,		tag,		{ .i = -1 } }, \
 	{ MODKEY|ShiftMask,		XK_1,		tag,		{ .i = 0 } }, \