use the exec string itself to launch non terminal apps
This commit is contained in:
parent
acae2b8c21
commit
78a41c236c
1 changed files with 5 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue