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