From 424ef0e31ecaaec0d3c5cf8080e64b8068e00d7e Mon Sep 17 00:00:00 2001 From: tiyn Date: Sun, 29 Oct 2023 02:55:34 +0100 Subject: [PATCH] added secret-password patch for config --- config.def.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/config.def.h b/config.def.h index 932a162..2dafb1d 100644 --- a/config.def.h +++ b/config.def.h @@ -37,3 +37,14 @@ static XRectangle rectangles[12] = { /* allow control key to trigger fail on clear */ 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" +};