slock with DPMS and other tweaks

clarify colors in config.def.h

+4 -4
+4 -4
config.def.h
··· 3 3 static const char *group = "nogroup"; 4 4 5 5 static const char *colorname[NUMCOLS] = { 6 - "black", /* after initialization */ 7 - "#005577", /* during input */ 8 - "#CC3333", /* wrong password */ 6 + [INIT] = "black", /* after initialization */ 7 + [INPUT] = "#005577", /* during input */ 8 + [FAILED] = "#CC3333", /* wrong password */ 9 9 }; 10 10 11 - /* treat a cleared input like a wrong password */ 11 + /* treat a cleared input like a wrong password (color) */ 12 12 static const int failonclear = 1;