slock-nihal

slock with my colors
git clone git://nihaljere.xyz/slock-nihal
Log | Files | Refs | README | LICENSE

commit 3b49839c9726457a922309b1a3fdf14ee689c86d
parent 35633d45672d14bd798c478c45d1a17064701aa9
Author: Nihal Jere <nihal@debussy.localdomain>
Date:   Sun, 24 May 2020 13:53:55 -0500

added config.h

Diffstat:
Aconfig.h | 12++++++++++++
1 file changed, 12 insertions(+), 0 deletions(-)

diff --git a/config.h b/config.h @@ -0,0 +1,12 @@ +/* user and group to drop privileges to */ +static const char *user = "nihal"; +static const char *group = "nobody"; + +static const char *colorname[NUMCOLS] = { + [INIT] = "black", /* after initialization */ + [INPUT] = "#458588", /* during input */ + [FAILED] = "#CC3333", /* wrong password */ +}; + +/* treat a cleared input like a wrong password (color) */ +static const int failonclear = 0;