Release: v2.3.0

- add NightLight
- better positioning of panels below their widgets
- quality of life changes/fixes
This commit is contained in:
Ly-sec 2025-08-26 20:42:01 +02:00
parent 76f0368a64
commit 45b0fbeb4a
2 changed files with 2 additions and 2 deletions

View file

@ -261,7 +261,7 @@ Singleton {
// night light
property JsonObject nightLight: JsonObject {
property bool enabled: false
property real warmth: 0.0
property real warmth: 0.1
property real intensity: 0.8
property string startTime: "20:00"
property string stopTime: "07:00"

View file

@ -20,7 +20,7 @@ Singleton {
// Computed properties
property color overlayColor: enabled ? calculateOverlayColor() : "transparent"
property bool isActive: enabled && (autoSchedule ? isWithinSchedule() : true)
property bool isActive: enabled && warmth > 0 && (autoSchedule ? isWithinSchedule() : true)
Component.onCompleted: {
Logger.log("NightLight", "Service started")