Update order and description settings-schema.json

This commit is contained in:
Raymundo Cassani 2020-05-27 18:56:12 -04:00
parent 9cdf0275a6
commit cb197e51cb

View File

@ -18,25 +18,11 @@
"RAM": "ram"
}
},
"refresh-interval": {
"type": "combobox",
"default": 1,
"description": "Refresh interval 2",
"tooltip": "Increase or decrease refresh interval in seconds.",
"options" : {
" 1 s": 1,
" 2 s": 2,
" 5 s": 5,
"10 s": 10,
"30 s": 30,
"60 s": 60
}
},
"duration": {
"type": "combobox",
"default": 60,
"description": "Plot duration",
"tooltip": "Increase or decrease refresh interval in seconds.",
"description": "Duration of the graph",
"tooltip": "Maximum among of time shown in the graph.",
"options" : {
"30 s": 30,
" 1 min": 60,
@ -47,6 +33,21 @@
"60 min": 3600
}
},
"refresh-interval": {
"type": "combobox",
"default": 1,
"description": "Refresh interval",
"tooltip": "Refresh interval in seconds.",
"options" : {
" 1 s": 1,
" 2 s": 2,
" 5 s": 5,
"10 s": 10,
"30 s": 30,
"60 s": 60
}
},
"head2": {
"type": "header",
@ -57,47 +58,43 @@
"default": "rgba(50,50,50,1)",
"description": "Background color"
},
"text-color": {
"type": "colorchooser",
"default": "rgba(255,255,255,1)",
"description": "Text color"
},
"custom-line-color": {
"type": "checkbox",
"default": false,
"description": "Use a custom circle color",
"description": "Use a custom line color",
"value": false
},
"line-color": {
"type": "colorchooser",
"default": "rgba(50,168,82,1.0)",
"default": "rgba(137,190,67,1.0)",
"description": "Line color",
"dependency": "custom-line-color"
},
"midline-color": {
"type": "colorchooser",
"default": "rgba(127,127,127,1)",
"description": "Midline color"
},
"text-color": {
"type": "colorchooser",
"default": "rgba(255,255,255,1)",
"description": "Text color"
"description": "Grid color"
},
"h-midlines": {
"type": "spinbutton",
"default": 4,
"min": 0,
"max": 20,
"max": 50,
"step": 1,
"units": "scale factor",
"description": "H midlines",
"tooltip": "Increase or decrease the size of this desklet using this scale factor."
"description": "Number of horizontal lines in the grid"
},
"v-midlines": {
"type": "spinbutton",
"default": 4,
"min": 0,
"max": 20,
"max": 30,
"step": 1,
"units": "scale factor",
"description": "V midlines",
"tooltip": "Increase or decrease the size of this desklet using this scale factor."
"description": "Number of vertical lines in the grid"
},
"scale-size": {
"type": "spinbutton",
@ -105,8 +102,6 @@
"min": 0.5,
"max": 3,
"step": 0.1,
"units": "scale factor",
"description": "Desklet size",
"tooltip": "Increase or decrease the size of this desklet using this scale factor."
"description": "Scale factor for desklet size (1 = 330x120 px)"
}
}