mirror of
https://github.com/zoriya/dwm.git
synced 2026-06-05 19:34:14 +00:00
Adding the status2d.xrdb patch
This commit is contained in:
@@ -78,6 +78,12 @@ drawstatusbar(int x, char* stext)
|
||||
drw_clr_create(drw, &drw->scheme[ColBg], buf);
|
||||
#endif // BAR_ALPHA_PATCH
|
||||
i += 7;
|
||||
} else if (text[i] == 'C') {
|
||||
int c = atoi(text + ++i);
|
||||
drw_clr_create(drw, &drw->scheme[ColFg], termcolor[c]);
|
||||
} else if (text[i] == 'B') {
|
||||
int c = atoi(text + ++i);
|
||||
drw_clr_create(drw, &drw->scheme[ColBg], termcolor[c]);
|
||||
} else if (text[i] == 'd') {
|
||||
drw->scheme[ColFg] = scheme[SchemeNorm][ColFg];
|
||||
drw->scheme[ColBg] = scheme[SchemeNorm][ColBg];
|
||||
|
||||
Reference in New Issue
Block a user