diff --git a/config/dwm/dwm.c b/config/dwm/dwm.c index 42665e0c..0b84d992 100644 --- a/config/dwm/dwm.c +++ b/config/dwm/dwm.c @@ -882,7 +882,7 @@ drawstatusbar(Monitor *m, int bh, char* stext) { text[i] = '\0'; w = TEXTW(text) - lrpad; - drw_text(drw, x - 2 * sp + getsystraywidth(), 0, w, bh, 0, text, 0); + drw_text(drw, x - 2 * sp, 0, w, bh, 0, text, 0); x += w; @@ -926,7 +926,7 @@ drawstatusbar(Monitor *m, int bh, char* stext) { if (!isCode) { w = TEXTW(text) - lrpad; - drw_text(drw, x -2 * sp, 0, w, bh, 0, text, 0); + drw_text(drw, x, 0, w, bh, 0, text, 0); } drw_setscheme(drw, scheme[SchemeNorm]);