Enable slock

This commit is contained in:
2024-06-03 13:06:24 +01:00
parent 8d758efd80
commit a420bac559
6 changed files with 70 additions and 40 deletions

19
suckless/slock/config.h Normal file
View File

@@ -0,0 +1,19 @@
/* user and group to drop privileges to */
static const char *user = "nobody";
static const char *group = "nogroup";
static const char *colorname[NUMCOLS] = {
[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;