slock with DPMS and other tweaks
at master 12 lines 399 B view raw
1/* user and group to drop privileges to */ 2static const char *user = "nobody"; 3static const char *group = "nogroup"; 4 5static const char *colorname[NUMCOLS] = { 6 [INIT] = "black", /* after initialization */ 7 [INPUT] = "#005577", /* during input */ 8 [FAILED] = "#CC3333", /* wrong password */ 9}; 10 11/* treat a cleared input like a wrong password (color) */ 12static const int failonclear = 1;