forked from Shinonome/dots-hyprland
fix deprecated Connections syntax
This commit is contained in:
@@ -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}`]);
|
||||||
|
|||||||
Reference in New Issue
Block a user