idle: add a grace period
This commit is contained in:
parent
1ad3d11616
commit
e8be15a26c
29 changed files with 405 additions and 79 deletions
|
|
@ -2293,7 +2293,8 @@ Idle:
|
|||
description: |
|
||||
The definition of an idle timeout.
|
||||
|
||||
Omitted values are set to 0. If all values are 0, the idle timeout is disabled.
|
||||
Omitted values are set to 0. If any value is explicitly set and all values are 0, the
|
||||
idle timeout is disabled.
|
||||
|
||||
- Example:
|
||||
|
||||
|
|
@ -2313,6 +2314,44 @@ Idle:
|
|||
integer_only: true
|
||||
minimum: 0
|
||||
required: false
|
||||
grace-period:
|
||||
description: |
|
||||
The grace period after the timeout expires.
|
||||
|
||||
During the grace period, the screen goes black but the outputs are not yet
|
||||
disabled and the `on-idle` action does not yet run. This is a visual indicator
|
||||
that the system will soon get idle.
|
||||
|
||||
The default is 5 seconds.
|
||||
ref: GracePeriod
|
||||
required: false
|
||||
|
||||
|
||||
GracePeriod:
|
||||
kind: table
|
||||
description: |
|
||||
The definition of a grace period.
|
||||
|
||||
Omitted values are set to 0. If all values are 0, the grace period is disabled.
|
||||
|
||||
- Example:
|
||||
|
||||
```toml
|
||||
idle.grace-period.seconds = 3
|
||||
```
|
||||
fields:
|
||||
minutes:
|
||||
description: The number of minutes the grace period lasts.
|
||||
kind: number
|
||||
integer_only: true
|
||||
minimum: 0
|
||||
required: false
|
||||
seconds:
|
||||
description: The number of seconds the grace period lasts.
|
||||
kind: number
|
||||
integer_only: true
|
||||
minimum: 0
|
||||
required: false
|
||||
|
||||
|
||||
RepeatRate:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue