From cb197e51cb3b233b1245357fab11e8df77a8d462 Mon Sep 17 00:00:00 2001 From: Raymundo Cassani Date: Wed, 27 May 2020 18:56:12 -0400 Subject: [PATCH] Update order and description settings-schema.json --- .../settings-schema.json | 65 +++++++++---------- 1 file changed, 30 insertions(+), 35 deletions(-) diff --git a/files/system-monitor-graph@rcassani/settings-schema.json b/files/system-monitor-graph@rcassani/settings-schema.json index 21c4418..fb4015f 100644 --- a/files/system-monitor-graph@rcassani/settings-schema.json +++ b/files/system-monitor-graph@rcassani/settings-schema.json @@ -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)" } }