diff options
Diffstat (limited to 'src/modules/sidebar')
| -rw-r--r-- | src/modules/sidebar/modules/updates.tsx | 8 |
1 files changed, 4 insertions, 4 deletions
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 ( <button |