aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/.cbcp
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/.cbcp
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/.cbcp')
-rwxr-xr-xplugins/.cbcp4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/.cbcp b/plugins/.cbcp
index bd9910a..04a09dc 100755
--- a/plugins/.cbcp
+++ b/plugins/.cbcp
@@ -9,6 +9,7 @@
# - clip.exe (WSL)
# - clip (Cygwin)
# - wl-copy (Wayland)
+# - clipboard (Haiku)
#
# Limitation: breaks if a filename has newline in it
#
@@ -43,4 +44,7 @@ elif which clip >/dev/null 2>&1; then
elif which wl-copy >/dev/null 2>&1; then
# Wayland
tr '\0' '\n' < "$selection" | wl-copy
+elif which clipboard >/dev/null 2>&1; then
+ # Haiku
+ tr '\0' '\n' < "$selection" | clipboard --stdin
fi