aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/x2sel
diff options
context:
space:
mode:
authorGravatar CodeforEvolution <secundaja@gmail.com>2020-08-09 16:44:11 -0500
committerGravatar CodeforEvolution <secundaja@gmail.com>2020-08-09 22:19:51 -0500
commit6f9571a805e715d38ad6f5c7594a7e829368d617 (patch)
tree40ccadbf0287ea9ad4da4ae477eed26b212c025e /plugins/x2sel
parent966fe839eee2f25ec2ed548234c9edfe984ebcfa (diff)
downloadnnn-6f9571a805e715d38ad6f5c7594a7e829368d617.tar.gz
Haiku: General fixup, add icon, add rdef file
- Add a native vector icon for Haiku (it hasn't been Haiku-ified yet however) - Add a rdef file (specifies application metadata) - Add clipboard support, notififcation support, and basic nuke support - Fix support for fortunes on Haiku ("-s" option is not available on Haiku) - Cleanup Haiku recipe
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
}