Add config.h - slock - My fancy fork of slock
HTML git clone git://git.drkhsh.at/slock.git
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit b81fe9688f279de629caf93cedffa702045965e2
DIR parent b1b272fbda9f2a0808bdba5d80850f6014316a34
HTML Author: drkhsh <me@drkhsh.at>
Date: Sat, 7 Jan 2023 02:44:43 +0100
Add config.h
Diffstat:
A config.h | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+), 0 deletions(-)
---
DIR diff --git a/config.h b/config.h
@@ -0,0 +1,21 @@
+/* user and group to drop privileges to */
+static const char *user = "nobody";
+static const char *group = "nobody";
+
+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;
+
+/*Enable blur*/
+//#define BLUR
+/*Set blur radius*/
+static const int blurRadius=5;
+/*Enable Pixelation*/
+#define PIXELATION
+/*Set pixelation radius*/
+static const int pixelSize=5;