Simple bash script that uses wl-clipboard and sqlite to remember wayland clipboard history.
Usage: ./wl-clipboard-history OPTION [ARG]
-t Track clipboard changes
-l [NUMBER] Print last NUMBER of clipboard entries (defaults to 10 entries)
-p [INDEX] Print clipboard entry at INDEX (defaults to the last entry)
To use with sway add the following to your configuration:
exec wl-clipboard-manager -t
There's also a fzf wrapper for selecting the contents with a TUI.
- Add support to delete entries from the history (eg. secrets)