diff options
Diffstat (limited to 'services/Apps.qml')
| -rw-r--r-- | services/Apps.qml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/services/Apps.qml b/services/Apps.qml index 546a6eb..49b48fe 100644 --- a/services/Apps.qml +++ b/services/Apps.qml @@ -22,7 +22,9 @@ Singleton { } function launch(entry: DesktopEntry): void { - if (entry.execString.startsWith("sh -c")) + if (entry.runInTerminal) + Quickshell.execDetached(["app2unit", "--", "foot", "fish", "-C", entry.execString]); + else if (entry.execString.startsWith("sh -c")) Quickshell.execDetached(["sh", "-c", `app2unit -- ${entry.execString}`]); else Quickshell.execDetached(["sh", "-c", `app2unit -- '${entry.id}.desktop' || app2unit -- ${entry.execString}`]); |