~kris/suckless

slock

ref: dc2e8e839e4d72f5fec36c9a0474e6062a7a8f51 slock/config.def.h -rw-r--r-- 358 bytes
dc2e8e83 — FRIGN Stop using $USER for shadow entries 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;