summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrafa_99 <rafa99@protonmail.com>2019-10-06 17:43:00 +0000
committerrafa_99 <rafa99@protonmail.com>2019-10-06 17:43:00 +0000
commita25a8961e882752a763e63a8641dceb9881daf4e (patch)
treea04444b87d475d24e566b16f7e68219e884f2877
parent35633d45672d14bd798c478c45d1a17064701aa9 (diff)
Added Custom Config and Logo
-rw-r--r--config.h15
-rw-r--r--logo.pngbin0 -> 37120 bytes
2 files changed, 15 insertions, 0 deletions
diff --git a/config.h b/config.h
new file mode 100644
index 0000000..2c1bee0
--- /dev/null
+++ b/config.h
@@ -0,0 +1,15 @@
+/* user and group to drop privileges to */
+static const char *user = "nobody";
+static const char *group = "wheel";
+
+static const char *colorname[NUMCOLS] = {
+ [INIT] = "grey", /* 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 to cancel lock with mouse movement in seconds */
+static const int timetocancel = 3;
diff --git a/logo.png b/logo.png
new file mode 100644
index 0000000..70d94e2
--- /dev/null
+++ b/logo.png
Binary files differ