From 35041d03e19415d9df1ff9b0015820dae44d2f6d Mon Sep 17 00:00:00 2001 From: purian23 Date: Tue, 13 Oct 2026 19:35:12 -0400 Subject: [PATCH] island: honor launcher unload on close --- quickshell/Modules/DIsland/IslandBarHost.qml | 2 +- quickshell/Modules/DIsland/IslandController.qml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/quickshell/Modules/DIsland/IslandBarHost.qml b/quickshell/Modules/DIsland/IslandBarHost.qml index e259ecf1e..a5a92b637 100644 --- a/quickshell/Modules/DIsland/IslandBarHost.qml +++ b/quickshell/Modules/DIsland/IslandBarHost.qml @@ -444,7 +444,7 @@ Item { id: launcherController active: controller.launcherSessionActive - retainResultsOnClose: true + retainResultsOnClose: !SettingsData.dankLauncherV2UnloadOnClose viewModeContext: "spotlight" forceLinearNavigation: true } diff --git a/quickshell/Modules/DIsland/IslandController.qml b/quickshell/Modules/DIsland/IslandController.qml index 9e8f87c01..4568fa672 100644 --- a/quickshell/Modules/DIsland/IslandController.qml +++ b/quickshell/Modules/DIsland/IslandController.qml @@ -330,7 +330,7 @@ QtObject { // The launcher stays loaded once built, so reopening never waits on a rebuild. function keepsVisuals(activityId) { - return activityId === "launcher" && destinationState[activityId].ready; + return activityId === "launcher" && !SettingsData.dankLauncherV2UnloadOnClose && destinationState[activityId].ready; } function releaseIdleVisuals() {