1
0
mirror of https://github.com/tiyn/slock.git synced 2025-07-03 19:47:47 +02:00
slock/config.def.h
2023-10-29 02:37:09 +01:00

20 lines
587 B
C

/* user and group to drop privileges to */
static const char *user = "nobody";
static const char *group = "nobody";
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;
/* length of entires in scom */
s
static const int entrylen = 1;
static const secretpass scom[entrylen] = {
/* Password command */
{ "shutdown", "doas poweroff" },
};