diff options
| author | Andrew Guschin <saintruler@gmail.com> | 2021-09-02 23:45:56 +0400 |
|---|---|---|
| committer | Andrew Guschin <saintruler@gmail.com> | 2021-09-02 23:45:56 +0400 |
| commit | 14068dfebb01001cb732866235df96f84ffb6d82 (patch) | |
| tree | 189e7a1defddb64be8db1cda9eb79aeffc8c71d8 /config.h | |
| parent | ec94f1e8f8a9ef263ff1be098901d1708be4804d (diff) | |
Diffstat (limited to 'config.h')
| -rw-r--r-- | config.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/config.h b/config.h new file mode 100644 index 0000000..805b0ea --- /dev/null +++ b/config.h @@ -0,0 +1,25 @@ +/* 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] = "#005577", /* during input */ + [FAILED] = "#CC3333", /* wrong password */ +}; + +/* treat a cleared input like a wrong password (color) */ +static const int failonclear = 1; + +/* time in seconds before the monitor shuts down */ +static const int monitortime = 5; + +/* 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-dejavu sans mono-medium-o-normal--0-0-0-0-m-0-iso8859-1"; +static const char * font_name = "-misc-dejavu sans mono-medium-r-normal--0-0-0-0-m-0-iso8859-1"; |