X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=config.default.h;h=dcf13e380808085f7a3770b5b31dd5db6a7ec339;hb=0937cc78bf5d8855dcd757b18e10c7dd49e7a1ab;hp=ec32e9dafb548cc906f4e364b7dab2275947b03a;hpb=aa53e39ec0eb39949c5c03d56da08204d14d9ff9;p=dwm.git diff --git a/config.default.h b/config.default.h index ec32e9d..dcf13e3 100644 --- a/config.default.h +++ b/config.default.h @@ -25,14 +25,14 @@ static Rule rule[] = { \ }; /* layout(s) */ -void tile(const char *arg); /* arranges all windows tiled */ +#include "tile.h" #define LAYOUTS \ static Layout layout[] = { \ /* symbol function */ \ { "[]=", tile }, /* first entry is default */ \ { "><>", floating }, \ }; -#define MASTER 0.6 /* 0.1 .. 0.9 */ +#define MWFACT 0.6 /* master width factor [0.1 .. 0.9] */ #define SNAP 32 /* snap pixel */ /* key definitions */ @@ -44,10 +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, tile, "-0.05" }, \ { MODKEY, XK_j, focusclient, "1" }, \ { MODKEY, XK_k, focusclient, "-1" }, \ - { MODKEY, XK_l, tile, "0.05" }, \ + { 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 }, \