slock

simple X display locker utility

git clone https://9o.is/git/slock.git

commit 78a0197635d659b3fdddb5f3bde596fa511fa06f
parent 9f13959238d0fc35150a555fe030392e4e5d85c5
Author: Markus Teich <markus.teich@stusta.mhn.de>
Date:   Sun, 20 Nov 2016 00:29:41 +0100

clarify colors in config.def.h

Diffstat:
Mconfig.def.h | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/config.def.h b/config.def.h @@ -3,10 +3,10 @@ static const char *user = "nobody"; static const char *group = "nogroup"; static const char *colorname[NUMCOLS] = { - "black", /* after initialization */ - "#005577", /* during input */ - "#CC3333", /* wrong password */ + [INIT] = "black", /* after initialization */ + [INPUT] = "#005577", /* during input */ + [FAILED] = "#CC3333", /* wrong password */ }; -/* treat a cleared input like a wrong password */ +/* treat a cleared input like a wrong password (color) */ static const int failonclear = 1;