From 569fc7aeef896e0ba1883702b475631a581f5449 Mon Sep 17 00:00:00 2001 From: Marcel Screm Date: Mon, 5 Jan 2026 23:01:34 +0100 Subject: added xresources patch --- config.h | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'config.h') diff --git a/config.h b/config.h index 8bb9326..bc76219 100755 --- a/config.h +++ b/config.h @@ -3,15 +3,24 @@ static const char *user = "nobody"; static const char *group = "nogroup"; static const char *colorname[NUMCOLS] = { - [BACKGROUND] = "#2E3440", - [INIT] = "#616E88", /* after initialization */ - [INPUT] = "#ECEFF4", /* during input */ - [FAILED] = "#bf616a", /* wrong password */ + [BACKGROUND] = "black", + [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; +/* + * Xresources preferences to load at startup + */ +ResourcePref resources[] = { + { "color0", STRING, &colorname[INIT] }, + { "color4", STRING, &colorname[INPUT] }, + { "color1", STRING, &colorname[FAILED] }, +}; + /* dwm logo */ static const int logosize = 75; static const int logow = 12; -- cgit v1.2.3