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) {