diff --git a/README.md b/README.md index 2ecafb0..f3c622c 100644 --- a/README.md +++ b/README.md @@ -80,6 +80,14 @@ Install the [server](server/ringboard-server.service) and [X11](x11/ringboard-x1 You'll need to start the Ringboard server and X11/Wayland clipboard watcher on boot. +### Uninstalling + +Run + +```sh +curl -s https://raw.githubusercontent.com/SUPERCILEX/clipboard-history/master/uninstall.sh | bash +``` + ## Migrating from existing clipboard managers Tooling is provided to migrate from other clipboard managers. Run: diff --git a/uninstall.sh b/uninstall.sh new file mode 100755 index 0000000..33bad35 --- /dev/null +++ b/uninstall.sh @@ -0,0 +1,18 @@ +#!/usr/bin/env bash + +systemctl --user disable ringboard-server --now +systemctl --user disable ringboard-x11 --now +systemctl --user disable ringboard-wayland --now +systemctl --user daemon-reload + +rm ~/.config/systemd/user/ringboard* +rm ~/.local/share/applications/ringboard* +rm ~/.local/share/icons/hicolor/1024x1024/ringboard* + +cargo uninstall \ + clipboard-history-server \ + clipboard-history-x11 \ + clipboard-history-wayland \ + clipboard-history-tui \ + clipboard-history-egui \ + clipboard-history