LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

cliphist

Wayland clipboard history manager

TLDR

List clipboard history entries
$ cliphist list
copy
Select and copy a previous entry using fzf
$ cliphist list | fzf | cliphist decode | wl-copy
copy
Delete all stored clipboard entries
$ cliphist wipe
copy
Delete a specific clipboard entry by ID
$ cliphist delete [id]
copy
Save the current clipboard content manually
$ wl-paste | cliphist store
copy

SYNOPSIS

cliphist command [arguments]

DESCRIPTION

cliphist is a clipboard history manager for Wayland compositors. It stores clipboard entries and allows retrieving previous items, supporting both text and image content. It works in conjunction with wl-copy and wl-paste from the wl-clipboard package.To automatically capture clipboard entries as they are copied, run `wl-paste --watch cliphist store` as a background process, typically in your compositor's startup configuration. Entries can then be browsed and selected using tools like fzf, dmenu, or wofi for quick recall of previously copied content.

PARAMETERS

list

List all stored clipboard entries
store
Store content from stdin
decode
Decode an entry for pasting
delete id
Delete a specific entry
wipe
Delete all entries

INSTALL

sudo apt install cliphist
copy
sudo dnf install cliphist
copy
sudo pacman -S cliphist
copy
sudo zypper install cliphist
copy
nix profile install nixpkgs#cliphist
copy

CAVEATS

Wayland-only, does not work with X11. Requires wl-clipboard (wl-copy, wl-paste). History is stored in memory by default. Images are supported but may consume significant memory.

SEE ALSO

wl-copy(1), wl-paste(1), xclip(1)

RESOURCES

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid