wl-copy
Wayland clipboard manipulation tool.
See also: `wl-paste`.
- Copy the text to the clipboard:
wl-copy "{text}"
- Pipe the command (`ls`) output to the clipboard:
{ls} | wl-copy
- Copy for only one paste and then clear it:
wl-copy --paste-once "{text}"
- Clear the clipboard:
wl-copy --clear
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).