X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=config.def.h;h=9ce750e565fdb8feff78f0e1e8425722795550e8;hb=14d8d828abbb91db3305dfa666c8c70358d1d3c7;hp=437a0f2e7d41e5cf849ba4d27c43067b6ef897fc;hpb=489ac07e83f5dabd23d494630c7bb61690bb56e0;p=dwm.git diff --git a/config.def.h b/config.def.h index 437a0f2..9ce750e 100644 --- a/config.def.h +++ b/config.def.h @@ -9,6 +9,7 @@ #define SELBORDERCOLOR "#0066ff" #define SELBGCOLOR "#0066ff" #define SELFGCOLOR "#ffffff" +#define SNAP 32 /* snap pixel */ /* tagging */ const char tags[][MAXTAGLEN] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" }; @@ -19,15 +20,14 @@ Rule rules[] = { }; /* layout(s) */ -#define MFACT 0.55 /* master factor [0.1 .. 0.9] */ #define RESIZEHINTS True /* False - respect size hints in tiled resizals */ -#define SNAP 32 /* snap pixel */ - +#define MFACT 0.55 /* master factor [0.1 .. 0.9] */ +#include "tile.c" Layout layouts[] = { - /* symbol function isfloating */ - { "[]=", tilev, False }, /* first entry is default */ - { "><>", NULL, True }, - { "", monocle, True }, + /* symbol arrange geom */ + { "[]=", tile, tilegeom }, /* first entry is default */ + { "><>", NULL, }, /* no layout function means floating behavior */ + { "", monocle, NULL }, /* TODO: remove this */ }; /* key definitions */ @@ -37,9 +37,7 @@ Key keys[] = { { MODKEY, XK_p, spawn, "exec dmenu_run -fn '"FONT"' -nb '"NORMBGCOLOR"' -nf '"NORMFGCOLOR"' -sb '"SELBGCOLOR"' -sf '"SELFGCOLOR"'" }, { MODKEY|ShiftMask, XK_Return, spawn, "exec uxterm" }, { MODKEY, XK_j, focusnext, NULL }, - { MODKEY|ShiftMask, XK_j, focusnext, "exact" }, { MODKEY, XK_k, focusprev, NULL }, - { MODKEY|ShiftMask, XK_k, focusprev, "exact" }, { MODKEY, XK_h, setmfact, "-0.05" }, { MODKEY, XK_l, setmfact, "+0.05" }, { MODKEY, XK_Return, zoom, NULL },