JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
replacing Mod1-i with Mod1-Shift-j, Mod1-d with Mod1-Shift-k
authorAnselm R. Garbe <arg@suckless.org>
Fri, 23 Feb 2007 12:37:55 +0000 (13:37 +0100)
committerAnselm R. Garbe <arg@suckless.org>
Fri, 23 Feb 2007 12:37:55 +0000 (13:37 +0100)
config.arg.h
config.default.h
dwm.1

index 457b7c2..6aec233 100644 (file)
@@ -47,10 +47,10 @@ static Key key[] = { \
        { MODKEY|ShiftMask,             XK_Return,      spawn, \
                "exec urxvtcd -tr -bg '#222' -fg '#eee' -cr '#eee' +sb -fn '"FONT"'" }, \
        { MODKEY,                       XK_space,       setlayout,      NULL }, \
-       { MODKEY,                       XK_d,           incnmaster,     "-1" }, \
-       { MODKEY,                       XK_i,           incnmaster,     "1" }, \
        { MODKEY,                       XK_h,           incmasterw,     "-32" }, \
        { MODKEY,                       XK_l,           incmasterw,     "32" }, \
+       { MODKEY|ShiftMask,             XK_j,           incnmaster,     "1" }, \
+       { MODKEY|ShiftMask,             XK_k,           incnmaster,     "-1" }, \
        { MODKEY,                       XK_j,           focusclient,    "1" }, \
        { MODKEY,                       XK_k,           focusclient,    "-1" }, \
        { MODKEY,                       XK_m,           togglemax,      NULL }, \
index 91be009..2ccef42 100644 (file)
@@ -45,10 +45,10 @@ static Key key[] = { \
        { MODKEY|ShiftMask,             XK_Return,      spawn,          "exec xterm" }, \
        { MODKEY,                       XK_p,           spawn,          "exe=`dmenu_path | dmenu` && exec $exe" }, \
        { MODKEY,                       XK_space,       setlayout,      NULL }, \
-       { MODKEY,                       XK_d,           incnmaster,     "-1" }, \
-       { MODKEY,                       XK_i,           incnmaster,     "1" }, \
        { MODKEY,                       XK_h,           incmasterw,     "-32" }, \
        { MODKEY,                       XK_l,           incmasterw,     "32" }, \
+       { MODKEY|ShiftMask,             XK_j,           incnmaster,     "1" }, \
+       { MODKEY|ShiftMask,             XK_k,           incnmaster,     "-1" }, \
        { MODKEY,                       XK_j,           focusclient,    "1" }, \
        { MODKEY,                       XK_k,           focusclient,    "-1" }, \
        { MODKEY,                       XK_m,           togglemax,      NULL }, \
diff --git a/dwm.1 b/dwm.1
index 078c79d..60c0fea 100644 (file)
--- a/dwm.1
+++ b/dwm.1
@@ -65,18 +65,18 @@ Focus next window.
 .B Mod1-k
 Focus previous window.
 .TP
+.B Mod1-Shift-j
+Increase the number of windows in the master area (tiled layout only).
+.TP
+.B Mod1-Shift-k
+Decrease the number of windows in the master area (tiled layout only).
+.TP
 .B Mod1-l
 Increase master area width (tiled layout only).
 .TP
 .B Mod1-h
 Decrease master area width (tiled layout only).
 .TP
-.B Mod1-i
-Increase the number of windows in the master area (tiled layout only).
-.TP
-.B Mod1-d
-Decrease the number of windows in the master area (tiled layout only).
-.TP
 .B Mod1-m
 Toggles maximization of current window (floating layout only).
 .TP