tldr/pages/linux/wl-copy.md

18 lines
306 B
Markdown
Raw Normal View History

2021-10-18 05:36:11 +01:00
# wl-copy
> Wayland clipboard manipulation tool.
> See also: `wl-paste`.
> More information: <https://github.com/bugaevc/wl-clipboard>.
2021-10-18 05:36:11 +01:00
- Copy text to the clipboard:
`wl-copy {{text}}`
- Copy the output of a command to the clipboard:
`{{command}} | wl-copy`
- Clear the clipboard:
`wl-copy --clear`