diff options
| author | Charles <sircharlesaze@gmail.com> | 2020-06-25 14:39:59 +0200 |
|---|---|---|
| committer | Charles <sircharlesaze@gmail.com> | 2020-06-25 14:39:59 +0200 |
| commit | 0b92f0fe457fb541642192a02c117474e9771578 (patch) | |
| tree | 4104959d9bce03c393c9fcd057aa75ac25d89f8f /slock | |
| parent | d2d092335ac8bd9076f46128efec4de70bc49640 (diff) | |
| download | dotfiles-0b92f0fe457fb541642192a02c117474e9771578.tar.gz dotfiles-0b92f0fe457fb541642192a02c117474e9771578.tar.bz2 dotfiles-0b92f0fe457fb541642192a02c117474e9771578.zip | |
Added slock color, merged master
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; |
