config.def.h (1362B)
1 /* user and group to drop privileges to */ 2 static const char *user = "nobody"; 3 static const char *group = "nogroup"; 4 5 static const char *colorname[NUMCOLS] = { 6 [BACKGROUND] = "white", 7 [INIT] = "2d2d2d", /* after initialization */ 8 [INPUT] = "#83A598", /* during input */ 9 [FAILED] = "#CC241D", /* wrong password */ 10 }; 11 12 /* treat a cleared input like a wrong password (color) */ 13 static const int failonclear = 1; 14 15 16 /* Patch: auto-timeout */ 17 /* should [command] be run only once? */ 18 static const int runonce = 0; 19 /* length of time (seconds) until [command] is executed */ 20 static const int timeoffset = 30; 21 /* command to be run after [timeoffset] seconds has passed */ 22 static const char *command = "/usr/bin/xset dpms force off"; 23 24 static const int logosize = 75; 25 static const int logow = 12; /* Grid width and height for right center alignment*/ 26 static const int logoh = 6; 27 28 static XRectangle rectangles[9] = { 29 {0, 3, 1, 3}, 30 {1, 3, 2, 1}, 31 {0, 5, 8, 1}, 32 {3, 0, 1, 5}, 33 {5, 3, 1, 2}, 34 {7, 3, 1, 2}, 35 {8, 3, 4, 1}, 36 {9, 4, 1, 2}, 37 {11,4, 1, 2}, 38 }; 39 40 /*Enable blur*/ 41 #define BLUR 42 /*Set blur radius*/ 43 static const int blurRadius=5; 44 /*Enable Pixelation*/ 45 //#define PIXELATION 46 /*Set pixelation radius*/ 47 static const int pixelSize=0; 48 49 /* allow control key to trigger fail on clear */ 50 static const int controlkeyclear = 1; 51