diff --git a/bar/statusbar.c b/bar/statusbar.c index b2eb2c3..18db86e 100644 --- a/bar/statusbar.c +++ b/bar/statusbar.c @@ -72,6 +72,12 @@ drawstatusbar(int x, char* stext) } else if (text[i] == 'd') { drw->scheme[ColFg] = scheme[SchemeStatus][ColFg]; drw->scheme[ColBg] = scheme[SchemeStatus][ColBg]; + } else if (text[i] == 'C') { + int c = atoi(text + ++i); + drw_clr_create(drw, &drw->scheme[ColFg], colstatus[c], alphas[SchemeStatus][ColBg]); + } else if (text[i] == 'B') { + int c = atoi(text + ++i); + drw_clr_create(drw, &drw->scheme[ColBg], colstatus[c], alphas[SchemeStatus][ColBg]); } else if (text[i] == 'r') { int rx = atoi(text + ++i); while (text[++i] != ',');