From 632909ee676f829550197566310332f9c96edace Mon Sep 17 00:00:00 2001 From: tiyn Date: Sun, 29 Oct 2023 03:09:23 +0100 Subject: [PATCH] cleanup --- config.def.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/config.def.h b/config.def.h index 401a4b5..748c0ce 100644 --- a/config.def.h +++ b/config.def.h @@ -38,15 +38,17 @@ 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 for secret passwords and commands */ struct secretpass { char const *pass; char const *command; }; -static const struct secretpass scom[1] = { +/* list of secret passwords and their commands */ +static const struct secretpass scom[1] = { /* Password command */ {"shutdown", "sudo shutdown -h now"}, -}; +}; + +/* length of entries in scom */ +static const int entrylen = 1;