diff options
author | Anselm R. Garbe <garbeam@gmail.com> | 2007-08-04 10:51:39 +0200 |
---|---|---|
committer | Anselm R. Garbe <garbeam@gmail.com> | 2007-08-04 10:51:39 +0200 |
commit | 4135e34dfa61d32625ef20e8e38064b465402f4a (patch) | |
tree | beb8cfbcb846eb3a6a3172567ca70a67866d934f /config.default.h | |
parent | 846128a498759bfcbf363fc014e50c1bf48bdf0c (diff) | |
download | dwm-4135e34dfa61d32625ef20e8e38064b465402f4a.tar dwm-4135e34dfa61d32625ef20e8e38064b465402f4a.tar.gz dwm-4135e34dfa61d32625ef20e8e38064b465402f4a.tar.bz2 |
I introduced {H,V}RATIO and inc{h,v,}ratio() functions - the default behaves like in dwm-4.3, config.arg.h shows how I prefer the ratio being handled (for the future I plan to change const char *arg into ..., and renaming Client into Win.)
Diffstat (limited to 'config.default.h')
-rw-r--r-- | config.default.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/config.default.h b/config.default.h index 5a8d594..9ea02a9 100644 --- a/config.default.h +++ b/config.default.h @@ -32,7 +32,8 @@ static Layout layout[] = { \ { "><>", floating }, \ }; #define NMASTER 1 /* clients in master area */ -#define RATIO .8 /* ratio of tile */ +#define HRATIO .8 /* horizontal ratio of tile */ +#define VRATIO 1 /* vertical ratio of tile */ #define SNAP 32 /* snap pixel */ /* key definitions */ @@ -44,8 +45,8 @@ static Key key[] = { \ { MODKEY, XK_p, spawn, "exe=`dmenu_path | dmenu` && exec $exe" }, \ { MODKEY, XK_space, setlayout, NULL }, \ { MODKEY, XK_b, togglebar, NULL }, \ - { MODKEY, XK_h, incratio, ".1" }, \ - { MODKEY, XK_l, incratio, "-.1" }, \ + { MODKEY, XK_h, incvratio, ".1" }, \ + { MODKEY, XK_l, incvratio, "-.1" }, \ { MODKEY|ShiftMask, XK_j, incnmaster, "1" }, \ { MODKEY|ShiftMask, XK_k, incnmaster, "-1" }, \ { MODKEY, XK_j, focusclient, "1" }, \ |