~kris/suckless

slock

ref: a55594fdd69fcfcc10b8c9624d5aba298969d713 slock/config.def.h -rw-r--r-- 239 bytes
a55594fd — Markus Teich increasing for loops are idiomatic 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;