mirror of
https://github.com/tiyn/slock.git
synced 2025-04-02 16:17:47 +02:00
added secret-password patch for config
This commit is contained in:
parent
f7406714b9
commit
424ef0e31e
11
config.def.h
11
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"
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user