summaryrefslogtreecommitdiffhomepage
path: root/patch/xrdb.c
diff options
context:
space:
mode:
authorbakkeby <[email protected]>2020-08-28 07:17:52 +0200
committerbakkeby <[email protected]>2020-08-28 07:17:52 +0200
commit82c3984b2d11dd543ec4738d7450abfc35347efd (patch)
tree072579ea391cddc34817ff660cfd9a132c983598 /patch/xrdb.c
parent0d743eddffe091acaa7d0737f86dd60775b95831 (diff)
downloaddwm-flexipatch-82c3984b2d11dd543ec4738d7450abfc35347efd.tar.gz
dwm-flexipatch-82c3984b2d11dd543ec4738d7450abfc35347efd.zip
Adding tdukv's addition to the status2d patch - allowing pywal to control the status colours via terminal colors
Diffstat (limited to 'patch/xrdb.c')
-rw-r--r--patch/xrdb.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/patch/xrdb.c b/patch/xrdb.c
index b1270d4..7718b49 100644
--- a/patch/xrdb.c
+++ b/patch/xrdb.c
@@ -83,6 +83,24 @@ loadxrdb()
XRDB_LOAD_COLOR("dwm.selSPRLbgcolor", selSPRLbgcolor);
XRDB_LOAD_COLOR("dwm.selfloatbgcolor", selfloatbgcolor);
#endif // BAR_FLEXWINTITLE_PATCH
+ #if BAR_STATUS2D_XRDB_TERMCOLORS_PATCH
+ XRDB_LOAD_COLOR("color0", termcol0);
+ XRDB_LOAD_COLOR("color1", termcol1);
+ XRDB_LOAD_COLOR("color2", termcol2);
+ XRDB_LOAD_COLOR("color3", termcol3);
+ XRDB_LOAD_COLOR("color4", termcol4);
+ XRDB_LOAD_COLOR("color5", termcol5);
+ XRDB_LOAD_COLOR("color6", termcol6);
+ XRDB_LOAD_COLOR("color7", termcol7);
+ XRDB_LOAD_COLOR("color8", termcol8);
+ XRDB_LOAD_COLOR("color9", termcol9);
+ XRDB_LOAD_COLOR("color10", termcol10);
+ XRDB_LOAD_COLOR("color11", termcol11);
+ XRDB_LOAD_COLOR("color12", termcol12);
+ XRDB_LOAD_COLOR("color13", termcol13);
+ XRDB_LOAD_COLOR("color14", termcol14);
+ XRDB_LOAD_COLOR("color15", termcol15);
+ #endif // BAR_STATUS2D_XRDB_TERMCOLORS_PATCH
}
}
}