mirror of
https://github.com/mintycube/dwm.git
synced 2024-10-22 14:05:45 +02:00
powerline tags: change to urgentcolor when a client is urgent
This commit is contained in:
parent
0f14ffade1
commit
570ef2469b
@ -52,7 +52,11 @@ draw_pwrl_tags(Bar *bar, BarArg *a)
|
||||
icon = tagicon(bar->mon, i);
|
||||
invert = 0;
|
||||
w = TEXTW(icon);
|
||||
drw_settrans(drw, prevscheme, (nxtscheme = scheme[bar->mon->tagset[bar->mon->seltags] & 1 << i ? SchemeSel : SchemeNorm]));
|
||||
if (urg & 1 << i ) {
|
||||
drw_settrans(drw, prevscheme, (nxtscheme = scheme[bar->mon->tagset[bar->mon->seltags] & 1 << i ? SchemeSel : SchemeUrg]));
|
||||
} else {
|
||||
drw_settrans(drw, prevscheme, (nxtscheme = scheme[bar->mon->tagset[bar->mon->seltags] & 1 << i ? SchemeSel : SchemeNorm]));
|
||||
}
|
||||
#if BAR_POWERLINE_TAGS_SLASH_PATCH
|
||||
drw_arrow(drw, x, a->y, plw, a->h, 1, 1);
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user