slock

Simple X display locker (fork)
git clone https://git.sinitax.com/sinitax/slock
Log | Files | Refs | README | LICENSE | Upstream | sfeed.txt

config.def.h (1011B)


      1/* user and group to drop privileges to */
      2static const char *user  = "nobody";
      3static const char *group = "nogroup";
      4
      5static const char *colorname[NUMCOLS] = {
      6	[INIT] =   "black",     /* after initialization */
      7	[INPUT] =  "#005577",   /* during input */
      8	[FAILED] = "#CC3333",   /* wrong password */
      9};
     10
     11/* allow control key to trigger fail on clear */
     12static const int controlkeyclear = 0;
     13
     14/* time in seconds before the monitor shuts down */
     15static const int monitortime = 30;
     16
     17/* default message */
     18static const char * lock_message = "locked.";
     19
     20/* text color */
     21static const char * text_fg_color = "#fff";
     22static const char * text_bg_color = "#f00";
     23
     24/* text size (must be a valid size) */
     25static const char * font_name = "fixed";
     26
     27/* treat a cleared input like a wrong password (color) */
     28static const int failonclear = 1;
     29
     30/*Enable blur*/
     31#define BLUR
     32/*Set blur radius*/
     33static const int blurRadius=5;
     34/*Enable Pixelation*/
     35//#define PIXELATION
     36/*Set pixelation radius*/
     37static const int pixelSize=0;