Compare commits

...

1 commit

Author SHA1 Message Date
54e961af6b
Initial configuring 2024-08-22 18:00:26 +03:00
2 changed files with 14 additions and 0 deletions

2
.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
*.o
/slock

12
config.h Normal file
View file

@ -0,0 +1,12 @@
/* user and group to drop privileges to */
static const char *user = "nobody";
static const char *group = "nogroup";
static const char *colorname[NUMCOLS] = {
[INIT] = "black", /* after initialization */
[INPUT] = "#ffc000", /* during input */
[FAILED] = "#ff0000", /* wrong password */
};
/* treat a cleared input like a wrong password (color) */
static const int failonclear = 1;