commit df528c3143449e62f5621c107e0ded8f3d13a475
parent 4f045545a25cc02c64bfc08d27ed2ccecb962292
Author: Robert Russell <robertrussell.72001@gmail.com>
Date: Wed, 6 Sep 2023 14:21:46 -0700
rr3: custom changes
Diffstat:
2 files changed, 14 insertions(+), 2 deletions(-)
diff --git a/config.h b/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] = "black", /* after initialization */
+ [INPUT] = "#126912", /* during input */
+ [FAILED] = "#691212", /* wrong password */
+};
+
+/* treat a cleared input like a wrong password (color) */
+static const int failonclear = 0;
diff --git a/config.mk b/config.mk
@@ -7,8 +7,8 @@ VERSION = 1.5
PREFIX = /usr/local
MANPREFIX = ${PREFIX}/share/man
-X11INC = /usr/X11R6/include
-X11LIB = /usr/X11R6/lib
+X11INC = /usr/include
+X11LIB = /usr/lib
# includes and libs
INCS = -I. -I/usr/include -I${X11INC}