gitignore and user/group config

- Add gitignore for generated files and executable
- Add user and group to config.h
This commit is contained in:
Sravan Balaji
2020-07-31 23:57:58 -04:00
parent 35633d4567
commit dee1d27806
2 changed files with 15 additions and 0 deletions

3
.gitignore vendored Normal file
View File

@@ -0,0 +1,3 @@
.vscode/
*.o
slock

12
config.h Normal file
View 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;