~kris/suckless

slock

ref: 22eba05f3683c12fa6a5f898d08c33704c9fbb73 slock/config.def.h -rw-r--r-- 358 bytes
22eba05f — FRIGN Ensure Polyphemus-Mitigation and properly drop privileges 10 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
/* user and group to drop privileges to */
static const char *user  = "nobody";
static const char *group = "nogroup";

static const char *colorname[NUMCOLS] = {
	"black",     /* after initialization */
	"#005577",   /* during input */
	"#CC3333",   /* wrong password */
};

/* treat a cleared input like a wrong password */
static const int failonclear = 1;