1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 14:22:07 +02:00
tldr/pages/linux/wl-paste.md
Renner0E 936bebbd52
wl-paste: update page (#14788)
add primary clipboard flag
2024-11-12 22:19:41 +01:00

445 B

wl-paste

Paste content in Wayland clipboard. See also: wl-copy, xclip. More information: https://github.com/bugaevc/wl-clipboard.

  • Paste the contents of the clipboard:

wl-paste

  • Paste the contents of the primary clipboard (highlighted text):

wl-paste --primary

  • Write the contents of the clipboard to a file:

wl-paste > {{path/to/file}}

  • Pipe the contents of the clipboard to a command:

wl-paste | {{command}}