diff options
author | davidpkj <davidpenkow1@gmail.com> | 2022-05-28 22:10:09 +0200 |
---|---|---|
committer | davidpkj <davidpenkow1@gmail.com> | 2023-08-27 20:54:02 +0200 |
commit | 780ec9d1e4e450df2a24cbc517a5462257f5eefe (patch) | |
tree | d7965547dc14c47b41b996b504426c3c698f3569 /config.h | |
parent | 8c5a66db15f76c0fe156d4b2fc7c00f636092f20 (diff) |
slock now colored
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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; |