X-Git-Url: https://git.xinqibao.xyz/slock.git/blobdiff_plain/44ce161c139f74cac80dd77aafdfadb49a85af2a..e867c38123175d6f050e051ee6b00f4737a9712a:/config.def.h diff --git a/config.def.h b/config.def.h index 89e5977..fca0ae0 100644 --- a/config.def.h +++ b/config.def.h @@ -1,2 +1,6 @@ -#define COLOR1 "black" -#define COLOR2 "#005577" +static const char *colorname[NUMCOLS] = { + "black", /* after initialization */ + "#005577", /* during input */ + "#CC3333", /* failed/cleared the input */ +}; +static const Bool failonclear = True;