dotfiles

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit e2487ab56af2db528b6437155bb9a710ce2187e1
parent 92eecd36c58c5700db33dcf6ec2b54adcb470edf
Author: Janis Pagel <janis.pagel@ims.uni-stuttgart.de>
Date:   Sun, 15 Jul 2018 12:53:31 +0200

Add slock config

Diffstat:
Asuckless/slock/config.h | 12++++++++++++
1 file changed, 12 insertions(+), 0 deletions(-)

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