gitignore and user/group config
- Add gitignore for generated files and executable - Add user and group to config.h
This commit is contained in:
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
.vscode/
|
||||
*.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 = "sravan";
|
||||
static const char *group = "sravan";
|
||||
|
||||
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;
|
Reference in New Issue
Block a user