From 651378d4965e1255abd524fd320f375639cd8bca Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Fri, 2 May 2025 14:57:59 +1000 Subject: launcher: add content Also use surfaceContainer as background --- modules/launcher/Launcher.qml | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) (limited to 'modules/launcher/Launcher.qml') diff --git a/modules/launcher/Launcher.qml b/modules/launcher/Launcher.qml index 245fd47..849a569 100644 --- a/modules/launcher/Launcher.qml +++ b/modules/launcher/Launcher.qml @@ -1,9 +1,7 @@ import "root:/widgets" import "root:/config" import Quickshell -import QtQuick -import QtQuick.Shapes -import Qt5Compat.GraphicalEffects +import Quickshell.Wayland Scope { id: root @@ -20,6 +18,8 @@ Scope { id: win name: "launcher" + keyboardFocus: root.launcherVisible ? WlrKeyboardFocus.Exclusive : WlrKeyboardFocus.None + visible: wrapper.shouldBeVisible width: content.width + bg.rounding * 2 height: content.implicitHeight @@ -37,17 +37,8 @@ Scope { launcherVisible: root.launcherVisible - PaddedRect { + Content { id: content - - width: LauncherConfig.sizes.width - padding: Appearance.padding.large - anchors.horizontalCenter: parent.horizontalCenter - - StyledText { - text: "Launcher" - font.pointSize: 80 - } } } } -- cgit v1.2.3-freya