This commit is contained in:
Alejandro Guerrero 2026-09-25 10:54:33 +02:00
commit 643d7ca2bb
9 changed files with 575 additions and 0 deletions

12
slock/config.def.h Normal file
View file

@ -0,0 +1,12 @@
/* user and group to drop privileges to */
static const char *user = "nobody";
static const char *group = "nogroup";
static const char *colorname[NUMCOLS] = {
[INIT] = "black", /* after initialization */
[INPUT] = "#005577", /* during input */
[FAILED] = "#CC3333", /* wrong password */
};
/* treat a cleared input like a wrong password (color) */
static const int failonclear = 1;