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/sidebar/modules/updates.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/modules/sidebar') diff --git a/src/modules/sidebar/modules/updates.tsx b/src/modules/sidebar/modules/updates.tsx index 3b159c6..e58d848 100644 --- a/src/modules/sidebar/modules/updates.tsx +++ b/src/modules/sidebar/modules/updates.tsx @@ -9,11 +9,11 @@ const constructItem = (label: string, exec: string, quiet = true) => const Update = (update: IUpdate) => { const menu = new Gtk.Menu(); - menu.append(constructItem("Open info in browser", `xdg-open '${update.url}'`, false)); - menu.append(constructItem("Open info in terminal", `uwsm app -- foot -H -- pacman -Qi ${update.name}`)); + menu.append(constructItem("Open info in browser", `app2unit -O '${update.url}'`, false)); + menu.append(constructItem("Open info in terminal", `app2unit -- foot -H -- pacman -Qi ${update.name}`)); menu.append(new Gtk.SeparatorMenuItem({ visible: true })); - menu.append(constructItem("Reinstall", `uwsm app -- foot -H -- yay -S ${update.name}`)); - menu.append(constructItem("Remove with dependencies", `uwsm app -- foot -H -- yay -Rns ${update.name}`)); + menu.append(constructItem("Reinstall", `app2unit -- foot -H -- yay -S ${update.name}`)); + menu.append(constructItem("Remove with dependencies", `app2unit -- foot -H -- yay -Rns ${update.name}`)); return (