diff options
| author | Anselm R. Garbe <arg@suckless.org> | 2007-02-23 10:40:32 +0100 |
|---|---|---|
| committer | Anselm R. Garbe <arg@suckless.org> | 2007-02-23 10:40:32 +0100 |
| commit | 0ea0343a631b62f2a9d9c5b279d3e368ec47c28a (patch) | |
| tree | 7199797d3345e1346d157303708025e65fde3b88 | |
| parent | renamed untiled into floating, keeping tiled instead of tiling (afaik tiled s... (diff) | |
| download | dwm-0ea0343a631b62f2a9d9c5b279d3e368ec47c28a.tar.gz dwm-0ea0343a631b62f2a9d9c5b279d3e368ec47c28a.zip | |
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
| -rw-r--r-- | config.arg.h | 7 | ||||
| -rw-r--r-- | config.default.h | 9 | ||||
| -rw-r--r-- | dwm.1 | 10 |
3 files changed, 13 insertions, 13 deletions
diff --git a/config.arg.h b/config.arg.h index 7452a2f..baea74c 100644 --- a/config.arg.h +++ b/config.arg.h | |||
| @@ -42,11 +42,10 @@ static Layout layout[] = { \ | |||
| 42 | static Key key[] = { \ | 42 | static Key key[] = { \ |
| 43 | /* modifier key function argument */ \ | 43 | /* modifier key function argument */ \ |
| 44 | { MODKEY, XK_p, spawn, \ | 44 | { MODKEY, XK_p, spawn, \ |
| 45 | "exe=\"$(lsx `echo $PATH | sed 's/:/ /g'` | sort -u " \ | 45 | "exe=`dmenu_path | dmenu -fn '"FONT"' -nb '"NORMBGCOLOR"' -nf '"NORMFGCOLOR"'" \ |
| 46 | " | dmenu -fn '"FONT"' -nb '"NORMBGCOLOR"' -nf '"NORMFGCOLOR"' " \ | 46 | " '"SELBGCOLOR"' -sf '"SELFGCOLOR"'` && exec $exe" }, \ |
| 47 | "-sb '"SELBGCOLOR"' -sf '"SELFGCOLOR"')\" && exec $exe" }, \ | ||
| 48 | { MODKEY|ShiftMask, XK_Return, spawn, \ | 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 | { MODKEY, XK_space, setlayout, NULL }, \ | 49 | { MODKEY, XK_space, setlayout, NULL }, \ |
| 51 | { MODKEY, XK_d, incnmaster, "-1" }, \ | 50 | { MODKEY, XK_d, incnmaster, "-1" }, \ |
| 52 | { MODKEY, XK_i, incnmaster, "1" }, \ | 51 | { MODKEY, XK_i, incnmaster, "1" }, \ |
diff --git a/config.default.h b/config.default.h index 9813ef7..c20f1b2 100644 --- a/config.default.h +++ b/config.default.h | |||
| @@ -43,13 +43,14 @@ static Layout layout[] = { \ | |||
| 43 | static Key key[] = { \ | 43 | static Key key[] = { \ |
| 44 | /* modifier key function argument */ \ | 44 | /* modifier key function argument */ \ |
| 45 | { MODKEY|ShiftMask, XK_Return, spawn, "exec xterm" }, \ | 45 | { MODKEY|ShiftMask, XK_Return, spawn, "exec xterm" }, \ |
| 46 | { MODKEY, XK_p, spawn, "exe=`dmenu_path | dmenu` && exec $exe" }, \ | ||
| 46 | { MODKEY, XK_space, setlayout, NULL }, \ | 47 | { MODKEY, XK_space, setlayout, NULL }, \ |
| 47 | { MODKEY, XK_d, incnmaster, "-1" }, \ | 48 | { MODKEY, XK_d, incnmaster, "-1" }, \ |
| 48 | { MODKEY, XK_i, incnmaster, "1" }, \ | 49 | { MODKEY, XK_i, incnmaster, "1" }, \ |
| 49 | { MODKEY, XK_g, incmasterw, "32" }, \ | 50 | { MODKEY, XK_l, incmasterw, "32" }, \ |
| 50 | { MODKEY, XK_s, incmasterw, "-32" }, \ | 51 | { MODKEY, XK_h, incmasterw, "-32" }, \ |
| 51 | { MODKEY, XK_Tab, focusclient, "1" }, \ | 52 | { MODKEY, XK_j, focusclient, "1" }, \ |
| 52 | { MODKEY|ShiftMask, XK_Tab, focusclient, "-1" }, \ | 53 | { MODKEY, XK_k, focusclient, "-1" }, \ |
| 53 | { MODKEY, XK_m, togglemax, NULL }, \ | 54 | { MODKEY, XK_m, togglemax, NULL }, \ |
| 54 | { MODKEY, XK_Return, zoom, NULL }, \ | 55 | { MODKEY, XK_Return, zoom, NULL }, \ |
| 55 | { MODKEY|ShiftMask, XK_space, togglefloating, NULL }, \ | 56 | { MODKEY|ShiftMask, XK_space, togglefloating, NULL }, \ |
| @@ -54,21 +54,21 @@ click on a tag label adds/removes that tag to/from the focused window. | |||
| 54 | .TP | 54 | .TP |
| 55 | .B Mod1-Shift-Return | 55 | .B Mod1-Shift-Return |
| 56 | Start | 56 | Start |
| 57 | .BR xterm (1). | 57 | .BR xterm. |
| 58 | .TP | 58 | .TP |
| 59 | .B Mod1-Return | 59 | .B Mod1-Return |
| 60 | Zooms/cycles current window to/from master area (tiled layout only). | 60 | Zooms/cycles current window to/from master area (tiled layout only). |
| 61 | .TP | 61 | .TP |
| 62 | .B Mod1-Tab | 62 | .B Mod1-j |
| 63 | Focus next window. | 63 | Focus next window. |
| 64 | .TP | 64 | .TP |
| 65 | .B Mod1-Shift-Tab | 65 | .B Mod1-k |
| 66 | Focus previous window. | 66 | Focus previous window. |
| 67 | .TP | 67 | .TP |
| 68 | .B Mod1-g | 68 | .B Mod1-l |
| 69 | Increase master area width (tiled layout only). | 69 | Increase master area width (tiled layout only). |
| 70 | .TP | 70 | .TP |
| 71 | .B Mod1-s | 71 | .B Mod1-h |
| 72 | Decrease master area width (tiled layout only). | 72 | Decrease master area width (tiled layout only). |
| 73 | .TP | 73 | .TP |
| 74 | .B Mod1-i | 74 | .B Mod1-i |
