--- dwm.c +++ dwm.c @@ -740,14 +740,14 @@ drawstatusbar(Monitor *m, int bh, char* stext) { isCode = 0; text = p; - w += 2; /* 1px padding on both sides */ + w += horizpadbar; ret = x = m->ww - w; drw_setscheme(drw, scheme[LENGTH(colors)]); drw->scheme[ColFg] = scheme[SchemeNorm][ColFg]; drw->scheme[ColBg] = scheme[SchemeNorm][ColBg]; drw_rect(drw, x, 0, w, bh, 1, 1); - x++; + x += horizpadbar / 2; /* process status text */ i = -1;