From dd8ad3b10fdebba7d22aaf43f9bf27e064398396 Mon Sep 17 00:00:00 2001 From: z3rOR0ne Date: Tue, 2 Jan 2024 18:55:33 -0800 Subject: [PATCH] :memo: Added wl-copy to wayland tools --- aliases | 2 ++ wayland_with_nvidia.md | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/aliases b/aliases index 37b892a7..010ca09a 100644 --- a/aliases +++ b/aliases @@ -175,6 +175,8 @@ alias lxapp="lxappearance" alias hd="ncdu" # one of our most usful aliases (useful in conjunction with yank, awk, etc.): alias {xsel,catx}="xclip -sel clip" # useful with < or | redirection operators +# wayland has an equivalent as well: +alias {wsel,catw}="wl-copy" # useful with | redirection, i.e. echo "hi there" | catw # alias printdoc="lp -d Brother" alias printdoc="lp -d MFCJ615W" alias catp="xclip -out -selection clipboard; echo" diff --git a/wayland_with_nvidia.md b/wayland_with_nvidia.md index 170f7cdb..7fea28ce 100644 --- a/wayland_with_nvidia.md +++ b/wayland_with_nvidia.md @@ -170,6 +170,11 @@ flameshot gui You'll then receive a prompt on how to utilize flameshot. Select the region you wish to capture, and then hit Ctrl+S to save. +**REPLACING XCLIP WITH WL_COPY** + +Replacing xclip for simple clipboard copying from terminal, you can install +wl-copy and essentially use it for the same. + **CONCLUSION** Once all set up, simply switch to a separate tty (ctrl + alt + F).