dwm

personal fork of dwm (rnpnr branch)
git clone anongit@rnpnr.xyz:dwm.git
Log | Files | Refs | Feed | README | LICENSE

Commit: 95e34c5ac3ef0fa670275cc23c4a38b79ff4ac65
Parent: 902fca7b88f62c3eb3fea330661a30d935df2223
Author: Randy Palamar
Date:   Sat, 13 Feb 2021 16:00:53 -0700

convert the bars padding amount to a variable

Diffstat:
Mconfig.def.h | 1+
Mdwm.c | 2+-
2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/config.def.h b/config.def.h @@ -3,6 +3,7 @@ /* appearance */ static const unsigned int borderpx = 1; /* border pixel of windows */ static const unsigned int snap = 32; /* snap pixel */ +static const int padbar = 2; /* padding around bar text */ static const int showbar = 1; /* 0 means no bar */ static const int topbar = 1; /* 0 means bottom bar */ static const char *fonts[] = { "monospace:size=10" }; diff --git a/dwm.c b/dwm.c @@ -1571,7 +1571,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 + padbar; updategeom(); /* init atoms */ utf8string = XInternAtom(dpy, "UTF8_STRING", False);