Squashed 'suckless/slock/' content from commit 65cb721
git-subtree-dir: suckless/slock git-subtree-split: 65cb721c9eb7b5d80267378790dee93e9db0223c
This commit is contained in:
commit
9586e3bdb0
9 changed files with 575 additions and 0 deletions
12
config.def.h
Normal file
12
config.def.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] = "#005577", /* during input */
|
||||
[FAILED] = "#CC3333", /* wrong password */
|
||||
};
|
||||
|
||||
/* treat a cleared input like a wrong password (color) */
|
||||
static const int failonclear = 1;
|
||||
Loading…
Add table
Add a link
Reference in a new issue