fix: define declared method + insert new bar entries to config file list + rename Hyprsunset -> Nightlight
This commit is contained in:
+3
-3
@@ -8,15 +8,15 @@ import qs.Services
|
||||
WidgetBase {
|
||||
id: root
|
||||
|
||||
property bool tempEnabled: Hyprsunset.enabled
|
||||
property bool tempEnabled: Nightlight.enabled
|
||||
|
||||
color: root.tempEnabled ? Colors.palette.m3primary : Colors.tPalette.m3surfaceContainer
|
||||
radius: Tokens.rounding.full
|
||||
|
||||
StateLayer {
|
||||
onClicked: {
|
||||
Hyprsunset.toggleNightLight();
|
||||
Hyprsunset.manualToggle = true;
|
||||
Nightlight.toggleNightLight();
|
||||
Nightlight.manualToggle = true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user