aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-05-06 10:59:57 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-05-06 10:59:57 +0530
commit8568cd6770b3b17681ccab5e4dbff147754f3dbd (patch)
tree737a54b41249e838f1ca3f456585b055c361e808 /plugins
parentcfbb8f21177bf376698fa4d3b625d9627c1237e9 (diff)
downloadnnn-8568cd6770b3b17681ccab5e4dbff147754f3dbd.tar.gz
Change requires to dependencies
Diffstat (limited to 'plugins')
-rwxr-xr-xplugins/.cbcp17
-rwxr-xr-xplugins/.ntfy2
-rw-r--r--plugins/README.md2
-rwxr-xr-xplugins/autojump2
-rwxr-xr-xplugins/dragdrop2
-rwxr-xr-xplugins/dups2
-rwxr-xr-xplugins/fzopen2
-rwxr-xr-xplugins/hexview2
-rwxr-xr-xplugins/launch2
-rwxr-xr-xplugins/mediainf2
-rwxr-xr-xplugins/mimelist2
-rwxr-xr-xplugins/moclyrics2
-rwxr-xr-xplugins/oldbigfile2
-rwxr-xr-xplugins/pskill2
-rwxr-xr-xplugins/ringtone2
-rwxr-xr-xplugins/upload2
-rwxr-xr-xplugins/vidthumb2
-rwxr-xr-xplugins/x2sel15
18 files changed, 33 insertions, 31 deletions
diff --git a/plugins/.cbcp b/plugins/.cbcp
index 8830e90..bd9910a 100755
--- a/plugins/.cbcp
+++ b/plugins/.cbcp
@@ -1,15 +1,16 @@
#!/usr/bin/env sh
# Description: Copy selection to system clipboard as newline-separated entries
-# Requires: tr and
-# xclip/xsel (Linux)
-# pbcopy (macOS)
-# termux-clipboard-set (Termux)
-# clip.exe (WSL)
-# clip (Cygwin)
-# wl-copy (Wayland)
+# Dependencies:
+# - tr
+# - xclip/xsel (Linux)
+# - pbcopy (macOS)
+# - termux-clipboard-set (Termux)
+# - clip.exe (WSL)
+# - clip (Cygwin)
+# - wl-copy (Wayland)
#
-# LIMITATION: breaks if a filename has newline in it
+# Limitation: breaks if a filename has newline in it
#
# Note: For a space-separated list:
# xargs -0 < "$SELECTION"
diff --git a/plugins/.ntfy b/plugins/.ntfy
index fe0e18a..590ebbd 100755
--- a/plugins/.ntfy
+++ b/plugins/.ntfy
@@ -4,7 +4,7 @@
#
# Details: nnn invokes this plugin to show notification when a cp/mv/rm operation is complete.
#
-# Requires: notify-send (Ubuntu)/ntfy (https://github.com/dschep/ntfy)/osascript (macOS)
+# Dependencies: notify-send (Ubuntu)/ntfy (https://github.com/dschep/ntfy)/osascript (macOS)
#
# Shell: POSIX compliant
# Author: Anna Arad
diff --git a/plugins/README.md b/plugins/README.md
index 17184a8..5b4b75c 100644
--- a/plugins/README.md
+++ b/plugins/README.md
@@ -24,7 +24,7 @@ Plugins are installed to `${XDG_CONFIG_HOME:-$HOME/.config}/nnn/plugins`.
## List of plugins
-| Plugin (a-z) | Description | Lang | Deps |
+| Plugin (a-z) | Description | Lang | Dependencies |
| --- | --- | --- | --- |
| autojump | Navigate to dir/path | sh | autojump |
| boom | Play random music from dir | sh | [moc](http://moc.daper.net/) |
diff --git a/plugins/autojump b/plugins/autojump
index db221f3..54ff07b 100755
--- a/plugins/autojump
+++ b/plugins/autojump
@@ -2,7 +2,7 @@
# Description: Navigate to directory using autojump
#
-# Requires: autojump - https://github.com/wting/autojump
+# Dependencies: autojump - https://github.com/wting/autojump
#
# Note: autojump STORES NAVIGATION PATTERNS
#
diff --git a/plugins/dragdrop b/plugins/dragdrop
index 5734d98..a69ed84 100755
--- a/plugins/dragdrop
+++ b/plugins/dragdrop
@@ -3,7 +3,7 @@
# Description: Open a Drag and drop window, to drop files onto other programs.
# Also provides drag and drop window for files.
#
-# Requires: https://github.com/mwh/dragon
+# Dependencies: https://github.com/mwh/dragon
#
# Notes:
# - Files that are dropped will be added to nnn's selection
diff --git a/plugins/dups b/plugins/dups
index d44ecfc..4f31fc6 100755
--- a/plugins/dups
+++ b/plugins/dups
@@ -4,7 +4,7 @@
#
# Source: https://www.commandlinefu.com/commands/view/3555/find-duplicate-files-based-on-size-first-then-md5-hash
#
-# Requires: find md5sum sort uniq xargs
+# Dependencies: find md5sum sort uniq xargs
#
# Shell: POSIX compliant
# Authors: syssyphus, KlzXS
diff --git a/plugins/fzopen b/plugins/fzopen
index e262d68..a678627 100755
--- a/plugins/fzopen
+++ b/plugins/fzopen
@@ -4,7 +4,7 @@
# Opens in $VISUAL or $EDITOR if text
# Opens other type of files with xdg-open
#
-# Requires: fd/find, fzf/fzy/skim, xdg-open
+# Dependencies: fd/find, fzf/fzy/skim, xdg-open
#
# Shell: POSIX compliant
# Author: Arun Prakash Jana
diff --git a/plugins/hexview b/plugins/hexview
index 3f45583..60b3428 100755
--- a/plugins/hexview
+++ b/plugins/hexview
@@ -1,7 +1,7 @@
#!/usr/bin/env sh
# Description: View a file in hex
-# Requires: xxd and $PAGER
+# Dependencies: xxd and $PAGER
#
# Shell: POSIX compliant
# Author: Arun Prakash Jana
diff --git a/plugins/launch b/plugins/launch
index 0444e91..e983140 100755
--- a/plugins/launch
+++ b/plugins/launch
@@ -9,7 +9,7 @@
#
# xfce4-terminal -e "${XDG_CONFIG_HOME:-$HOME/.config}/nnn/plugins/launch
#
-# Requires: fzf/fzy
+# Dependencies: fzf/fzy
#
# Usage: launch [delay]
# delay is in seconds, if omitted launch waits for 1 sec
diff --git a/plugins/mediainf b/plugins/mediainf
index f76b56b..15640b4 100755
--- a/plugins/mediainf
+++ b/plugins/mediainf
@@ -2,7 +2,7 @@
# Description: Show media information of a file in pager
#
-# Requires: mediainfo
+# Dependencies: mediainfo
#
# Shell: POSIX compliant
# Author: Arun Prakash Jana
diff --git a/plugins/mimelist b/plugins/mimelist
index f179e6e..f38b5fe 100755
--- a/plugins/mimelist
+++ b/plugins/mimelist
@@ -1,7 +1,7 @@
#!/usr/bin/env sh
# Description: Run fd/find in subtree and list files by mime type in smart context
-# Requires: fd/find
+# Dependencies: fd/find
#
# Shell: POSIX compliant
# Author: Arun Prakash Jana
diff --git a/plugins/moclyrics b/plugins/moclyrics
index d9619f9..04e899e 100755
--- a/plugins/moclyrics
+++ b/plugins/moclyrics
@@ -1,7 +1,7 @@
#!/usr/bin/env sh
# Description: Fetches the lyrics of the track currently playing in MOC
-# Requires ddgr (https://github.com/jarun/ddgr)
+# Dependencies: ddgr (https://github.com/jarun/ddgr)
#
# Shell: POSIX compliant
# Author: Arun Prakash Jana
diff --git a/plugins/oldbigfile b/plugins/oldbigfile
index 68f4bed..0a21527 100755
--- a/plugins/oldbigfile
+++ b/plugins/oldbigfile
@@ -2,7 +2,7 @@
# Description: List files bigger than input size by ascending access date.
#
-# Requires: find sort
+# Dependencies: find sort
#
# Shell: POSIX compliant
# Author: Arun Prakash Jana
diff --git a/plugins/pskill b/plugins/pskill
index fdb5396..c23034f 100755
--- a/plugins/pskill
+++ b/plugins/pskill
@@ -2,7 +2,7 @@
# Description: Fuzzy list and kill a (zombie) process by name
#
-# Requires: fzf or fzy, ps
+# Dependencies: fzf or fzy, ps
#
# Note: To kill a zombie process enter "zombie"
#
diff --git a/plugins/ringtone b/plugins/ringtone
index 38c11bd..c18f255 100755
--- a/plugins/ringtone
+++ b/plugins/ringtone
@@ -7,7 +7,7 @@
# Tip: To convert a complete media file, set start as 0 and
# the runtime of the file as end.
#
-# Requires: date, ffmpeg
+# Dependencies: date, ffmpeg
#
# Shell: POSIX compliant
# Author: Arun Prakash Jana
diff --git a/plugins/upload b/plugins/upload
index 28112d4..f2df1c0 100755
--- a/plugins/upload
+++ b/plugins/upload
@@ -2,7 +2,7 @@
# Description: Paste contents of a text a file http://ix.io
# Upload a binary file to file.io
-# Requires: curl, jq, tr
+# Dependencies: curl, jq, tr
# Note: Binary file set to expire after a week
#
# Shell: POSIX compliant
diff --git a/plugins/vidthumb b/plugins/vidthumb
index 6411eb1..248abd7 100755
--- a/plugins/vidthumb
+++ b/plugins/vidthumb
@@ -2,7 +2,7 @@
# Description: Generate video thumbnails and view them
#
-# Requires:
+# Dependencies:
# ffmpegthumbnailer: https://github.com/dirkvdb/ffmpegthumbnailer
# lsix: https://github.com/hackerb9/lsix
#
diff --git a/plugins/x2sel b/plugins/x2sel
index 88f9dcc..09ac68f 100755
--- a/plugins/x2sel
+++ b/plugins/x2sel
@@ -1,13 +1,14 @@
#!/usr/bin/env sh
# Description: Copy system clipboard newline-separated file list to selection
-# Requires: tr and
-# xclip/xsel (Linux)
-# pbpaste (macOS)
-# termux-clipboard-get (Termux)
-# powershell (WSL)
-# cygwim's /dev/clipboard (Cygwin)
-# wl-paste (Wayland)
+# Dependencies:
+# - tr
+# - xclip/xsel (Linux)
+# - pbpaste (macOS)
+# - termux-clipboard-get (Termux)
+# - powershell (WSL)
+# - cygwim's /dev/clipboard (Cygwin)
+# - wl-paste (Wayland)
#
# Limitation: breaks if a filename has newline in it
#