aboutsummaryrefslogtreecommitdiffstats
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
parentda91dfc948e3c66ac491bbdd1424a33aadbb5265 (diff)
downloaddwm-796925089cff58fbea4a1954cf0df57a6a648562.tar.gz
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 'config.arg.h')
-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[] = { \
};
#define NMASTER 1 /* clients in master area */
#define HRATIO .8 /* horizontal ratio of tile */
-#define VRATIO .8 /* vertical ratio of tile */
+#define VRATIO .9 /* vertical ratio of tile */
#define SNAP 32 /* snap pixel */
/* key definitions */
@@ -47,14 +47,14 @@ static Key key[] = { \
"exec urxvtcd -tr -bg '#222' -fg '#eee' -cr '#eee' +sb -fn '"FONT"'" }, \
{ MODKEY, XK_space, setlayout, NULL }, \
{ MODKEY, XK_b, togglebar, NULL }, \
- { MODKEY, XK_h, incvratio, ".1" }, \
- { MODKEY, XK_h, inchratio, ".1" }, \
- { MODKEY, XK_l, incvratio, "-.1" }, \
- { MODKEY, XK_l, inchratio, "-.1" }, \
- { MODKEY|ShiftMask, XK_j, incnmaster, "1" }, \
- { MODKEY|ShiftMask, XK_k, incnmaster, "-1" }, \
+ { MODKEY, XK_h, incnmaster, "1" }, \
+ { MODKEY, XK_l, incnmaster, "-1" }, \
{ MODKEY, XK_j, focusclient, "1" }, \
{ MODKEY, XK_k, focusclient, "-1" }, \
+ { MODKEY|ShiftMask, XK_h, inchratio, ".1" }, \
+ { MODKEY|ShiftMask, XK_l, inchratio, "-.1" }, \
+ { MODKEY|ShiftMask, XK_j, incvratio, "-.1" }, \
+ { MODKEY|ShiftMask, XK_k, incvratio, ".1" }, \
{ MODKEY, XK_m, togglemax, NULL }, \
{ MODKEY, XK_Return, zoom, NULL }, \
{ MODKEY|ShiftMask, XK_space, togglefloating, NULL }, \
remember that computers suck.