Support wayland native copier
This commit is contained in:
parent
d097b34ccf
commit
ee680c1aae
2
buku
2
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:
|
||||
|
Loading…
Reference in New Issue
Block a user