diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-05-02 14:57:59 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-05-02 14:57:59 +1000 |
| commit | 651378d4965e1255abd524fd320f375639cd8bca (patch) | |
| tree | 447f257b511354a147c3f0df5cc04efe1a2e70d8 /modules/launcher/Launcher.qml | |
| parent | refactor: separate launcher into multiple files (diff) | |
| download | caelestia-shell-651378d4965e1255abd524fd320f375639cd8bca.tar.gz caelestia-shell-651378d4965e1255abd524fd320f375639cd8bca.tar.bz2 caelestia-shell-651378d4965e1255abd524fd320f375639cd8bca.zip | |
launcher: add content
Also use surfaceContainer as background
Diffstat (limited to 'modules/launcher/Launcher.qml')
| -rw-r--r-- | modules/launcher/Launcher.qml | 17 |
1 files changed, 4 insertions, 13 deletions
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 - } } } } |