diff --git a/Helpers/Hyprsunset.qml b/Helpers/Hyprsunset.qml index 6efd135..6c6d963 100644 --- a/Helpers/Hyprsunset.qml +++ b/Helpers/Hyprsunset.qml @@ -74,9 +74,11 @@ Singleton { var now = new Date(); if (now.getHours() >= root.start || now.getHours() < root.end) { - root.startNightLight(root.temp); + if (!root.enabled) + root.startNightLight(root.temp); } else { - root.stopNightLight(); + if (root.enabled) + root.stopNightLight(); } } } diff --git a/shell.qml b/shell.qml index 40780eb..2da3a37 100644 --- a/shell.qml +++ b/shell.qml @@ -1,5 +1,5 @@ //@ pragma UseQApplication -//@ pragma Env QSG_RENDER_LOOP=threaded +//@ pragma Env QSG_RENDER_LOOP=basic //@ pragma Env QSG_RHI_BACKEND=vulkan //@ pragma Env QSG_USE_SIMPLE_ANIMATION_DRIVER=0 //@ pragma Env QS_NO_RELOAD_POPUP=1