fix deprecated Connections syntax

This commit is contained in:
end-4
2025-10-22 23:55:39 +02:00
parent 8141e15bd9
commit a4d2a720d0
@@ -130,7 +130,7 @@ Singleton {
// Change temp // Change temp
Connections { Connections {
target: Config.options.light.night target: Config.options.light.night
onColorTemperatureChanged: { function onColorTemperatureChanged() {
if (!root.active) return; if (!root.active) return;
Hyprland.dispatch(`hyprctl hyprsunset temperature ${Config.options.light.night.colorTemperature}`); Hyprland.dispatch(`hyprctl hyprsunset temperature ${Config.options.light.night.colorTemperature}`);
Quickshell.execDetached(["hyprctl", "hyprsunset", "temperature", `${Config.options.light.night.colorTemperature}`]); Quickshell.execDetached(["hyprctl", "hyprsunset", "temperature", `${Config.options.light.night.colorTemperature}`]);