HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

cliphist — Manage clipboard history for Wayland compositors. Works with `wl-copy` and `wl-paste`. More informat

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandwaylandhistoryclipboardclimanageforcliphist
linux

Problem

How to use the cliphist command: Manage clipboard history for Wayland compositors. Works with wl-copy and wl-paste. More information: <https://github.com/sentriz/cliphist#usage>.

Solution

cliphist — Manage clipboard history for Wayland compositors. Works with wl-copy and wl-paste. More information: <https://github.com/sentriz/cliphist#usage>.

List clipboard history entries:
cliphist list


Select and copy a previous clipboard entry (using fzf):
cliphist list | fzf | cliphist decode | wl-copy


Delete all stored clipboard entries:
cliphist wipe


Delete a specific clipboard entry by ID:
cliphist delete {{id}}


Save the current clipboard content manually:
wl-paste | cliphist store

Code Snippets

List clipboard history entries

cliphist list

Select and copy a previous clipboard entry (using `fzf`)

cliphist list | fzf | cliphist decode | wl-copy

Delete all stored clipboard entries

cliphist wipe

Delete a specific clipboard entry by ID

cliphist delete {{id}}

Save the current clipboard content manually

wl-paste | cliphist store

Context

tldr-pages: linux/cliphist

Revisions (0)

No revisions yet.