summaryrefslogtreecommitdiff
path: root/modules/background/Background.qml
diff options
context:
space:
mode:
Diffstat (limited to 'modules/background/Background.qml')
-rw-r--r--modules/background/Background.qml9
1 files changed, 7 insertions, 2 deletions
diff --git a/modules/background/Background.qml b/modules/background/Background.qml
index 1c18786..a28f1dd 100644
--- a/modules/background/Background.qml
+++ b/modules/background/Background.qml
@@ -2,6 +2,7 @@ import qs.widgets
import qs.config
import Quickshell
import Quickshell.Wayland
+import QtQuick
LazyLoader {
activeAsync: Config.background.enabled
@@ -27,11 +28,15 @@ LazyLoader {
Wallpaper {}
- DesktopClock {
- visible: Config.background.desktopClock.enabled
+ Loader {
anchors.right: parent.right
anchors.bottom: parent.bottom
anchors.margins: Appearance.padding.large
+
+ active: Config.background.desktopClock.enabled
+ asynchronous: true
+
+ source: "DesktopClock.qml"
}
}
}