From 0a97df6d494e4638f355c2d010c4f15ecba76101 Mon Sep 17 00:00:00 2001 From: bbedward Date: Tue, 31 Mar 2026 11:04:18 -0400 Subject: [PATCH] launcher: some polishes for blur --- quickshell/Modals/DankLauncherV2/LauncherContent.qml | 3 +-- quickshell/Modals/DankLauncherV2/ResultsList.qml | 8 +++++--- quickshell/Modules/AppDrawer/AppDrawerPopout.qml | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/quickshell/Modals/DankLauncherV2/LauncherContent.qml b/quickshell/Modals/DankLauncherV2/LauncherContent.qml index 20e8ddf1..c8a074b0 100644 --- a/quickshell/Modals/DankLauncherV2/LauncherContent.qml +++ b/quickshell/Modals/DankLauncherV2/LauncherContent.qml @@ -270,7 +270,7 @@ FocusScope { Item { anchors.fill: parent - visible: !editMode + visible: !editMode && !(root.parentModal?.isClosing ?? false) Item { id: footerBar @@ -551,7 +551,6 @@ FocusScope { Item { width: parent.width height: parent.height - searchField.height - categoryRow.height - actionPanel.height - Theme.spacingXS * (categoryRow.visible ? 3 : 2) - opacity: root.parentModal?.isClosing ? 0 : 1 ResultsList { id: resultsList diff --git a/quickshell/Modals/DankLauncherV2/ResultsList.qml b/quickshell/Modals/DankLauncherV2/ResultsList.qml index c52a92e8..ddc095ca 100644 --- a/quickshell/Modals/DankLauncherV2/ResultsList.qml +++ b/quickshell/Modals/DankLauncherV2/ResultsList.qml @@ -324,6 +324,8 @@ Item { height: 24 z: 100 visible: { + if (BlurService.enabled) + return false; if (mainListView.contentHeight <= mainListView.height) return false; var atBottom = mainListView.contentY >= mainListView.contentHeight - mainListView.height + mainListView.originY - 5; @@ -441,7 +443,7 @@ Item { case "apps": return "apps"; default: - return root.controller?.searchQuery?.length > 0 ? "search_off" : "search"; + return "search_off"; } } } @@ -469,9 +471,9 @@ Item { case "plugins": return hasQuery ? I18n.tr("No plugin results") : I18n.tr("Browse or search plugins"); case "apps": - return hasQuery ? I18n.tr("No apps found") : I18n.tr("Type to search apps"); + return I18n.tr("No apps found"); default: - return hasQuery ? I18n.tr("No results found") : I18n.tr("Type to search"); + return I18n.tr("No results found"); } } } diff --git a/quickshell/Modules/AppDrawer/AppDrawerPopout.qml b/quickshell/Modules/AppDrawer/AppDrawerPopout.qml index 264cc036..1dd1783d 100644 --- a/quickshell/Modules/AppDrawer/AppDrawerPopout.qml +++ b/quickshell/Modules/AppDrawer/AppDrawerPopout.qml @@ -136,7 +136,7 @@ DankPopout { QtObject { id: modalAdapter property bool spotlightOpen: appDrawerPopout.shouldBeVisible - property bool isClosing: false + readonly property bool isClosing: !appDrawerPopout.shouldBeVisible function hide() { appDrawerPopout.close();