From aed36b160f3049e393f9a24b80ba6c8a5e9c558f Mon Sep 17 00:00:00 2001
From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>
Date: Fri, 4 Apr 2025 18:30:08 +1100
Subject: feat: uwsm app -> app2unit

Also xdg-open -> app2unit
---
 src/modules/launcher/modes.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/modules/launcher/modes.tsx')

diff --git a/src/modules/launcher/modes.tsx b/src/modules/launcher/modes.tsx
index fd9569b..e278779 100644
--- a/src/modules/launcher/modes.tsx
+++ b/src/modules/launcher/modes.tsx
@@ -41,7 +41,7 @@ const FileResult = ({ path }: { path: string }) => (
                 execAsync([
                     "bash",
                     "-c",
-                    `dbus-send --session --dest=org.freedesktop.FileManager1 --type=method_call /org/freedesktop/FileManager1 org.freedesktop.FileManager1.ShowItems array:string:"file://${path}" string:"" || xdg-open "${path}"`,
+                    `dbus-send --session --dest=org.freedesktop.FileManager1 --type=method_call /org/freedesktop/FileManager1 org.freedesktop.FileManager1.ShowItems array:string:'file://${path}' string:'' || app2unit -O '${path}'`,
                 ]).catch(console.error);
                 close();
             }}
-- 
cgit v1.2.3-freya

