From 16d45c32c20d7b3db8ba2533ca9d414d8cd308f2 Mon Sep 17 00:00:00 2001 From: Shubham Saini Date: Sat, 16 May 2020 23:13:31 +0530 Subject: gone full suckless --- slock/config.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 slock/config.h (limited to 'slock/config.h') diff --git a/slock/config.h b/slock/config.h new file mode 100644 index 0000000..6f12b0d --- /dev/null +++ b/slock/config.h @@ -0,0 +1,24 @@ +/* user and group to drop privileges to */ +static const char *user = "nobody"; +static const char *group = "nogroup"; + +static const char *colorname[NUMCOLS] = { + [INIT] = "black", /* after initialization */ + [INPUT] = "black", /* during input */ + [FAILED] = "#CC3333", /* wrong password */ +}; + +/* treat a cleared input like a wrong password (color) */ +static const int failonclear = 1; + +/* default message */ +static const char * message = "Locked"; + +/* text color */ +static const char * text_color = "#a8fffe"; + +/* text size (must be a valid size) */ +static const char * font_name = "fixed"; + +/* time in seconds before the monitor shuts down */ +static const int monitortime = 5; -- cgit v1.2.3