mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-05 23:09:26 -05:00
fix deprecated Connections syntax
This commit is contained in:
@@ -130,7 +130,7 @@ Singleton {
|
||||
// Change temp
|
||||
Connections {
|
||||
target: Config.options.light.night
|
||||
onColorTemperatureChanged: {
|
||||
function onColorTemperatureChanged() {
|
||||
if (!root.active) return;
|
||||
Hyprland.dispatch(`hyprctl hyprsunset temperature ${Config.options.light.night.colorTemperature}`);
|
||||
Quickshell.execDetached(["hyprctl", "hyprsunset", "temperature", `${Config.options.light.night.colorTemperature}`]);
|
||||
|
||||
Reference in New Issue
Block a user