diff options
| author | Charles Cabergs <me@cacharle.xyz> | 2020-08-10 14:04:29 +0200 |
|---|---|---|
| committer | Charles Cabergs <me@cacharle.xyz> | 2020-08-10 14:04:29 +0200 |
| commit | 7e1ae8bf92d08665a647422071e6d92a4aca3456 (patch) | |
| tree | c6278ad782a5fa7d1de31566e8b4a75e9faf6189 /slock | |
| parent | 1b1369ce79dcb6e1dcb8ba1bc21cf22220ef52fe (diff) | |
| parent | 5f97842b01d98c586d3b6bc0834ec6704a2b1d3a (diff) | |
| download | dotfiles-7e1ae8bf92d08665a647422071e6d92a4aca3456.tar.gz dotfiles-7e1ae8bf92d08665a647422071e6d92a4aca3456.tar.bz2 dotfiles-7e1ae8bf92d08665a647422071e6d92a4aca3456.zip | |
Merge branch 'carbon'
Diffstat (limited to 'slock')
| -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..a21b349 --- /dev/null +++ b/slock/config.def.h @@ -0,0 +1,12 @@ +/* user and group to drop privileges to */ +static const char *user = "charles"; +static const char *group = "wheel"; + +static const char *colorname[NUMCOLS] = { + [INIT] = "#003355", /* after initialization */ + [INPUT] = "#005577", /* during input */ + [FAILED] = "#CC3333", /* wrong password */ +}; + +/* treat a cleared input like a wrong password (color) */ +static const int failonclear = 1; |
