aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/x2sel
diff options
context:
space:
mode:
authorGravatar Jana <engineerarun@gmail.com>2020-08-11 22:20:01 +0530
committerGravatar GitHub <noreply@github.com>2020-08-11 22:20:01 +0530
commitfb454a50468a523ecc058a2238dfc82ce3e59fd6 (patch)
tree9b3ab5da216993795d9f8082829fa8993f72bf07 /plugins/x2sel
parentdc488857e11beba9aa52b3e55effbf5b98ec869a (diff)
parent6f9571a805e715d38ad6f5c7594a7e829368d617 (diff)
downloadnnn-fb454a50468a523ecc058a2238dfc82ce3e59fd6.tar.gz
Merge pull request #693 from CodeforEvolution/haikuUpdate
Haiku: General fixup, add icon, add rdef file
Diffstat (limited to 'plugins/x2sel')
-rwxr-xr-xplugins/x2sel4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/x2sel b/plugins/x2sel
index 09ac68f..0a0fcd4 100755
--- a/plugins/x2sel
+++ b/plugins/x2sel
@@ -9,6 +9,7 @@
# - powershell (WSL)
# - cygwim's /dev/clipboard (Cygwin)
# - wl-paste (Wayland)
+# - clipboard (Haiku)
#
# Limitation: breaks if a filename has newline in it
#
@@ -42,6 +43,9 @@ getclip () {
elif which wl-paste >/dev/null 2>&1; then
# Wayland
wl-paste
+ elif which clipboard >/dev/null 2>&1; then
+ # Haiku
+ clipboard --print
fi
}