about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorSamuel Walladge <samuel@swalladge.net>2019-10-07 15:18:06 +1030
committerSamuel Walladge <samuel@swalladge.net>2019-10-07 15:18:06 +1030
commit08a04cea36aa691611588f0923e325029dc0f66b (patch)
treee44a6ca1bb1de930e04750a494dd58f88faaeb5c
parent7338801c355e72354ec73beee798c21c46757b03 (diff)
downloadranger-08a04cea36aa691611588f0923e325029dc0f66b.tar.gz
add wl-clipboard support
-rwxr-xr-xranger/config/commands.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/ranger/config/commands.py b/ranger/config/commands.py
index b146cec9..cb6fa132 100755
--- a/ranger/config/commands.py
+++ b/ranger/config/commands.py
@@ -1924,11 +1924,14 @@ class yank(Command):
                     ['xsel'],
                     ['xsel', '-b'],
                 ],
+                'wl-copy': [
+                    ['wl-copy'],
+                ],
                 'pbcopy': [
                     ['pbcopy'],
                 ],
             }
-            ordered_managers = ['pbcopy', 'xclip', 'xsel']
+            ordered_managers = ['pbcopy', 'wl-copy', 'xclip', 'xsel']
             executables = get_executables()
             for manager in ordered_managers:
                 if manager in executables: