SafeEyes/safeeyes/plugins/smartpause/config.json

36 lines
1000 B
JSON
Raw Normal View History

2017-10-07 15:10:31 +02:00
{
"meta": {
"name": "Smart Pause",
"description": "Pause Safe Eyes if the system is idle",
"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",
"default": 5,
2017-10-14 15:30:11 +02:00
"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
2017-10-07 15:10:31 +02:00
}
]
}