From 6e6135c53bb3a5c6e3a6f94d5b0401ded42ac0e9 Mon Sep 17 00:00:00 2001 From: Benjamin Palko Date: Wed, 20 Aug 2025 10:31:18 -0400 Subject: [PATCH] app2unit --- README.md | 1 + modules/launcher/services/Apps.qml | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) 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 }); }