From aae1efe81c726c23c386852936ff69403dc57425 Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Wed, 14 May 2025 20:47:07 +0200 Subject: [PATCH] fix duped launcher actions --- .../quickshell/modules/overview/SearchWidget.qml | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/.config/quickshell/modules/overview/SearchWidget.qml b/.config/quickshell/modules/overview/SearchWidget.qml index ddc2b64da..7292e30b9 100644 --- a/.config/quickshell/modules/overview/SearchWidget.qml +++ b/.config/quickshell/modules/overview/SearchWidget.qml @@ -328,22 +328,6 @@ Item { // Wrapper // Add launcher actions result = result.concat(launcherActionObjects); - // Launcher actions - for (let action of root.searchActions) { - const actionString = `${ConfigOptions.search.prefix.action}${action.action}` - if (actionString.startsWith(root.searchingText) || root.searchingText.startsWith(actionString)) { - result.push({ - name: root.searchingText.startsWith(actionString) ? root.searchingText : actionString, - clickActionName: "Run", - type: "Action", - materialSymbol: 'settings_suggest', - execute: () => { - action.execute(root.searchingText.split(" ").slice(1).join(" ")) - }, - }); - } - } - // Insert math result before command if search starts with a number const startsWithNumber = /^\d/.test(root.searchingText); if (startsWithNumber)