From 3e2654a33d8b1124f30b0b76bff07ad9dae81408 Mon Sep 17 00:00:00 2001 From: Nikita Langer Date: Mon, 6 Apr 2026 22:12:19 +0200 Subject: initial --- config.def.h | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 config.def.h (limited to 'config.def.h') diff --git a/config.def.h b/config.def.h new file mode 100644 index 0000000..5302b8c --- /dev/null +++ b/config.def.h @@ -0,0 +1,52 @@ +#ifdef _laptopp +#define laptop(...) __VA_ARGS__ +#define komputer(...) +#endif + +#ifdef _komputer +#define komputer(...) __VA_ARGS__ +#define laptop(...) +#endif + +/* user and group to drop privileges to */ +static const char *user = "nobody"; +komputer( +static const char *group = "nobody"; +) +laptop( +static const char *group = "nogroup"; +) + +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; + +/* default message */ +static const char * message = "Suckless: Software that sucks less."; + +/* text color */ +static const char * text_color = "#ffffff"; + +/* text size (must be a valid size) */ +// static const char * font_name = "-misc-fixed-medium-r-semicondensed--13-100-100-100-c-60-iso8859-1"; +// static const char * font_name = "-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1"; +static const char * font_name = "6x13"; +// static const char * font_name = "cursor"; +// static const char * font_name = "fixed"; +// static const char * font_name = "-misc-fixed-medium-r-semicondensed--0-0-75-75-c-0-iso8859-1"; + +/* + * slock -f : + * + * -misc-fixed-medium-r-semicondensed--13-100-100-100-c-60-iso8859-1 + * -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1 + * 6x13 + * cursor + * fixed + * -misc-fixed-medium-r-semicondensed--0-0-75-75-c-0-iso8859-1 +*/ -- cgit