Add urgent and warning color schemes

This commit is contained in:
Aaron Lindsay 2017-02-05 11:49:38 -05:00 committed by Aaron Lindsay
parent 10ea1a380b
commit b799979e38
2 changed files with 8 additions and 4 deletions

View File

@ -14,10 +14,14 @@ static const char col_gray2[] = "#444444";
static const char col_gray3[] = "#bbbbbb";
static const char col_gray4[] = "#eeeeee";
static const char col_cyan[] = "#005577";
static const char col_red[] = "#dc322f";
static const char col_orange[] = "#cb4b16";
static const char *colors[][3] = {
/* fg bg border */
[SchemeNorm] = { col_gray3, col_gray1, col_gray2 },
[SchemeSel] = { col_gray4, col_cyan, col_cyan },
/* fg bg border */
[SchemeNorm] = { col_gray3, col_gray1, col_gray2 },
[SchemeSel] = { col_gray4, col_cyan, col_cyan },
[SchemeUrg] = { col_orange, col_gray1, col_gray2 },
[SchemeWarn] = { col_gray4, col_red, col_gray2 },
};
/* tagging */

2
dwm.c
View File

@ -59,7 +59,7 @@
/* enums */
enum { CurNormal, CurResize, CurMove, CurLast }; /* cursor */
enum { SchemeNorm, SchemeSel }; /* color schemes */
enum { SchemeNorm, SchemeSel, SchemeUrg, SchemeWarn }; /* color schemes */
enum { NetSupported, NetWMName, NetWMState, NetWMCheck,
NetWMFullscreen, NetActiveWindow, NetWMWindowType,
NetWMWindowTypeDialog, NetClientList, NetLast }; /* EWMH atoms */