~kris/suckless

slock

ref: a98fba8971ab4b8d8b1f18422b808a79434d8923 slock/config.def.h -rw-r--r-- 358 bytes
a98fba89 — Markus Teich error out early on crypt() fail 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;