applied Markus' clarify status text padding patch
Anselm R Garbe garbeam@gmail.com
Mon, 05 Dec 2016 09:54:20 +0100
1 files changed,
2 insertions(+),
2 deletions(-)
jump to
M
dwm.c
→
dwm.c
@@ -717,8 +717,8 @@
/* draw status first so it can be overdrawn by tags later */ if (m == selmon) { /* status is only drawn on selected monitor */ drw_setscheme(drw, scheme[SchemeNorm]); - sw = TEXTW(stext) - lrpad / 2; /* no right padding so status text hugs the corner */ - drw_text(drw, m->ww - sw, 0, sw, bh, lrpad / 2 - 2, stext, 0); + sw = TEXTW(stext) - lrpad + 2; /* 2px right padding */ + drw_text(drw, m->ww - sw, 0, sw, bh, 0, stext, 0); } for (c = m->clients; c; c = c->next) {