This is a simple wrapper over wl-clipboard that implements a clipboard manager.
- Preview window for multi-line entries (even somewhat colorized)
- Picture preview using kitty icat protocol
It is currently heavily dependent on specific tools that I use, but I don't oppose making the script more generic - if there is an interest, just open a PR and let's discuss!
- dmenu-term - my own
dmenuimplementation that allows providing\0-separated strings (important for multi-line entries) and custom preview (for colorizing the text, or image preview) - bat - for colorizing text
- fzf - current preview syntax depends on
--preview-windowfromfzf - sqlite3 - to store clipboard entries
- python - to retrieve entries from database
On Arch Linux you can use wl-clipboard-manager package.
Alternatively, use sudo make install.
- Start the daemon by running
wl-clipboard-manager daemonor a systemd user service - Launch dmenu using
wl-clipboard-manager dmenu - To copy sensitive text without saving it in clipboard history, use
wl-clipboard-manager lock; <your-command>; wl-clipboard-manager unlock
