From b799979e38719a87b17c43270740bd9fe849c6dc Mon Sep 17 00:00:00 2001 From: Aaron Lindsay Date: Sun, 5 Feb 2017 11:49:38 -0500 Subject: [PATCH] Add urgent and warning color schemes --- config.h | 10 +++++++--- dwm.c | 2 +- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/config.h b/config.h index 2f62a44..3ea05ec 100644 --- a/config.h +++ b/config.h @@ -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 */ diff --git a/dwm.c b/dwm.c index 8b77209..276a263 100644 --- a/dwm.c +++ b/dwm.c @@ -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 */