show mode only if mode isnt "normal" (special mode)
This commit is contained in:
parent
93125826c9
commit
a243616990
1 changed files with 5 additions and 3 deletions
8
dam.c
8
dam.c
|
@ -250,9 +250,11 @@ bar_draw(Bar *bar)
|
||||||
x += w;
|
x += w;
|
||||||
}
|
}
|
||||||
|
|
||||||
w = TEXTW(bar, mode);
|
if (strcmp(mode, "normal")) {
|
||||||
drwl_setscheme(bar->drw, colors[SchemeSel]);
|
w = TEXTW(bar, mode);
|
||||||
x = drwl_text(bar->drw, x, 0, w, bar->height, bar->lrpad / 2, mode, 0);
|
drwl_setscheme(bar->drw, colors[SchemeSel]);
|
||||||
|
x = drwl_text(bar->drw, x, 0, w, bar->height, bar->lrpad / 2, mode, 0);
|
||||||
|
}
|
||||||
|
|
||||||
if (bar->layout) {
|
if (bar->layout) {
|
||||||
w = TEXTW(bar, bar->layout);
|
w = TEXTW(bar, bar->layout);
|
||||||
|
|
Loading…
Add table
Reference in a new issue