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;
|
||||
}
|
||||
|
||||
w = TEXTW(bar, mode);
|
||||
drwl_setscheme(bar->drw, colors[SchemeSel]);
|
||||
x = drwl_text(bar->drw, x, 0, w, bar->height, bar->lrpad / 2, mode, 0);
|
||||
if (strcmp(mode, "normal")) {
|
||||
w = TEXTW(bar, mode);
|
||||
drwl_setscheme(bar->drw, colors[SchemeSel]);
|
||||
x = drwl_text(bar->drw, x, 0, w, bar->height, bar->lrpad / 2, mode, 0);
|
||||
}
|
||||
|
||||
if (bar->layout) {
|
||||
w = TEXTW(bar, bar->layout);
|
||||
|
|
Loading…
Add table
Reference in a new issue