diff options
| author | Louis Burda <quent.burda@gmail.com> | 2023-09-28 02:16:07 +0200 |
|---|---|---|
| committer | Louis Burda <quent.burda@gmail.com> | 2023-09-28 02:19:52 +0200 |
| commit | fad6aca78f2b54089c44a33da5124f2fd994bf33 (patch) | |
| tree | 34f3b61b7cc347c2395d88fe34b71bd395debdab /config.def.h | |
| parent | 5fa767f5f20a025793d4968f9421e946c1612c4b (diff) | |
| download | slock-fad6aca78f2b54089c44a33da5124f2fd994bf33.tar.gz slock-fad6aca78f2b54089c44a33da5124f2fd994bf33.zip | |
Enable powersaving after x seconds
Diffstat (limited to 'config.def.h')
| -rw-r--r-- | config.def.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h index a329228..12fbb4b 100644 --- a/config.def.h +++ b/config.def.h @@ -11,6 +11,9 @@ static const char *colorname[NUMCOLS] = { /* allow control key to trigger fail on clear */ static const int controlkeyclear = 0; +/* time in seconds before the monitor shuts down */ +static const int monitortime = 30; + /* treat a cleared input like a wrong password (color) */ static const int failonclear = 1; |
