From 6616cb13272132302f0b58573e98b4564e105e12 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Tue, 22 Jul 2025 00:21:57 +1000 Subject: background: some fixes for desktop clock Loader + use implicit width/height + move --- modules/background/Background.qml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'modules/background/Background.qml') 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" } } } -- cgit v1.2.3-freya