From 7f27db91747d6d82a0d9ec0d9da82665bf6445fa Mon Sep 17 00:00:00 2001 From: dogeystamp Date: Mon, 5 Apr 2021 21:13:57 -0400 Subject: [PATCH] [dwm] Fix status glitch --- suckless/dwm/dwm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/suckless/dwm/dwm.c b/suckless/dwm/dwm.c index 2f23940..7e90bd2 100644 --- a/suckless/dwm/dwm.c +++ b/suckless/dwm/dwm.c @@ -782,7 +782,8 @@ drawbar(Monitor *m) if (m == selmon) { /* status is only drawn on selected monitor */ drw_setscheme(drw, scheme[SchemeNorm]); tw = TEXTW(stext) - lrpad + TEXTW(m->ltsymbol); /* right padding for ltsymbol */ - drw_text(drw, m->ww-m->ww/4, 0, m->ww/3, bh, 0, stext, 0); + drw_text(drw, m->ww-m->ww/3, 0, m->ww/3, bh, 0, "", 0); + drw_text(drw, m->ww-tw, 0, m->ww/3, bh, 0, stext, 0); } for (c = m->clients; c; c = c->next) {