From: Anselm R. Garbe Date: Fri, 23 Feb 2007 12:37:55 +0000 (+0100) Subject: replacing Mod1-i with Mod1-Shift-j, Mod1-d with Mod1-Shift-k X-Git-Url: https://jasonwoof.com/gitweb/?p=dwm.git;a=commitdiff_plain;h=2122e39ce152d9ce9eadef70a6151097d5c10484 replacing Mod1-i with Mod1-Shift-j, Mod1-d with Mod1-Shift-k --- diff --git a/config.arg.h b/config.arg.h index 457b7c2..6aec233 100644 --- a/config.arg.h +++ b/config.arg.h @@ -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 }, \ diff --git a/config.default.h b/config.default.h index 91be009..2ccef42 100644 --- a/config.default.h +++ b/config.default.h @@ -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 --- 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