X-Git-Url: https://jasonwoof.com/gitweb/?p=dwm.git;a=blobdiff_plain;f=config.def.h;h=63c8c06fe6a144c2090c344b52dcb3ef6754904c;hp=1c704c3b75e60e30100ba9065beea74f2e6283b1;hb=822101dd5bceadb12351dd5f9084d7745b10ec92;hpb=349d768b573c5b96056faf153273878f61a9f0c9 diff --git a/config.def.h b/config.def.h index 1c704c3..63c8c06 100644 --- a/config.def.h +++ b/config.def.h @@ -1,7 +1,6 @@ /* See LICENSE file for copyright and license details. */ /* appearance */ -#define BORDERPX 1 #define FONT "-*-terminus-medium-r-normal-*-14-*-*-*-*-*-*-*" #define NORMBORDERCOLOR "#cccccc" #define NORMBGCOLOR "#cccccc" @@ -9,6 +8,10 @@ #define SELBORDERCOLOR "#0066ff" #define SELBGCOLOR "#0066ff" #define SELFGCOLOR "#ffffff" +unsigned int borderpx = 1; /* border pixel of windows */ +unsigned int snap = 32; /* snap pixel */ +Bool showbar = True; /* False means no bar */ +Bool topbar = True; /* False means bottom bar */ /* tagging */ const char tags[][MAXTAGLEN] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" }; @@ -19,15 +22,13 @@ 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 */ +double mfact = 0.55; +Bool resizehints = True; /* False means respect size hints in tiled resizals */ Layout layouts[] = { - /* symbol function isfloating */ - { "[]=", tilev, False }, /* first entry is default */ - { "><>", NULL, True }, - { "", monocle, True }, + /* symbol arrange geom */ + { "[]=", tile, updatetilegeom }, /* first entry is default */ + { "><>", NULL, NULL }, /* no layout function means floating behavior */ }; /* key definitions */ @@ -36,15 +37,12 @@ Key keys[] = { /* modifier key function argument */ { 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_b, togglebar, NULL }, { MODKEY, XK_j, focusnext, NULL }, - { MODKEY|ShiftMask, XK_j, focusnext, "exact" }, { MODKEY, XK_k, focusprev, NULL }, - { MODKEY|ShiftMask, XK_k, focusprev, "exact" }, - { MODKEY, XK_r, reapply, NULL }, { MODKEY, XK_h, setmfact, "-0.05" }, { MODKEY, XK_l, setmfact, "+0.05" }, { MODKEY, XK_Return, zoom, NULL }, - { MODKEY, XK_m, togglelayout, "" }, { MODKEY, XK_Tab, viewprevtag, NULL }, { MODKEY|ShiftMask, XK_c, killclient, NULL }, { MODKEY, XK_space, togglelayout, NULL },