did this fix it

This commit is contained in:
Sakooooo 2023-08-05 02:27:55 +03:00
parent e70ee2b80d
commit e9660be3d0
Signed by: sako
GPG key ID: 3FD715D87D7725E0

View file

@ -882,7 +882,7 @@ drawstatusbar(Monitor *m, int bh, char* stext) {
text[i] = '\0'; text[i] = '\0';
w = TEXTW(text) - lrpad; w = TEXTW(text) - lrpad;
drw_text(drw, x - 2 * sp, 0, w, bh, 0, text, 0); drw_text(drw, x - 2 * sp + getsystraywidth(), 0, w, bh, 0, text, 0);
x += w; x += w;
@ -926,7 +926,7 @@ drawstatusbar(Monitor *m, int bh, char* stext) {
if (!isCode) { if (!isCode) {
w = TEXTW(text) - lrpad; w = TEXTW(text) - lrpad;
drw_text(drw, x, 0, w, bh, 0, text, 0); drw_text(drw, x -2 * sp, 0, w, bh, 0, text, 0);
} }
drw_setscheme(drw, scheme[SchemeNorm]); drw_setscheme(drw, scheme[SchemeNorm]);