diff --git a/config/dwm/dwm.c b/config/dwm/dwm.c index ceb9b4e9..aa3cde64 100644 --- a/config/dwm/dwm.c +++ b/config/dwm/dwm.c @@ -863,7 +863,8 @@ drawstatusbar(Monitor *m, int bh, char* stext) { text = p; w += 2; /* 1px padding on both sides */ - ret = x = m->ww - w; + ret = m->ww - w; + x = ret - getsystraywidth(); drw_setscheme(drw, scheme[LENGTH(colors)]); drw->scheme[ColFg] = scheme[SchemeNorm][ColFg];