~kris/suckless

slock

ref: b099d2fd1868a5497069b85e5af0e6148077a6ba slock/config.def.h -rw-r--r-- 358 bytes
b099d2fd — FRIGN Use NUL character constant explicitly 9 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;