diff --git a/dmenu.c b/dmenu.c index bc4ebfc..7174098 100644 --- a/dmenu.c +++ b/dmenu.c @@ -894,9 +894,9 @@ read_Xresources(void) { fonts[0] = strdup(xval.addr); if (XrmGetResource(xdb, "dmenu.color0", "*", &type, &xval) == True) /* normal background color */ colors[SchemeNorm][ColBg] = strdup(xval.addr); - if (XrmGetResource(xdb, "dmenu.color7", "*", &type, &xval) == True) /* normal foreground color */ + if (XrmGetResource(xdb, "dmenu.color4", "*", &type, &xval) == True) /* normal foreground color */ colors[SchemeNorm][ColFg] = strdup(xval.addr); - if (XrmGetResource(xdb, "dmenu.color6", "*", &type, &xval) == True) /* selected background color */ + if (XrmGetResource(xdb, "dmenu.color4", "*", &type, &xval) == True) /* selected background color */ colors[SchemeSel][ColBg] = strdup(xval.addr); if (XrmGetResource(xdb, "dmenu.color0", "*", &type, &xval) == True) /* selected foreground color */ colors[SchemeSel][ColFg] = strdup(xval.addr);