From b23ab3e35d87d8ed8ddc8ae93aba4d5aa2d3adfe Mon Sep 17 00:00:00 2001 From: alejandrogs73 Date: Fri, 25 Sep 2026 10:56:21 +0200 Subject: [PATCH] slock: colores Everforest Co-Authored-By: Claude Opus 5.5 --- slock/config.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 slock/config.h diff --git a/slock/config.h b/slock/config.h new file mode 100644 index 0000000..fd5a3b0 --- /dev/null +++ b/slock/config.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] = "#2d353b", /* after initialization (fondo Everforest) */ + [INPUT] = "#a7c080", /* during input (verde acento) */ + [FAILED] = "#e67e80", /* wrong password (rojo Everforest) */ +}; + +/* treat a cleared input like a wrong password (color) */ +static const int failonclear = 1;