Add config.h - slock - glitch version of slock
HTML git clone https://git.drkhsh.at/slock.git
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 8c0cde219acb705ed18a94e1cb8db26496f61f9b
DIR parent 3cadf35e50b0e05191e901b29a992c99d7969948
HTML Author: drkhsh <me@drkhsh.at>
Date: Wed, 10 Jan 2024 10:27:47 +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;