parent
e9660be3d0
commit
7c84406ce3
1 changed files with 2 additions and 2 deletions
|
@ -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 + getsystraywidth(), 0, w, bh, 0, text, 0);
|
drw_text(drw, x - 2 * sp, 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 -2 * sp, 0, w, bh, 0, text, 0);
|
drw_text(drw, x, 0, w, bh, 0, text, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
drw_setscheme(drw, scheme[SchemeNorm]);
|
drw_setscheme(drw, scheme[SchemeNorm]);
|
||||||
|
|
Loading…
Reference in a new issue