wl-clipboard 1.0
This is the first stable release of wl-clipboard! π It features:
- Primary clipboard support! Just pass the
--primary
flag and it will use the primary clipboard instead of the regular one. All the features are supported, so for example you can copy images into the primary clipboard (wl-copy -p < picture.png
) and then paste them with middle-click. - xdg-shell support; this enables wl-clipboard to work on compositors that lack
wl_shell
support (such as Sway). wl-clipboard transparently chooses which protocol to use based on what it was built with and what the compositor supports, so you don't have to worry about this. - Vastly improved type inference in
wl-paste
. It's now very likely to just do the right thing by default. You can also now specify a type explicitly using the--type
option for bothwl-copy
andwl-paste
. - You can now list all the MIME types the selection is available in with
wl-paste --list-types
. I don't know of any other tool or app that lets you get this info (on Wayland). - A bunch of other flags and features (
--paste-once
,--foreground
,--clear
,--no-newline
). - Lots of bug fixes.
- A comprehensive man page! Type any of
man wl-clipboard
,man wl-copy
, orman wl-paste
to read it. - wl-clipboard is now packaged in the official Debian repos and in Arch (AUR)! π