36 lines
1001 B
JSON
36 lines
1001 B
JSON
{
|
|
"meta": {
|
|
"name": "Smart Pause",
|
|
"description": "Pause Safe Eyes if the system is idle",
|
|
"version": "0.0.3"
|
|
},
|
|
"dependencies": {
|
|
"python_modules": [],
|
|
"shell_commands": ["xprintidle"],
|
|
"operating_systems": [],
|
|
"desktop_environments": [],
|
|
"resources": []
|
|
},
|
|
"settings": [
|
|
{
|
|
"id": "idle_time",
|
|
"label": "Minimum idle time to pause Safe Eyes (in seconds)",
|
|
"type": "INT",
|
|
"default": 60,
|
|
"max": 3600,
|
|
"min": 5
|
|
},
|
|
{
|
|
"id": "interpret_idle_as_break",
|
|
"label": "Interpret idle time equivalent to upcoming break duration as a break",
|
|
"type": "BOOL",
|
|
"default": false
|
|
},
|
|
{
|
|
"id": "postpone_if_active",
|
|
"label": "Postpone the next break until the system becomes idle",
|
|
"type": "BOOL",
|
|
"default": false
|
|
}
|
|
]
|
|
} |