diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-04-04 18:30:08 +1100 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-04-04 18:30:08 +1100 |
| commit | aed36b160f3049e393f9a24b80ba6c8a5e9c558f (patch) | |
| tree | e9b6c9dbc81a49fc4a70abfd874022f2f161bf0b /src/modules/launcher | |
| parent | bar: fix corners showing when not embedded style (diff) | |
| download | caelestia-shell-aed36b160f3049e393f9a24b80ba6c8a5e9c558f.tar.gz caelestia-shell-aed36b160f3049e393f9a24b80ba6c8a5e9c558f.tar.bz2 caelestia-shell-aed36b160f3049e393f9a24b80ba6c8a5e9c558f.zip | |
feat: uwsm app -> app2unit
Also xdg-open -> app2unit
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(); }} |