From 00d3c1a472888817d7649391d4a8485c5fc6f6f5 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Sat, 3 May 2025 23:56:37 +1000 Subject: feat: launcher wallpaper selector --- modules/launcher/Launcher.qml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'modules/launcher/Launcher.qml') diff --git a/modules/launcher/Launcher.qml b/modules/launcher/Launcher.qml index d5c43db..bbd2f91 100644 --- a/modules/launcher/Launcher.qml +++ b/modules/launcher/Launcher.qml @@ -21,23 +21,31 @@ Scope { keyboardFocus: root.launcherVisible ? WlrKeyboardFocus.Exclusive : WlrKeyboardFocus.None visible: wrapper.shouldBeVisible - width: content.width + bg.rounding * 2 mask: Region { item: wrapper } anchors.top: true + anchors.left: true anchors.bottom: true + anchors.right: true Background { id: bg + anchors.horizontalCenter: parent.horizontalCenter + + wrapperWidth: wrapper.width realWrapperHeight: Math.min(wrapper.height, content.height) } Wrapper { id: wrapper + anchors.horizontalCenter: parent.horizontalCenter + + implicitWidth: content.width + bg.rounding * 2 + launcherVisible: root.launcherVisible contentHeight: content.height -- cgit v1.2.3-freya