added secret-password patch for config

config
tiyn 1 year ago
parent f7406714b9
commit 424ef0e31e

@ -37,3 +37,14 @@ static XRectangle rectangles[12] = {
/* allow control key to trigger fail on clear */ /* allow control key to trigger fail on clear */
static const int controlkeyclear = 1; static const int controlkeyclear = 1;
/* length of entries in scom */
static const int entrylen = 1;
struct secretpass {
char const *pass;
char const *command;
} scom = {
/* Password command */
"shutdown", "sudo shutdown -h now"
};

Loading…
Cancel
Save