diff --git a/README.md b/README.md index d76f5ab..8faca34 100644 --- a/README.md +++ b/README.md @@ -21,3 +21,4 @@ quickshell -c launcher ## Dependencies - `quickshell` +- `app2unit` diff --git a/modules/launcher/services/Apps.qml b/modules/launcher/services/Apps.qml index 206d058..e459c31 100644 --- a/modules/launcher/services/Apps.qml +++ b/modules/launcher/services/Apps.qml @@ -10,12 +10,12 @@ FuzzySearch { function launch(entry: DesktopEntry): void { if (entry.runInTerminal) Quickshell.execDetached({ - command: ["kitty", "exec", ...entry.command], + command: ["app2unit", "--", "kitty", "exec", ...entry.command], workingDirectory: entry.workingDirectory }); else Quickshell.execDetached({ - command: [...entry.command], + command: ["app2unit", "--", ...entry.command], workingDirectory: entry.workingDirectory }); }