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/sidebar | |
| 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/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 |