--- config.def.h | 1 + dwm.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/config.def.h b/config.def.h index a9ac303..3dbbfa5 100644 --- a/config.def.h +++ b/config.def.h _AT_@ -2,6 +2,7 @@ /* appearance */ static const unsigned int borderpx = 1; /* border pixel of windows */ +static const unsigned int barmargin = 2; /* top/botteom bar margins */ static const unsigned int snap = 32; /* snap pixel */ static const int showbar = 1; /* 0 means no bar */ static const int topbar = 1; /* 0 means bottom bar */ diff --git a/dwm.c b/dwm.c index ff893df..f49e30c 100644 --- a/dwm.c +++ b/dwm.c _AT_@ -1546,7 +1546,7 @@ setup(void) if (!drw_fontset_create(drw, fonts, LENGTH(fonts))) die("no fonts could be loaded."); lrpad = drw->fonts->h; - bh = drw->fonts->h + 2; + bh = drw->fonts->h + barmargin; updategeom(); /* init atoms */ utf8string = XInternAtom(dpy, "UTF8_STRING", False); -- 2.13.6Received on Tue Dec 12 2017 - 09:51:08 CET
This archive was generated by hypermail 2.3.0 : Tue Dec 12 2017 - 10:00:32 CET