X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=config.def.h;h=fca0ae0aaf96d50a157d98743abf3ac44cf91e38;hb=754195f8d75586e23d1cc69cad00710802e0cb5d;hp=89e5977f99a86e3cd8c10132e0f88aa34b0ede77;hpb=44ce161c139f74cac80dd77aafdfadb49a85af2a;p=slock.git 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;