diff --git a/pages/linux/wl-copy.md b/pages/linux/wl-copy.md index 0c4232ca6..ba6233151 100644 --- a/pages/linux/wl-copy.md +++ b/pages/linux/wl-copy.md @@ -1,7 +1,8 @@ # wl-copy > Wayland clipboard manipulation tool. -> More information: . +> See also: `wl-paste`. +> More information: . - Copy text to the clipboard: diff --git a/pages/linux/wl-paste.md b/pages/linux/wl-paste.md new file mode 100644 index 000000000..30d958c04 --- /dev/null +++ b/pages/linux/wl-paste.md @@ -0,0 +1,25 @@ +# wl-paste + +> Tool to access data stored in the clipboard for Wayland. +> See also: `wl-copy`. +> More information: . + +- Paste the contents of the clipboard: + +`wl-paste` + +- Paste the contents of the clipboard and then clear it: + +`wl-paste --paste-once` + +- 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}}` + +- Clear the clipboard: + +`wl-paste --clear`