refactor: sensor configuration fields
Automatically round decimal values for sensor.x and .y to an integer. Make fields optional which are not used in every sensor.
This commit is contained in:
@@ -53,7 +53,6 @@ The background image and sensor definitions are taken from the default system pa
|
||||
"sensor": [
|
||||
{
|
||||
"mode": 1,
|
||||
"type": 1,
|
||||
"name": "CPU temp",
|
||||
"label": "cpu_temperature",
|
||||
"x": 195,
|
||||
@@ -67,7 +66,6 @@ The background image and sensor definitions are taken from the default system pa
|
||||
},
|
||||
{
|
||||
"mode": 1,
|
||||
"type": 1,
|
||||
"name": "CPU usage",
|
||||
"label": "cpu_percent",
|
||||
"unit": "%",
|
||||
|
||||
Reference in New Issue
Block a user