well I agree to several people claiming h/j/k/l is the better default than Tab/S-Tab/g/s for focus and master resizing 0ea0343a
Anselm R. Garbe · 2007-02-23 10:40 3 file(s) · +13 −13
config.arg.h +3 −4
42 42
static Key key[] = { \
43 43
	/* modifier			key		function	argument */ \
44 44
	{ MODKEY,			XK_p,		spawn, \
45 -
		"exe=\"$(lsx `echo $PATH | sed 's/:/ /g'` | sort -u " \
46 -
		" | dmenu -fn '"FONT"' -nb '"NORMBGCOLOR"' -nf '"NORMFGCOLOR"' " \
47 -
		"-sb '"SELBGCOLOR"' -sf '"SELFGCOLOR"')\" && exec $exe" }, \
45 +
		"exe=`dmenu_path | dmenu -fn '"FONT"' -nb '"NORMBGCOLOR"' -nf '"NORMFGCOLOR"'" \
46 +
		" '"SELBGCOLOR"' -sf '"SELFGCOLOR"'` && exec $exe" }, \
48 47
	{ MODKEY|ShiftMask,		XK_Return,	spawn, \
49 -
		"exec urxvtcd -tr -bg '#292929' -fg '#eee' -cr '#eee' +sb -fn '"FONT"'" }, \
48 +
		"exec urxvtcd -tr -bg '#222' -fg '#eee' -cr '#eee' +sb -fn '"FONT"'" }, \
50 49
	{ MODKEY,			XK_space,	setlayout,	NULL }, \
51 50
	{ MODKEY,			XK_d,		incnmaster,	"-1" }, \
52 51
	{ MODKEY,			XK_i,		incnmaster,	"1" }, \
config.default.h +5 −4
43 43
static Key key[] = { \
44 44
	/* modifier			key		function	argument */ \
45 45
	{ MODKEY|ShiftMask,		XK_Return,	spawn,		"exec xterm" }, \
46 +
	{ MODKEY,			XK_p,		spawn, 		"exe=`dmenu_path | dmenu` && exec $exe" }, \
46 47
	{ MODKEY,			XK_space,	setlayout,	NULL }, \
47 48
	{ MODKEY,			XK_d,		incnmaster,	"-1" }, \
48 49
	{ MODKEY,			XK_i,		incnmaster,	"1" }, \
49 -
	{ MODKEY,			XK_g,		incmasterw,	"32" }, \
50 -
	{ MODKEY,			XK_s,		incmasterw,	"-32" }, \
51 -
	{ MODKEY,			XK_Tab,		focusclient,	"1" }, \
52 -
	{ MODKEY|ShiftMask,		XK_Tab,		focusclient,	"-1" }, \
50 +
	{ MODKEY,			XK_l,		incmasterw,	"32" }, \
51 +
	{ MODKEY,			XK_h,		incmasterw,	"-32" }, \
52 +
	{ MODKEY,			XK_j,		focusclient,	"1" }, \
53 +
	{ MODKEY,			XK_k,		focusclient,	"-1" }, \
53 54
	{ MODKEY,			XK_m,		togglemax,	NULL }, \
54 55
	{ MODKEY,			XK_Return,	zoom,		NULL }, \
55 56
	{ MODKEY|ShiftMask,		XK_space,	togglefloating,	NULL }, \
dwm.1 +5 −5
54 54
.TP
55 55
.B Mod1-Shift-Return
56 56
Start
57 -
.BR xterm (1).
57 +
.BR xterm.
58 58
.TP
59 59
.B Mod1-Return
60 60
Zooms/cycles current window to/from master area (tiled layout only).
61 61
.TP
62 -
.B Mod1-Tab
62 +
.B Mod1-j
63 63
Focus next window.
64 64
.TP
65 -
.B Mod1-Shift-Tab
65 +
.B Mod1-k
66 66
Focus previous window.
67 67
.TP
68 -
.B Mod1-g
68 +
.B Mod1-l
69 69
Increase master area width (tiled layout only).
70 70
.TP
71 -
.B Mod1-s
71 +
.B Mod1-h
72 72
Decrease master area width (tiled layout only).
73 73
.TP
74 74
.B Mod1-i