Linux command
cliphist 命令
网络
复制后可按需替换文件名、目录或参数。
常用示例
List
cliphist list
Select
cliphist list | fzf | cliphist decode | wl-copy
Delete all
cliphist wipe
Delete
cliphist delete [id]
Save
wl-paste | cliphist store
说明
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.
参数
- 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
FAQ
What is the cliphist command used for?
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.
How do I run a basic cliphist example?
Run `cliphist list` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does list do in cliphist?
List all stored clipboard entries