2017-10-07 15:10:31 +02:00
|
|
|
{
|
|
|
|
"meta": {
|
|
|
|
"name": "Smart Pause",
|
|
|
|
"description": "Pause Safe Eyes if the system is idle",
|
2018-10-31 04:41:25 +01:00
|
|
|
"version": "0.0.3"
|
2017-10-07 15:10:31 +02:00
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"python_modules": [],
|
|
|
|
"shell_commands": ["xprintidle"],
|
|
|
|
"operating_systems": [],
|
|
|
|
"desktop_environments": [],
|
|
|
|
"resources": []
|
|
|
|
},
|
|
|
|
"settings": [
|
|
|
|
{
|
|
|
|
"id": "idle_time",
|
2017-10-14 15:30:11 +02:00
|
|
|
"label": "Minimum idle time to pause Safe Eyes (in seconds)",
|
2017-10-07 15:10:31 +02:00
|
|
|
"type": "INT",
|
2019-02-24 01:14:26 +01:00
|
|
|
"default": 5,
|
2017-10-14 15:30:11 +02:00
|
|
|
"max": 3600,
|
|
|
|
"min": 5
|
2017-10-17 20:50:57 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "interpret_idle_as_break",
|
|
|
|
"label": "Interpret idle time equivalent to upcoming break duration as a break",
|
|
|
|
"type": "BOOL",
|
|
|
|
"default": false
|
2018-10-31 04:41:25 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "postpone_if_active",
|
|
|
|
"label": "Postpone the next break until the system becomes idle",
|
|
|
|
"type": "BOOL",
|
|
|
|
"default": false
|
2017-10-07 15:10:31 +02:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|