X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=config.def.h;h=c5f7e0ce68c66966f8d8d8d7881d6255b360ffb7;hb=c3a9912a953c69d16bcbbf5624e7ef6e3d4aa504;hp=50d01a3d2567c75a835a9e59be16195554308c42;hpb=a0d0126de711ec7ef15780c0604194af3d15528e;p=dwm.git diff --git a/config.def.h b/config.def.h index 50d01a3..c5f7e0c 100644 --- a/config.def.h +++ b/config.def.h @@ -6,6 +6,8 @@ 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 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"; @@ -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)