diff options
author | NPScript <nathan@reinerweb.ch> | 2022-05-01 16:25:57 +0200 |
---|---|---|
committer | NPScript <nathan@reinerweb.ch> | 2022-05-01 16:25:57 +0200 |
commit | eb8e7e09c59d636908170d866bf5bd8418dedb48 (patch) | |
tree | bac376897b0f4fbd4c8676632b136eb3290e3a5c | |
parent | 3762ba5cb6db5184938d08dbf90e079916076f31 (diff) |
add barpadding
-rw-r--r-- | config.h | 1 | ||||
-rw-r--r-- | dwm.c | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -5,6 +5,7 @@ static const unsigned int borderpx = 2; /* border pixel of windows */ 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 */ +static const int barpadding = 5; static const char *fonts[] = { "SauceCodePro Nerd Font:size=10" }; static const char dmenufont[] = "SauceCodePro Nerd Font:size=10"; static const char col_gray1[] = "#222222"; @@ -1553,7 +1553,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 + 2 + barpadding; updategeom(); /* init atoms */ utf8string = XInternAtom(dpy, "UTF8_STRING", False); |