Description
cliphist is a clipboard history manager for Wayland. It watches the clipboard and writes each change to a history file, so you can recall older items with a picker such as dmenu, rofi or wofi. It supports both text and images. The clipboard is stored byte for byte, so leading and trailing whitespace, newlines and editor selections such as Vim's wordwise, linewise or block mode are kept intact. cliphist has no picker of its own and works only with pipes, so it fits into your existing setup. Running wl-paste --watch cliphist store once per session, for example from a Sway config, starts recording. A typical binding pipes cliphist list into dmenu, decodes the choice and copies it back with wl-copy. Other commands delete single entries, delete entries matching a query, wipe the database and expire old entries from a timer. It needs Go, wl-clipboard and xdg-utils. You can install it from your distribution, from a static binary on the releases page, or with go install. The source is public on GitHub.…
Highlights
- Clipboard history for text and images on Wayland
- Byte-for-byte storage that keeps whitespace and newlines
- Works with dmenu, rofi, wofi or any picker
- Delete entries, delete by query, wipe or expire old entries
- Install from distro repos, release binaries or Go
Ratings & Reviews
No ratings yet
Be the first to rate Cliphist.
People also visit
Cliphist FAQ
What is cliphist?
A clipboard history manager for Wayland that stores what you copy, so you can pick older items again.
How do I start recording?
Run wl-paste --watch cliphist store once per session, for example from your Sway config.
How do I paste an older item?
Run cliphist list, pipe it into dmenu or another picker, pipe the choice into cliphist decode, then into wl-copy. The README suggests binding this to a key.
What does it need to run?
Go, wl-clipboard and xdg-utils. The README says MIME types need wl-clipboard PR #297, merged after v2.3.0.
How do I install it?
Use your distribution's repositories if it is packaged there, download a static binary from the releases page, or run go install go.senan.xyz/cliphist@latest.
What are the best Cliphist alternatives?
Popular alternatives to Cliphist include CopyQ, FyClip - Advanced Clipboard Manager and PasteBarApp. See all Cliphist alternatives




