1
0
Fork 0

init colors using SchemeLast

this makes it slightly easier to add colors to schemes.
This commit is contained in:
Hiltjo Posthuma 2017-11-03 21:05:29 +01:00
parent 64ab2801fb
commit 41379f7c39

View file

@ -553,9 +553,8 @@ setup(void)
#endif #endif
/* init appearance */ /* init appearance */
scheme[SchemeNorm] = drw_scm_create(drw, colors[SchemeNorm], 2); for (j = 0; j < SchemeLast; j++)
scheme[SchemeSel] = drw_scm_create(drw, colors[SchemeSel], 2); scheme[j] = drw_scm_create(drw, colors[j], 2);
scheme[SchemeOut] = drw_scm_create(drw, colors[SchemeOut], 2);
clip = XInternAtom(dpy, "CLIPBOARD", False); clip = XInternAtom(dpy, "CLIPBOARD", False);
utf8 = XInternAtom(dpy, "UTF8_STRING", False); utf8 = XInternAtom(dpy, "UTF8_STRING", False);