X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=config.default.h;h=dcf13e380808085f7a3770b5b31dd5db6a7ec339;hb=b32cd4454b4608c29699e8e0215a5107ce357679;hp=5a8d5949d210342d7242279ecf379d7483c4388f;hpb=e461e60997f83d69561ad0ca4754c299145c00b8;p=dwm.git diff --git a/config.default.h b/config.default.h index 5a8d594..dcf13e3 100644 --- a/config.default.h +++ b/config.default.h @@ -25,14 +25,14 @@ static Rule rule[] = { \ }; /* layout(s) */ +#include "tile.h" #define LAYOUTS \ static Layout layout[] = { \ /* symbol function */ \ { "[]=", tile }, /* first entry is default */ \ { "><>", floating }, \ }; -#define NMASTER 1 /* clients in master area */ -#define RATIO .8 /* ratio of tile */ +#define MWFACT 0.6 /* master width factor [0.1 .. 0.9] */ #define SNAP 32 /* snap pixel */ /* key definitions */ @@ -44,12 +44,10 @@ 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|ShiftMask, XK_j, incnmaster, "1" }, \ - { MODKEY|ShiftMask, XK_k, incnmaster, "-1" }, \ { MODKEY, XK_j, focusclient, "1" }, \ { MODKEY, XK_k, focusclient, "-1" }, \ + { MODKEY, XK_h, addtomwfact, "-0.05" }, \ + { MODKEY, XK_l, addtomwfact, "0.05" }, \ { MODKEY, XK_m, togglemax, NULL }, \ { MODKEY, XK_Return, zoom, NULL }, \ { MODKEY|ShiftMask, XK_space, togglefloating, NULL }, \