diff --git a/.gitignore b/.gitignore index e76dbe9e..3f10930e 100644 --- a/.gitignore +++ b/.gitignore @@ -38,3 +38,5 @@ suckless/slock/slock suckless/st/st suckless/tabbed/tabbed suckless/slstatus/slstatus + +suckless/*/config.h diff --git a/suckless/slock/config.h b/suckless/slock/config.h index 9855e211..011c6b0e 100644 --- a/suckless/slock/config.h +++ b/suckless/slock/config.h @@ -3,10 +3,17 @@ static const char *user = "nobody"; static const char *group = "nogroup"; static const char *colorname[NUMCOLS] = { - [INIT] = "black", /* after initialization */ + [BG] = "black", /* background */ + [INIT] = "#4f525c", /* after initialization */ [INPUT] = "#005577", /* during input */ [FAILED] = "#CC3333", /* wrong password */ }; /* treat a cleared input like a wrong password (color) */ static const int failonclear = 1; + +/* size of square in px */ +static const int squaresize = 50; + +/* time in seconds before the monitor shuts down */ +static const int monitortime = 5;