2023-12-05 12:08:37 +09:00
|
|
|
#include "global.h"
|
|
|
|
|
2023-12-05 12:30:50 +09:00
|
|
|
static const char wallpaper[] = "/home/suwako/.local/share/wallpapers/8ffe33a4a3459c39bcd0a11a528a3785-";
|
2023-12-05 12:08:37 +09:00
|
|
|
static const char ext[] = ".jpg";
|
|
|
|
extern char bgimg[200];
|
|
|
|
|
|
|
|
#if MYPC == DESKTOP
|
|
|
|
static const char resolution[] = "1080";
|
|
|
|
#elif MYPC == X200
|
|
|
|
static const char resolution[] = "900";
|
|
|
|
#elif MYPC == T400
|
|
|
|
static const char resolution[] = "800";
|
|
|
|
#elif MYPC == X250 || MYPC == S130
|
|
|
|
static const char resolution[] = "768";
|
|
|
|
#elif MYPC == T43
|
|
|
|
static const char resolution[] = "1050";
|
|
|
|
#elif MYPC == PINEPHONE
|
|
|
|
static const char resolution[] = "1280";
|
|
|
|
#endif
|
2016-09-07 20:32:29 +09:00
|
|
|
|
2015-02-12 07:56:35 +09:00
|
|
|
static const char *colorname[NUMCOLS] = {
|
2016-11-20 08:29:41 +09:00
|
|
|
[INIT] = "black", /* after initialization */
|
|
|
|
[INPUT] = "#005577", /* during input */
|
|
|
|
[FAILED] = "#CC3333", /* wrong password */
|
2015-02-12 07:56:35 +09:00
|
|
|
};
|
2016-02-14 09:32:02 +09:00
|
|
|
|
2016-11-20 08:29:41 +09:00
|
|
|
/* treat a cleared input like a wrong password (color) */
|
2016-02-14 09:32:02 +09:00
|
|
|
static const int failonclear = 1;
|