diff options
| author | kj-sh604 | 2024-06-30 07:12:18 -0400 |
|---|---|---|
| committer | kj-sh604 | 2024-06-30 07:12:18 -0400 |
| commit | 563f062c439396cf25f0d0f0c27cea6af8571306 (patch) | |
| tree | 38d5826191793ee2e940df49bf7011a44d3dd039 /slock/config.def.h | |
| parent | 4845a54b10b72987d5cf085dabccfc77de1f29d7 (diff) | |
kj-gitbot: slock/
Diffstat (limited to 'slock/config.def.h')
| -rw-r--r-- | slock/config.def.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/slock/config.def.h b/slock/config.def.h new file mode 100644 index 0000000..17a9fe6 --- /dev/null +++ b/slock/config.def.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] = "#303030", /* after initialization */ + [INPUT] = "#11427E", /* during input */ + [FAILED] = "#7d4c10", /* wrong password */ +}; + +/* treat a cleared input like a wrong password (color) */ +static const int failonclear = 1; |
