diff options
Diffstat (limited to 'src/modules/launcher')
| -rw-r--r-- | src/modules/launcher/actions.tsx | 2 | ||||
| -rw-r--r-- | src/modules/launcher/modes.tsx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/launcher/actions.tsx b/src/modules/launcher/actions.tsx index bdc99db..64f475a 100644 --- a/src/modules/launcher/actions.tsx +++ b/src/modules/launcher/actions.tsx @@ -149,7 +149,7 @@ const actions = (mode: Variable<Mode>, entry: Widget.Entry): ActionMap => ({ View: () => { const client = AstalHyprland.get_default().clients.find(c => c.class === "Todoist"); if (client) client.focus(); - else execAsync("uwsm app -- todoist").catch(console.error); + else execAsync("app2unit -- todoist").catch(console.error); }, }, }); 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(); }} |