summaryrefslogtreecommitdiff
path: root/modules/background/Background.qml
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-07-22 00:21:57 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-07-22 00:21:57 +1000
commit6616cb13272132302f0b58573e98b4564e105e12 (patch)
tree94e84b563534a3114a957b16bd8df7bf157ee871 /modules/background/Background.qml
parentfeat: add a simple desktop clock (#238) (diff)
downloadcaelestia-shell-6616cb13272132302f0b58573e98b4564e105e12.tar.gz
caelestia-shell-6616cb13272132302f0b58573e98b4564e105e12.tar.bz2
caelestia-shell-6616cb13272132302f0b58573e98b4564e105e12.zip
background: some fixes for desktop clock
Loader + use implicit width/height + move
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"
}
}
}