X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=config.def.h;h=c5f7e0ce68c66966f8d8d8d7881d6255b360ffb7;hb=3b2a636ee4293351041fd5772ac85b1337e2bc0d;hp=036235d2835353e1aa789c5529b285d28043468c;hpb=2b6b86ac617f777902e1cf441b7a46ed52782f83;p=dwm.git diff --git a/config.def.h b/config.def.h index 036235d..c5f7e0c 100644 --- a/config.def.h +++ b/config.def.h @@ -6,7 +6,9 @@ static const unsigned int gappx = 5; /* gaps between windows */ static unsigned int snap = 32; /* snap pixel */ static int showbar = 1; /* 0 means no bar */ static int topbar = 1; /* 0 means bottom bar */ -static const char *fonts[] = { "monospace:size=10", "Source Code Pro:size=12" }; +static const int vertpad = 5; /* vertical padding of bar */ +static const int sidepad = 5; /* horizontal padding of bar */ +static const char *fonts[] = { "Source Code Pro:size=12" }; static const char dmenufont[] = "Source Code Pro:size=12"; static char normbgcolor[] = "#222222"; static char normbordercolor[] = "#444444"; @@ -36,7 +38,7 @@ static const Rule rules[] = { /* layout(s) */ static float mfact = 0.55; /* factor of master area size [0.05..0.95] */ static int nmaster = 1; /* number of clients in master area */ -static int resizehints = 1; /* 1 means respect size hints in tiled resizals */ +static int resizehints = 0; /* 1 means respect size hints in tiled resizals */ static const Layout layouts[] = { /* symbol arrange function */ @@ -58,7 +60,7 @@ static const Layout layouts[] = { /* commands */ static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */ -static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", normbgcolor, "-nf", normfgcolor, "-sb", selbordercolor, "-sf", selfgcolor, NULL }; +static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon }; static const char *termcmd[] = { "st", NULL }; /* @@ -105,9 +107,6 @@ static Key keys[] = { { MODKEY, XK_period, focusmon, {.i = +1 } }, { MODKEY|ShiftMask, XK_comma, tagmon, {.i = -1 } }, { MODKEY|ShiftMask, XK_period, tagmon, {.i = +1 } }, - { MODKEY, XK_minus, setgaps, {.i = -1 } }, - { MODKEY, XK_equal, setgaps, {.i = +1 } }, - { MODKEY|ShiftMask, XK_equal, setgaps, {.i = 0 } }, TAGKEYS( XK_1, 0) TAGKEYS( XK_2, 1) TAGKEYS( XK_3, 2)