diff --git a/data/config.json b/data/config.json index b828e37..9d8f00f 100644 --- a/data/config.json +++ b/data/config.json @@ -19,37 +19,8 @@ "sensor_preference": "auto", "fans": {}, "fan_groups": {}, + "active_curve": "Performance", "fan_curves": { - "Default": { - "points": [ - { - "temp": 30, - "speed": 15 - }, - { - "temp": 40, - "speed": 25 - }, - { - "temp": 50, - "speed": 40 - }, - { - "temp": 60, - "speed": 60 - }, - { - "temp": 70, - "speed": 80 - }, - { - "temp": 80, - "speed": 100 - } - ], - "sensor_source": "cpu", - "applies_to": "all" - }, "Balanced": { "points": [ { @@ -183,8 +154,37 @@ ], "sensor_source": "cpu", "applies_to": "all" + }, + "Default": { + "points": [ + { + "temp": 30, + "speed": 15 + }, + { + "temp": 40, + "speed": 25 + }, + { + "temp": 50, + "speed": 40 + }, + { + "temp": 60, + "speed": 60 + }, + { + "temp": 70, + "speed": 80 + }, + { + "temp": 80, + "speed": 100 + } + ], + "sensor_source": "cpu", + "applies_to": "all" } }, - "theme": "dark", - "active_curve": "Performance" + "theme": "dark" } \ No newline at end of file diff --git a/server.log b/server.log index d9a4a1d..71243a9 100644 --- a/server.log +++ b/server.log @@ -1,5 +1,5 @@ -INFO: Started server process [36170] +INFO: Started server process [42005] INFO: Waiting for application startup. INFO: Application startup complete. INFO: Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit) -INFO: 127.0.0.1:49684 - "GET / HTTP/1.1" 200 OK +INFO: 127.0.0.1:47014 - "GET / HTTP/1.1" 200 OK diff --git a/static/icons.svg b/static/icons.svg new file mode 100644 index 0000000..91c886d --- /dev/null +++ b/static/icons.svg @@ -0,0 +1,85 @@ + + \ No newline at end of file diff --git a/web_server.py b/web_server.py index 7450029..5fcd9d9 100644 --- a/web_server.py +++ b/web_server.py @@ -476,37 +476,37 @@ def get_html(theme="dark"):