From 78a41c236ccbaa1ed6e1e56ba7b11e41d1a3c841 Mon Sep 17 00:00:00 2001 From: povvke Date: Sat, 13 Sep 2025 20:48:34 +0300 Subject: [PATCH] use the exec string itself to launch non terminal apps --- Modules/Launcher/Plugins/ApplicationsPlugin.qml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Modules/Launcher/Plugins/ApplicationsPlugin.qml b/Modules/Launcher/Plugins/ApplicationsPlugin.qml index b6fb1e2..194d05f 100644 --- a/Modules/Launcher/Plugins/ApplicationsPlugin.qml +++ b/Modules/Launcher/Plugins/ApplicationsPlugin.qml @@ -83,7 +83,11 @@ Item { if (Settings.data.appLauncher.useApp2Unit && app.id) { Logger.log("ApplicationsPlugin", `Using app2unit for: ${app.id}`) - Quickshell.execDetached(["app2unit", "--", app.id + ".desktop"]) + if (app.runInTerminal) + Quickshell.execDetached(["app2unit", "--", app.id + ".desktop"]) + else + Quickshell.execDetached(["app2unit", "--"].concat(app.command)) + } else if (app.execute) { app.execute() } else if (app.exec) {