![]() |
![]()
| ![]() |
![]()
NAMEclipman - a clipboard manager for Wayland SYNOPSISclipman [<options>] <command> [<args> ...] DESCRIPTIONA basic clipboard manager for Wayland, with support for persisting copy buffers after an application exits. OPTIONS
COMMANDShelp [<command>...]Show help. store [<flags>]Record clipboard events (run as argument to `wl-paste --watch`)
pick --tool=TOOL [<flags>]Pick an item from clipboard history
clear [<flags>]Remove item/s from history
restoreServe the last recorded item from history show-historyShow all items from history USAGERun the binary in your Sway session by adding to your config:
or to log errors:
It is highly recommended that you run clipman with the --no-persist option, see KNOWN ISSUES. For primary clipboard support, also add: note that both the `-p` in wl-paste and the `-P` in clipman are mandatory in this case. To query the history and select items, run the binary as You can assign it to a keybinding: You can pass additional arguments to the selector like this: both `--prompt` and `-i` are flags of wofi. You can use a custom selector like this: To only paste if there's something selected: To remove items from history: To serve the last history item at startup, add this to your Sway config:
BUGSWhen you experience a clipboard-related bug, try to see if it still happens without clipman running, as it's more likely to be caused by one of our own known issues rather than wl-clipboard. KNOWN ISSUESWe only support plain text. By default, we continue serving the last copied item even after its owner has exited. This means that, unless you run with the --no-persist option, you'll always immediately lose rich content; for example: vim's visual block mode breaks; copying images in Firefox breaks; if you copy a bookmark in Firefox, you won't be able to paste it in another bookmark folder; if you copy formatted text inside Libre Office you'll lose all formatting on paste. Run clipman store with the --no-persist option if you are affected. Unfortunately, it seems that there is no way to make them play well together.
|