slock

My build of slock (suckless display locker)
git clone https://git.regexghost.com/slock.git
Log | Files | Refs | README | LICENSE

config.def.h (936B)


      1 /* user and group to drop privileges to */
      2 static const char *user  = "ghost";
      3 static const char *group = "ghost";
      4 
      5 static const char *colorname[NUMCOLS] = {
      6 	[INIT] =   "black",     /* after initialization */
      7 	[INPUT] =  "#005577",   /* during input */
      8 	[FAILED] = "#CC3333",   /* wrong password */
      9 };
     10 
     11 /* treat a cleared input like a wrong password (color) */
     12 static const int failonclear = 1;
     13 
     14 /* enable or disable (1 means enable, 0 disable) bell sound when password is incorrect */
     15 static const int xbell = 0;
     16 
     17 /* Background image path, should be available to the user above */
     18 static const char* background_image = "/home/ghost/.config/regexghost/lockscreen-bg.jpg";
     19 
     20 static const char *imgpath          = "/home/ghost/.config/regexghost/lockscreen-fg.xpm";
     21 static const int imgwidth           = 256;
     22 static const int imgheight          = 256;
     23 static const int imgoffsetx         = 832;
     24 static const int imgoffsety         = 412;