diff options
| author | auric <auric7@protonmail.com> | 2025-09-08 21:07:26 -0500 |
|---|---|---|
| committer | auric <auric7@protonmail.com> | 2025-09-08 21:07:26 -0500 |
| commit | 3c8ea5c51cedd14964cc7b9b82ee24c523ac2e4b (patch) | |
| tree | b9053d85ac74626166c1ee8f60550102eef8e74a /slock/config.h | |
| parent | 9e10c2714cd159ce953155225cbe2ecc6810bd7f (diff) | |
| parent | e2ec2e4acbf07da282c7ce4d4370ed1a83e11e70 (diff) | |
Approve PR
Diffstat (limited to 'slock/config.h')
| -rw-r--r-- | slock/config.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/slock/config.h b/slock/config.h new file mode 100644 index 0000000..9855e21 --- /dev/null +++ b/slock/config.h @@ -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; |
