Add legacy install and shortcut migration

This commit is contained in:
2026-09-06 00:51:40 +01:00
parent 1d7a9d6cde
commit 2c999201db
3 changed files with 92 additions and 45 deletions
+19
View File
@@ -76,6 +76,25 @@ o.bind("SUPER + SHIFT + V", "Clipboard manager",
Updating: `omarchy plugin update alanfortlink.clipboard` · Uninstall: `omarchy plugin remove alanfortlink.clipboard`
### Upgrading a legacy `tank.clipboard` installation
Remove either old plugin id, install the current release, repair legacy direct
bindings to Omarchy's clone-aware source id, then restart the shell:
```bash
for id in tank.clipboard alanfortlink.clipboard; do
[[ -e "$HOME/.config/omarchy/plugins/$id" || -L "$HOME/.config/omarchy/plugins/$id" ]] && \
omarchy plugin remove "$id" --yes
done
omarchy plugin add https://github.com/alanfortlink/clipboard-history.git --enable --yes
bash "$HOME/.config/omarchy/plugins/alanfortlink.clipboard/scripts/configure-bindings.sh"
omarchy restart shell
```
Clipboard history data is preserved. The repaired shortcuts always target
`omarchy.clipboard`: Omarchy routes them to this plugin while installed and
back to its built-in clipboard after removal.
## Keys
| Key | Action |