summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaumit Dinesan <justsaumit@protonmail.com>2022-03-09 13:54:49 +0530
committerSaumit Dinesan <justsaumit@protonmail.com>2022-03-09 13:54:49 +0530
commit304146c1791bcab4c4c086a8b2ab9a6207c003a4 (patch)
treefdbb16c5548161eb5dea8b7a347a2f3c716eb8f5
parent202dcec98b838c0b729e95993bf38834cf3ea2fc (diff)
changes in dwm.c for better colorschemes
-rwxr-xr-xdwmbin66288 -> 66288 bytes
-rw-r--r--dwm.c11
-rw-r--r--dwm.obin60464 -> 60336 bytes
3 files changed, 10 insertions, 1 deletions
diff --git a/dwm b/dwm
index 88be36f..090ffe1 100755
--- a/dwm
+++ b/dwm
Binary files differ
diff --git a/dwm.c b/dwm.c
index 0f58c6d..883aac2 100644
--- a/dwm.c
+++ b/dwm.c
@@ -1053,13 +1053,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);
}
}
}
diff --git a/dwm.o b/dwm.o
index 6454f4e..e736750 100644
--- a/dwm.o
+++ b/dwm.o
Binary files differ