diff options
author | Eddy Pedroni <epedroni@pm.me> | 2023-12-17 13:49:27 +0100 |
---|---|---|
committer | Eddy Pedroni <epedroni@pm.me> | 2023-12-17 13:49:27 +0100 |
commit | 7245ff2adc16f5c61c1575687583b55b7d3e0ac5 (patch) | |
tree | deffb47d5347a9ee37c321d489b32e1b87f69cbb | |
parent | dbd137534064e45be9d3df1abf9b95b75b39201c (diff) |
Fix statusbar spacing
-rw-r--r-- | dwm.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -799,13 +799,13 @@ drawbar(Monitor *m) /* 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]); - tw = TEXTW(stext) - lrpad + 2; /* 2px right padding */ + tw = TEXTW(stext) - lrpad + 4; /* 4px right padding */ while (1) { if ((unsigned int)*ts > LENGTH(colors)) { ts++; continue ; } ctmp = *ts; *ts = '\0'; drw_text(drw, m->ww - tw + tx, 0, tw - tx, bh, 0, tp, 0); - tx += TEXTW(tp) -lrpad; + tx += TEXTW(tp) - lrpad + 10; if (ctmp == '\0') { break; } drw_setscheme(drw, scheme[(unsigned int)(ctmp-1)]); *ts = ctmp; |