summaryrefslogtreecommitdiffstats
path: root/config.arg.h
diff options
context:
space:
mode:
authorAnselm R. Garbe <garbeam@gmail.com>2007-08-05 12:47:52 +0200
committerAnselm R. Garbe <garbeam@gmail.com>2007-08-05 12:47:52 +0200
commit796925089cff58fbea4a1954cf0df57a6a648562 (patch)
tree831fc4a48983210e3c9a7363e1e2ed68757d4528 /config.arg.h
parentsmall fix of static function order (diff)
downloaddwm-796925089cff58fbea4a1954cf0df57a6a648562.tar.gz
dwm-796925089cff58fbea4a1954cf0df57a6a648562.zip
changed shortcuts as described on the mailinglist, added sanity checks for ratios during tile (fallback to wah if clients would get too small), documented that new stuff/shortcuts in dwm(1)
Diffstat (limited to '')
-rw-r--r--config.arg.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/config.arg.h b/config.arg.h
index 2a1a784..de3a623 100644
--- a/config.arg.h
+++ b/config.arg.h
@@ -32,7 +32,7 @@ static Layout layout[] = { \
32}; 32};
33#define NMASTER 1 /* clients in master area */ 33#define NMASTER 1 /* clients in master area */
34#define HRATIO .8 /* horizontal ratio of tile */ 34#define HRATIO .8 /* horizontal ratio of tile */
35#define VRATIO .8 /* vertical ratio of tile */ 35#define VRATIO .9 /* vertical ratio of tile */
36#define SNAP 32 /* snap pixel */ 36#define SNAP 32 /* snap pixel */
37 37
38/* key definitions */ 38/* key definitions */
@@ -47,14 +47,14 @@ static Key key[] = { \
47 "exec urxvtcd -tr -bg '#222' -fg '#eee' -cr '#eee' +sb -fn '"FONT"'" }, \ 47 "exec urxvtcd -tr -bg '#222' -fg '#eee' -cr '#eee' +sb -fn '"FONT"'" }, \
48 { MODKEY, XK_space, setlayout, NULL }, \ 48 { MODKEY, XK_space, setlayout, NULL }, \
49 { MODKEY, XK_b, togglebar, NULL }, \ 49 { MODKEY, XK_b, togglebar, NULL }, \
50 { MODKEY, XK_h, incvratio, ".1" }, \ 50 { MODKEY, XK_h, incnmaster, "1" }, \
51 { MODKEY, XK_h, inchratio, ".1" }, \ 51 { MODKEY, XK_l, incnmaster, "-1" }, \
52 { MODKEY, XK_l, incvratio, "-.1" }, \
53 { MODKEY, XK_l, inchratio, "-.1" }, \
54 { MODKEY|ShiftMask, XK_j, incnmaster, "1" }, \
55 { MODKEY|ShiftMask, XK_k, incnmaster, "-1" }, \
56 { MODKEY, XK_j, focusclient, "1" }, \ 52 { MODKEY, XK_j, focusclient, "1" }, \
57 { MODKEY, XK_k, focusclient, "-1" }, \ 53 { MODKEY, XK_k, focusclient, "-1" }, \
54 { MODKEY|ShiftMask, XK_h, inchratio, ".1" }, \
55 { MODKEY|ShiftMask, XK_l, inchratio, "-.1" }, \
56 { MODKEY|ShiftMask, XK_j, incvratio, "-.1" }, \
57 { MODKEY|ShiftMask, XK_k, incvratio, ".1" }, \
58 { MODKEY, XK_m, togglemax, NULL }, \ 58 { MODKEY, XK_m, togglemax, NULL }, \
59 { MODKEY, XK_Return, zoom, NULL }, \ 59 { MODKEY, XK_Return, zoom, NULL }, \
60 { MODKEY|ShiftMask, XK_space, togglefloating, NULL }, \ 60 { MODKEY|ShiftMask, XK_space, togglefloating, NULL }, \