mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-06-02 10:37:50 +00:00
Release: v2.3.0
- add NightLight - better positioning of panels below their widgets - quality of life changes/fixes
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user