slock

fork of slock
git clone git://popovic.xyz/slock.git
Log | Files | Refs | README | LICENSE

config.def.h.orig (1027B)


      1 /* user and group to drop privileges to */
      2 static const char *user  = "mika";
      3 static const char *group = "mika";
      4 
      5 static const char *colorname[NUMCOLS] = {
      6     [BACKGROUND] = "white",
      7 	[INIT] =   "2d2d2d",     /* after initialization */
      8 	[INPUT] =  "#005577",   /* during input */
      9 	[FAILED] = "#CC3333",   /* wrong password */
     10 	[CAPS] = "red",         /* CapsLock on */
     11 };
     12 
     13 /* treat a cleared input like a wrong password (color) */
     14 static const int failonclear = 1;
     15 
     16 static const int monitortime = 5;
     17 
     18 static const int logosize = 75;
     19 static const int logow = 12; /* Grid width and height for right center alignment*/
     20 static const int logoh = 6;
     21 
     22 static XRectangle rectangles[9] = {
     23     {0, 3, 1, 3},
     24     {1, 3, 2, 1},
     25     {0, 5, 8, 1},
     26     {3, 0, 1, 5},
     27     {5, 3, 1, 2},
     28     {7, 3, 1, 2},
     29     {8, 3, 4, 1},
     30     {9, 4, 1, 2},
     31     {11,4, 1, 2},
     32 };
     33 
     34 /*Enable blur*/
     35 #define BLUR
     36 /*Set blur radius*/
     37 static const int blurRadius=5;
     38 /*Enable Pixelation*/
     39 //#define PIXELATION
     40 /*Set pixelation radius*/
     41 static const int pixelSize=0;