Compare commits
1 commit
upstream
...
jakeficati
Author | SHA1 | Date | |
---|---|---|---|
54e961af6b |
2 changed files with 14 additions and 0 deletions
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
*.o
|
||||
/slock
|
12
config.h
Normal file
12
config.h
Normal 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;
|
Loading…
Reference in a new issue