slock

My slock fork
git clone https://git.kausban.com/slock/raw/.git
Log | Files | Refs | README

config.h (780B)


      1 
      2 /* user and group to drop privileges to */
      3 static const char *user  = "lamdacore";
      4 static const char *group = "lamdacore";
      5 
      6 static const char *colorname[NUMCOLS] = {
      7 	[INIT] =   "black",     /* after initialization */
      8 	[INPUT] =  "#005577",   /* during input */
      9 	[FAILED] = "#CC3333",   /* wrong password */
     10 	[PAM] =    "#C87137",   /* waiting for PAM */
     11 };
     12 
     13 /* treat a cleared input like a wrong password (color) */
     14 static const int failonclear = 1;
     15 
     16 /* PAM service that's used for authentication */
     17 static const char* pam_service = "login";
     18 
     19 /* default message */
     20 static const char * message = "Suckless: Software that sucks less.";
     21 
     22 /* text color */
     23 static const char * text_color = "#ffffff";
     24 
     25 /* text size (must be a valid size) */
     26 static const char * font_name = "fixed";
     27