slock

my slock config
git clone git://shroom.party/slock.git
Log | Files | Refs | README | LICENSE

commit 4e137577b259b87ed8074f3fae3d38b2386e38e5
parent da9d66ce6a1a2bea7c1977bef6aa2ba6e6ecb272
Author: tx <trqx@goat.si>
Date:   Wed,  5 Dec 2018 12:28:38 +0100

add config

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

diff --git a/config.h b/config.h @@ -0,0 +1,21 @@ +/* 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] = "#A3BE8C", /* during input */ + [FAILED] = "#B48EAD", /* wrong password */ +}; + +/* treat a cleared input like a wrong password (color) */ +static const int failonclear = 1; + +/* default message */ +static const char * message = "L0CK3D"; + +/* text color */ +static const char * text_color = "#FFFFFF"; + +/* text size (must be a valid size) */ +static const char * text_size = "6x10";