aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/x2sel
diff options
context:
space:
mode:
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
}