From 6c600e3df52446d41e7cc576f3dde016aef611df Mon Sep 17 00:00:00 2001 From: Anthony Saldana Valle <55422282+ansavanix@users.noreply.github.com> Date: Sun, 14 Nov 2021 11:21:15 -0800 Subject: [PATCH] wl-paste: add page, wl-copy: update link (#7123) --- pages/linux/wl-copy.md | 3 ++- pages/linux/wl-paste.md | 25 +++++++++++++++++++++++++ 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 pages/linux/wl-paste.md 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`