tldr/pages/linux/wl-copy.md

269 B

wl-copy

Wayland clipboard manipulation tool. More information: https://manned.org/wl-copy.

  • 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