load typical color names

This commit is contained in:
Luke Smith 2019-12-18 13:54:53 -05:00
parent 0df3f54f31
commit e2aeb53506
No known key found for this signature in database
GPG key ID: 4C50B54A911F6252

12
dwm.c
View file

@ -1127,12 +1127,12 @@ loadxrdb()
xrdb = XrmGetStringDatabase(resm); xrdb = XrmGetStringDatabase(resm);
if (xrdb != NULL) { if (xrdb != NULL) {
XRDB_LOAD_COLOR("dwm.normbordercolor", normbordercolor); XRDB_LOAD_COLOR("dwm.color0", normbordercolor);
XRDB_LOAD_COLOR("dwm.normbgcolor", normbgcolor); XRDB_LOAD_COLOR("dwm.color8", selbordercolor);
XRDB_LOAD_COLOR("dwm.normfgcolor", normfgcolor); XRDB_LOAD_COLOR("dwm.color0", normbgcolor);
XRDB_LOAD_COLOR("dwm.selbordercolor", selbordercolor); XRDB_LOAD_COLOR("dwm.color6", normfgcolor);
XRDB_LOAD_COLOR("dwm.selbgcolor", selbgcolor); XRDB_LOAD_COLOR("dwm.color0", selfgcolor);
XRDB_LOAD_COLOR("dwm.selfgcolor", selfgcolor); XRDB_LOAD_COLOR("dwm.color14", selbgcolor);
} }
} }
} }