summaryrefslogtreecommitdiffhomepage
path: root/patch/xrdb.c
diff options
context:
space:
mode:
authorbakkeby <[email protected]>2020-06-03 17:29:25 +0200
committerbakkeby <[email protected]>2020-06-03 17:29:25 +0200
commit2b332f719911115a2d7e46395dde744b297e25cb (patch)
tree4eef7301c5f45c617803d6a5d28b036fc255d022 /patch/xrdb.c
parent8c419b0d7ac130a99623834c7ef1ca6c9e29d07e (diff)
downloaddwm-flexipatch-2b332f719911115a2d7e46395dde744b297e25cb.tar.gz
dwm-flexipatch-2b332f719911115a2d7e46395dde744b297e25cb.zip
Expanding Xresources options to include the warn colours in relation to the statuscolors patch
Diffstat (limited to 'patch/xrdb.c')
-rw-r--r--patch/xrdb.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/patch/xrdb.c b/patch/xrdb.c
index cc3a2ba..ef9e186 100644
--- a/patch/xrdb.c
+++ b/patch/xrdb.c
@@ -30,7 +30,16 @@ loadxrdb()
XRDB_LOAD_COLOR("dwm.selfloatcolor", selfloatcolor);
#endif // FLOAT_BORDER_COLOR_PATCH
- #if URGENTBORDER_PATCH
+ #if STATUSCOLORS_PATCH
+ XRDB_LOAD_COLOR("dwm.warnfgcolor", warnfgcolor);
+ XRDB_LOAD_COLOR("dwm.warnbgcolor", warnbgcolor);
+ XRDB_LOAD_COLOR("dwm.warnbordercolor", warnbordercolor);
+ #if FLOAT_BORDER_COLOR_PATCH
+ XRDB_LOAD_COLOR("dwm.warnfloatcolor", warnfloatcolor);
+ #endif // FLOAT_BORDER_COLOR_PATCH
+ #endif // STATUSCOLORS_PATCH
+
+ #if URGENTBORDER_PATCH || STATUSCOLORS_PATCH
XRDB_LOAD_COLOR("dwm.urgfgcolor", urgfgcolor);
XRDB_LOAD_COLOR("dwm.urgbgcolor", urgbgcolor);
XRDB_LOAD_COLOR("dwm.urgbordercolor", urgbordercolor);