diff --git a/dwm-6.2/config.def.h b/dwm-6.2/config.def.h index 1e7d06a..bc9d8b5 100644 --- a/dwm-6.2/config.def.h +++ b/dwm-6.2/config.def.h @@ -13,6 +13,8 @@ static const int showbar = 1; /* 0 means no bar */ static const int topbar = 1; /* 0 means bottom bar */ static const int vertpad = 8; /* vertical padding of bar */ static const int sidepad = 8; /* horizontal padding of bar */ +static const int horizpadbar = 2; /* horizontal padding for statusbar */ +static const int vertpadbar = 6; /* vertical padding for statusbar */ static const char *fonts[] = { "MesloLGS NF:size=11" }; static const char dmenufont[] = "MesloLGS NF:size=11"; static const char dmenupromt[] = "Run:"; diff --git a/dwm-6.2/dwm.c b/dwm-6.2/dwm.c index 4851d3a..1994edf 100644 --- a/dwm-6.2/dwm.c +++ b/dwm-6.2/dwm.c @@ -1929,8 +1929,8 @@ setup(void) drw = drw_create(dpy, screen, root, sw, sh); if (!drw_fontset_create(drw, fonts, LENGTH(fonts))) die("no fonts could be loaded."); - lrpad = drw->fonts->h; - bh = drw->fonts->h + 2; + lrpad = drw->fonts->h + horizpadbar; + bh = drw->fonts->h + vertpadbar; updategeom(); sp = sidepad; vp = (topbar == 1) ? vertpad : - vertpad;