aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.h')
-rw-r--r--config.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/config.h b/config.h
index 81c909d..4e10c4d 100644
--- a/config.h
+++ b/config.h
@@ -8,6 +8,13 @@ static const char *colorname[NUMCOLS] = {
[FAILED] = "#CC3333", /* wrong password */
};
+/* XResources preferences to load at startup */
+ResourcePref resources[] = {
+ { "color0", STRING, &colorname[INIT] },
+ { "color1", STRING, &colorname[INPUT] },
+ { "color3", STRING, &colorname[FAILED] },
+};
+
/* treat a cleared input like a wrong password (color) */
static const int failonclear = 1;