summaryrefslogtreecommitdiff
path: root/slock/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'slock/config.h')
-rw-r--r--slock/config.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/slock/config.h b/slock/config.h
new file mode 100644
index 0000000..ba25888
--- /dev/null
+++ b/slock/config.h
@@ -0,0 +1,12 @@
+/* user and group to drop privileges to */
+static const char *user = "nobody";
+static const char *group = "nogroup";
+
+static const char *colorname[NUMCOLS] = {
+ [INIT] = "#191919", /* after initialization */
+ [INPUT] = "#282a2e", /* during input */
+ [FAILED] = "#cc6666", /* wrong password */
+};
+
+/* treat a cleared input like a wrong password (color) */
+static const int failonclear = 1;