~kris/suckless

slock

ref: 04143fd68dbc656905714eff5c208fadb3464e25 slock/config.def.h -rw-r--r-- 239 bytes
04143fd6 — Quentin Rameau Unify how we check passwords between different OSes 10 years ago
                                                                                
1
2
3
4
5
6
7
8
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;