diff options
author | bd <bdunahu@gmail.com> | 2023-12-25 22:22:24 -0700 |
---|---|---|
committer | bd <bdunahu@gmail.com> | 2023-12-25 22:22:24 -0700 |
commit | a7af6aa11b3980eae5ddfcc46c74347534c343dd (patch) | |
tree | 11331fc6c19261e74bdf4196a63238316b941f1d /.config/emacs/slock |
Initial dotfiles commit.
Diffstat (limited to '.config/emacs/slock')
-rw-r--r-- | .config/emacs/slock/config.def.h | 12 | ||||
l--------- | .config/emacs/slock/config.h | 1 |
2 files changed, 13 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; diff --git a/.config/emacs/slock/config.h b/.config/emacs/slock/config.h new file mode 120000 index 0000000..c6d6219 --- /dev/null +++ b/.config/emacs/slock/config.h @@ -0,0 +1 @@ +config.def.h
\ No newline at end of file |