/* user and group to drop privileges to */ static const char *user = "nobody"; static const char *group = "nogroup"; // use "nobody" for arch static const char *colorname[NUMCOLS] = { [INIT] = "black", /* after initialization */ [INPUT] = "#005577", /* during input */ [FAILED] = "#CC3333", /* wrong password */ [CAPS] = "red", /* CapsLock on */ [BLOCKS] = "#ffffff", /* key feedback block */ }; /* * Xresources preferences to load at startup */ ResourcePref resources[] = { { "locked", STRING, &colorname[INIT] }, { "input", STRING, &colorname[INPUT] }, { "failed", STRING, &colorname[FAILED] }, { "capslock", STRING, &colorname[CAPS] }, }; /* treat a cleared input like a wrong password (color) */ static const int failonclear = 1; /* time in seconds before the monitor shuts down */ static const int monitortime = 5; static short int blocks_enabled = 1; // 0 = don't show blocks static const int blocks_width = 0; // 0 = full width static const int blocks_height = 16; // position static const int blocks_x = 0; static const int blocks_y = 0; // Number of blocks static const int blocks_count = 10; /* time in seconds to cancel lock with mouse movement */ static const int timetocancel = 4;