From ee680c1aae76b54a12fe1f82aaa6c7a5ad391021 Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Tue, 23 Jun 2020 20:06:40 +0530 Subject: [PATCH] Support wayland native copier --- buku | 2 ++ 1 file changed, 2 insertions(+) diff --git a/buku b/buku index 936988a..cb31612 100755 --- a/buku +++ b/buku @@ -4077,6 +4077,8 @@ def copy_to_clipboard(content): copier_params = ['xsel', '-b', '-i'] elif shutil.which('xclip') is not None: copier_params = ['xclip', '-selection', 'clipboard'] + elif shutil.which('wl-copy') is not None: + copier_params = ['wl-copy'] # If we're using Termux (Android) use its 'termux-api' # add-on to set device clipboard. elif shutil.which('termux-clipboard-set') is not None: