diff options
| author | Mouad Alami <moadalami40@gmail.com> | 2023-04-24 23:23:46 +0100 |
|---|---|---|
| committer | Mouad Alami <moadalami40@gmail.com> | 2023-04-24 23:23:46 +0100 |
| commit | 7b260620e770659dec436a90ba9101d37017dc32 (patch) | |
| tree | fbebb4854fc98bef77c82a3540eba589b4c2f7a0 | |
| parent | 6d5bbd5f668e4f4a238dade335b837f645a37239 (diff) | |
bar height patch
| -rw-r--r-- | README | 2 | ||||
| -rw-r--r-- | config.h | 1 | ||||
| -rw-r--r-- | dwm.c | 2 |
3 files changed, 3 insertions, 2 deletions
@@ -49,4 +49,4 @@ and (re)compiling the source code. Patches applied --------------- -zoomswap - scratchpad - sticky - statuscmd - pertag - noborder - movestack - hide vacant tags - actualfullscreen +zoomswap - scratchpad - sticky - statuscmd - pertag - noborder - movestack - hide vacant tags - actualfullscreen - bar height @@ -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 user_bh = 2; /* 2 is the default spacing around the bar's font */ static const char *fonts[] = { "monospace:size=11", "Noto Color Emoji:pixelsize=11:antialias=true:autohint=true"}; @@ -1708,7 +1708,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 + user_bh; updategeom(); /* init atoms */ utf8string = XInternAtom(dpy, "UTF8_STRING", False); |
