replacing Mod1-i with Mod1-Shift-j, Mod1-d with Mod1-Shift-k

keyboard
Anselm R. Garbe 18 years ago
parent e70139428a
commit 2122e39ce1
  1. 4
      config.arg.h
  2. 4
      config.default.h
  3. 12
      dwm.1

@ -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 }, \

@ -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 }, \

12
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

Loading…
Cancel
Save