mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
27 lines
537 B
Plaintext
27 lines
537 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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}}`
|