From 4135e34dfa61d32625ef20e8e38064b465402f4a Mon Sep 17 00:00:00 2001 From: "Anselm R. Garbe" Date: Sat, 4 Aug 2007 10:51:39 +0200 Subject: 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.) --- config.arg.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'config.arg.h') diff --git a/config.arg.h b/config.arg.h index 2720ce3..2a1a784 100644 --- a/config.arg.h +++ b/config.arg.h @@ -31,7 +31,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 .8 /* vertical ratio of tile */ #define SNAP 32 /* snap pixel */ /* key definitions */ @@ -46,8 +47,10 @@ 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, incratio, ".1" }, \ - { MODKEY, XK_l, incratio, "-.1" }, \ + { 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_j, focusclient, "1" }, \ -- cgit v1.2.3-54-g00ecf