Clear and copy to Wayland clipboard. See also:
wl-paste
,xclip
. More information: https://github.com/bugaevc/wl-clipboard.
wl-copy "text"
ls
) output to the clipboard:ls | wl-copy
wl-copy --paste-once "text"
wl-copy < path/to/image
wl-copy --clear