diff options
Diffstat (limited to '.config/emacs/slock/config.def.h')
-rw-r--r-- | .config/emacs/slock/config.def.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/.config/emacs/slock/config.def.h b/.config/emacs/slock/config.def.h new file mode 100644 index 0000000..41133a8 --- /dev/null +++ b/.config/emacs/slock/config.def.h @@ -0,0 +1,12 @@ +/* user and group to drop privileges to */ +static const char *user = "nobody"; +static const char *group = "nobody"; + +static const char *colorname[NUMCOLS] = { + [INIT] = "black", /* after initialization */ + [INPUT] = "#404040", /* during input */ + [FAILED] = "#4d0000", /* wrong password */ +}; + +/* treat a cleared input like a wrong password (color) */ +static const int failonclear = 1; |