slock

[fork] screen locker
git clone https://hhvn.uk/slock
git clone git://hhvn.uk/slock
Log | Files | Refs | README | LICENSE

config.h (733B)


      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 	[INIT]   = "#050a10",	/* after initialization */
      7 	[INPUT]  = "#080d13",	/* during input */
      8 	[FAILED] = "#90222b",	/* wrong password */
      9 };
     10 
     11 /* treat a cleared input like a wrong password (color) */
     12 static const int failonclear = 0;
     13 
     14 /* default message */
     15 static const char *message = "Locked";
     16 
     17 /* text color */
     18 static const char *text_color = "#1e5eb1";
     19 
     20 /* text size (must be a valid size) */
     21 static const char *font_name = "-b&h-lucidatypewriter-medium-r-normal-sans-0-0-75-75-m-0-iso8859-15";
     22 
     23 /* seconds before monitor shuts off */
     24 static const int monitortime = 15;