confix/nixos/patches/slock/config.h

13 lines
399 B
C

/* user and group to drop privileges to */
static const char *user = "nobody";
static const char *group = "nogroup";
static const char *colorname[NUMCOLS] = {
[INIT] = "black", /* after initialization */
[INPUT] = "#bd93f9", /* during input */
[FAILED] = "#ff5555", /* wrong password */
};
/* treat a cleared input like a wrong password (color) */
static const int failonclear = 1;