commit b8d7964a5514a651453178aa27c7463d031acb8e
parent 7c60f01849fc1b1ecb94b778a47179247dd3b047
Author: Oscar Benedito <oscar@oscarbenedito.com>
Date:   Tue, 23 Jun 2020 23:19:43 +0200

Change bar height calculation

By making it a ratio it behaves better on HiDPI screens.

Diffstat:
Mdwm.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dwm.c b/dwm.c @@ -1814,7 +1814,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 * 1.35; updategeom(); /* init atoms */ utf8string = XInternAtom(dpy, "UTF8_STRING", False);