JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
I introduced {H,V}RATIO and inc{h,v,}ratio() functions - the default behaves like...
[dwm.git] / config.default.h
index 5a8d594..9ea02a9 100644 (file)
@@ -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" }, \