summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaumit Dinesan <justsaumit@protonmail.com>2022-03-09 13:54:49 +0530
committerSaumit Dinesan <justsaumit@protonmail.com>2022-10-07 04:38:18 +0530
commit5be37cd8e3028285a428e1f52ff0cd5801d91951 (patch)
tree3cc657055efaf6e5ba499977b4c195ec9a65a715
parent0eba267ce6654c3fdba967cfb60bf6f7d8c68ad9 (diff)
git cherry-pick 304146c with mergetool meld
-rw-r--r--dwm.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/dwm.c b/dwm.c
index 3fe76be..4fe3922 100644
--- a/dwm.c
+++ b/dwm.c
@@ -1054,13 +1054,22 @@ loadxrdb()
if (resm != NULL) {
xrdb = XrmGetStringDatabase(resm);
- if (xrdb != NULL) {
+ /* if (xrdb != NULL) {
XRDB_LOAD_COLOR("dwm.normbordercolor", normbordercolor);
XRDB_LOAD_COLOR("dwm.normbgcolor", normbgcolor);
XRDB_LOAD_COLOR("dwm.normfgcolor", normfgcolor);
XRDB_LOAD_COLOR("dwm.selbordercolor", selbordercolor);
XRDB_LOAD_COLOR("dwm.selbgcolor", selbgcolor);
XRDB_LOAD_COLOR("dwm.selfgcolor", selfgcolor);
+ }*/
+ /* for better colorschemes*/
+ if (xrdb != NULL) {
+ XRDB_LOAD_COLOR("dwm.color0", normbordercolor);
+ XRDB_LOAD_COLOR("dwm.color0", normbgcolor);
+ XRDB_LOAD_COLOR("dwm.color6", normfgcolor);
+ XRDB_LOAD_COLOR("dwm.color8", selbordercolor);
+ XRDB_LOAD_COLOR("dwm.color14", selbgcolor);
+ XRDB_LOAD_COLOR("dwm.color0", selfgcolor);
}
}
}