summaryrefslogtreecommitdiff
path: root/slock/config.h
diff options
context:
space:
mode:
authordcc <dcc@logografos.com>2023-05-27 21:45:28 -0700
committerdcc <dcc@logografos.com>2023-05-27 21:45:28 -0700
commitbd4e72743ca24c0c380c221a6bc7376da1911f7e (patch)
tree192b6af99d8ef0d28ffa8a64504ceab77776bb26 /slock/config.h
downloaddcc-suckless-config-bd4e72743ca24c0c380c221a6bc7376da1911f7e.tar.gz
dcc-suckless-config-bd4e72743ca24c0c380c221a6bc7376da1911f7e.tar.bz2
dcc-suckless-config-bd4e72743ca24c0c380c221a6bc7376da1911f7e.zip
first
Diffstat (limited to 'slock/config.h')
-rwxr-xr-xslock/config.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/slock/config.h b/slock/config.h
new file mode 100755
index 0000000..4c73bb4
--- /dev/null
+++ b/slock/config.h
@@ -0,0 +1,21 @@
+/* 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] = "red", /* 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 = "6x10";