~zethra/public-inbox

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
1

[PATCH] Support clipboard on Wayland

Details
Message ID
<20201107091728.33758-1-yerinalexey98fd@gmail.com>
DKIM signature
pass
Download raw message
Patch: +9 -1
---
 scripts/copy-header | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/scripts/copy-header b/scripts/copy-header
index 61056ee..7eb2d33 100755
--- a/scripts/copy-header
+++ b/scripts/copy-header
@@ -1,3 +1,11 @@
#!/bin/sh

license header `license list | fzf` $1 | xclip -sel clip
\ No newline at end of file
header="$(license header `license list | fzf` $1)"

if command -v wl-copy >/dev/null; then
  wl-copy "$header"
else
  if command -v xclip >/dev/null; then
    printf "$header" | xclip -sel clip
  fi
fi
-- 
2.29.2
Details
Message ID
<20201107092932.x3iqx7c4pjm67637@arch>
In-Reply-To
<20201107091728.33758-1-yerinalexey98fd@gmail.com> (view parent)
DKIM signature
pass
Download raw message
This patch is for license project, I forgot to add that in the subject.
Sorry
Reply to thread Export thread (mbox)