commit 9d3a32eb875382794750caaf1cd8afacee5b1d78
parent 298479717ce94b3555e0579d616a1b9e200d0dcf
Author: Ed van Bruggen <edvb54@gmail.com>
Date: Wed, 23 Nov 2016 19:22:42 -0800
Config.h: Update slock to newest version
Diffstat:
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/config.h/slock.config.h b/config.h/slock.config.h
@@ -1,8 +1,12 @@
+/* user and group to drop privileges to */
+static const char *user = "nobody";
+static const char *group = "nogroup";
+
static const char *colorname[NUMCOLS] = {
- "#002b36", /* after initialization */
- "#268bd2", /* during input */
- "#dc322f", /* wrong password */
+ [INIT] = "#002b36", /* after initialization */
+ [INPUT] = "#268bd2", /* during input */
+ [FAILED] = "#dc322f", /* wrong password */
};
-/* treat a cleared input like a wrong password */
+/* treat a cleared input like a wrong password (color) */
static const int failonclear = 0;