wl-clipboard-history
wl-clipboard-history copied to clipboard
Wayland clipboard history tracker
wl-clipboard-history: Wayland clipboard history tracker
Simple bash script that uses wl-clipboard and sqlite to remember wayland clipboard history.
Usage
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.
TODO
- [ ] Add support to delete entries from the history (eg. secrets)