mirror of
https://github.com/tiyn/slock.git
synced 2025-04-02 16:17:47 +02:00
cleanup
This commit is contained in:
parent
5a88ca3a66
commit
632909ee67
12
config.def.h
12
config.def.h
@ -38,15 +38,17 @@ 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 */
|
/* struct for secret passwords and commands */
|
||||||
static const int entrylen = 1;
|
|
||||||
|
|
||||||
struct secretpass {
|
struct secretpass {
|
||||||
char const *pass;
|
char const *pass;
|
||||||
char const *command;
|
char const *command;
|
||||||
};
|
};
|
||||||
|
|
||||||
static const struct secretpass scom[1] = {
|
/* list of secret passwords and their commands */
|
||||||
|
static const struct secretpass scom[1] = {
|
||||||
/* Password command */
|
/* Password command */
|
||||||
{"shutdown", "sudo shutdown -h now"},
|
{"shutdown", "sudo shutdown -h now"},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/* length of entries in scom */
|
||||||
|
static const int entrylen = 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user