summaryrefslogtreecommitdiff
path: root/services
diff options
context:
space:
mode:
Diffstat (limited to 'services')
-rw-r--r--services/Apps.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/Apps.qml b/services/Apps.qml
index 51232f3..546a6eb 100644
--- a/services/Apps.qml
+++ b/services/Apps.qml
@@ -23,7 +23,7 @@ Singleton {
function launch(entry: DesktopEntry): void {
if (entry.execString.startsWith("sh -c"))
- Quickshell.execDetached(["app2unit", "--", entry.execString]);
+ Quickshell.execDetached(["sh", "-c", `app2unit -- ${entry.execString}`]);
else
Quickshell.execDetached(["sh", "-c", `app2unit -- '${entry.id}.desktop' || app2unit -- ${entry.execString}`]);
}