Squashed 'suckless/slock/' content from commit 65cb721

git-subtree-dir: suckless/slock
git-subtree-split: 65cb721c9eb7b5d80267378790dee93e9db0223c
This commit is contained in:
Alejandro Guerrero 2026-09-27 17:52:02 +02:00
commit 9586e3bdb0
9 changed files with 575 additions and 0 deletions

12
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;