X-Git-Url: https://git.danieliu.xyz/?p=slock.git;a=blobdiff_plain;f=config.def.h;h=4bccb5da900f5a805890ac3f0b8c0eb44d45f6f4;hp=89e5977f99a86e3cd8c10132e0f88aa34b0ede77;hb=f2ea92c3ddf1d9476ef61f85ec3aa26818d094a1;hpb=a31b9191111572dafaa8366415b89a4472aa4626 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 */ +};