summaryrefslogtreecommitdiff
path: root/services/Apps.qml
diff options
context:
space:
mode:
Diffstat (limited to 'services/Apps.qml')
-rw-r--r--services/Apps.qml12
1 files changed, 1 insertions, 11 deletions
diff --git a/services/Apps.qml b/services/Apps.qml
index e3ab276..90ef302 100644
--- a/services/Apps.qml
+++ b/services/Apps.qml
@@ -2,7 +2,6 @@ pragma Singleton
import "root:/utils/scripts/fuzzysort.js" as Fuzzy
import Quickshell
-import Quickshell.Io
Singleton {
id: root
@@ -23,15 +22,6 @@ Singleton {
}
function launch(entry: DesktopEntry): void {
- launchProc.entry = entry;
- launchProc.startDetached();
- }
-
- Process {
- id: launchProc
-
- property DesktopEntry entry
-
- command: ["app2unit", "--", `${entry?.id}.desktop`]
+ Quickshell.execDetached(["sh", "-c", `app2unit -- '${entry.id}.desktop' || app2unit -- ${entry.execString}`]);
}
}