aboutsummaryrefslogtreecommitdiffstats
path: root/misc/clipboard-copier
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-12-12 19:51:08 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-12-12 19:51:08 +0530
commitfd8a8387b8a21216ae379f6a8c448c82fd52fd28 (patch)
tree915ce95e9ed0842fe7a86dfe160e0052826dbc65 /misc/clipboard-copier
parentf95ee54870e2259e9384c6f5641cb6d374526a65 (diff)
downloadnnn-fd8a8387b8a21216ae379f6a8c448c82fd52fd28.tar.gz
Add option to show noti and copy selection to system clipboard
Diffstat (limited to 'misc/clipboard-copier')
-rwxr-xr-xmisc/clipboard-copier/copier23
1 files changed, 0 insertions, 23 deletions
diff --git a/misc/clipboard-copier/copier b/misc/clipboard-copier/copier
deleted file mode 100755
index 6ac3ba6..0000000
--- a/misc/clipboard-copier/copier
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/usr/bin/env sh
-
-# Description: Copy selection to clipboard
-#
-# Shell: POSIX compliant
-# Author: Arun Prakash Jana
-
-SELECTION=${XDG_CONFIG_HOME:-$HOME/.config}/nnn/.selection
-
-# Linux
-xargs -0 < "$SELECTION" | xsel -bi
-
-# macOS
-# xargs -0 < "$SELECTION" | pbcopy
-
-# Termux
-# xargs -0 < "$SELECTION" | termux-clipboard-set
-
-# Cygwin
-# xargs -0 < "$SELECTION" | clip
-
-# Wayland
-# xargs -0 < "$SELECTION" | wl-copy