Browse Source

Change requires to dependencies

master
Arun Prakash Jana 5 years ago
parent
commit
8568cd6770
No known key found for this signature in database GPG Key ID: A75979F35C080412
18 changed files with 33 additions and 31 deletions
  1. +9
    -8
      plugins/.cbcp
  2. +1
    -1
      plugins/.ntfy
  3. +1
    -1
      plugins/README.md
  4. +1
    -1
      plugins/autojump
  5. +1
    -1
      plugins/dragdrop
  6. +1
    -1
      plugins/dups
  7. +1
    -1
      plugins/fzopen
  8. +1
    -1
      plugins/hexview
  9. +1
    -1
      plugins/launch
  10. +1
    -1
      plugins/mediainf
  11. +1
    -1
      plugins/mimelist
  12. +1
    -1
      plugins/moclyrics
  13. +1
    -1
      plugins/oldbigfile
  14. +1
    -1
      plugins/pskill
  15. +1
    -1
      plugins/ringtone
  16. +1
    -1
      plugins/upload
  17. +1
    -1
      plugins/vidthumb
  18. +8
    -7
      plugins/x2sel

+ 9
- 8
plugins/.cbcp View File

@@ -1,15 +1,16 @@
#!/usr/bin/env sh #!/usr/bin/env sh


# Description: Copy selection to system clipboard as newline-separated entries # Description: Copy selection to system clipboard as newline-separated entries
# Requires: tr and # Dependencies:
# xclip/xsel (Linux) # - tr
# pbcopy (macOS) # - xclip/xsel (Linux)
# termux-clipboard-set (Termux) # - pbcopy (macOS)
# clip.exe (WSL) # - termux-clipboard-set (Termux)
# clip (Cygwin) # - clip.exe (WSL)
# wl-copy (Wayland) # - 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: # Note: For a space-separated list:
# xargs -0 < "$SELECTION" # xargs -0 < "$SELECTION"


+ 1
- 1
plugins/.ntfy View File

@@ -4,7 +4,7 @@
# #
# Details: nnn invokes this plugin to show notification when a cp/mv/rm operation is complete. # 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 # Shell: POSIX compliant
# Author: Anna Arad # Author: Anna Arad


+ 1
- 1
plugins/README.md View File

@@ -24,7 +24,7 @@ Plugins are installed to `${XDG_CONFIG_HOME:-$HOME/.config}/nnn/plugins`.


## List of plugins ## List of plugins


| Plugin (a-z) | Description | Lang | Deps | | Plugin (a-z) | Description | Lang | Dependencies |
| --- | --- | --- | --- | | --- | --- | --- | --- |
| autojump | Navigate to dir/path | sh | autojump | | autojump | Navigate to dir/path | sh | autojump |
| boom | Play random music from dir | sh | [moc](http://moc.daper.net/) | | boom | Play random music from dir | sh | [moc](http://moc.daper.net/) |


+ 1
- 1
plugins/autojump View File

@@ -2,7 +2,7 @@


# Description: Navigate to directory using autojump # 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 # Note: autojump STORES NAVIGATION PATTERNS
# #


+ 1
- 1
plugins/dragdrop View File

@@ -3,7 +3,7 @@
# Description: Open a Drag and drop window, to drop files onto other programs. # Description: Open a Drag and drop window, to drop files onto other programs.
# Also provides drag and drop window for files. # Also provides drag and drop window for files.
# #
# Requires: https://github.com/mwh/dragon # Dependencies: https://github.com/mwh/dragon
# #
# Notes: # Notes:
# - Files that are dropped will be added to nnn's selection # - Files that are dropped will be added to nnn's selection


+ 1
- 1
plugins/dups View File

@@ -4,7 +4,7 @@
# #
# Source: https://www.commandlinefu.com/commands/view/3555/find-duplicate-files-based-on-size-first-then-md5-hash # 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 # Shell: POSIX compliant
# Authors: syssyphus, KlzXS # Authors: syssyphus, KlzXS


+ 1
- 1
plugins/fzopen View File

@@ -4,7 +4,7 @@
# Opens in $VISUAL or $EDITOR if text # Opens in $VISUAL or $EDITOR if text
# Opens other type of files with xdg-open # 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 # Shell: POSIX compliant
# Author: Arun Prakash Jana # Author: Arun Prakash Jana


+ 1
- 1
plugins/hexview View File

@@ -1,7 +1,7 @@
#!/usr/bin/env sh #!/usr/bin/env sh


# Description: View a file in hex # Description: View a file in hex
# Requires: xxd and $PAGER # Dependencies: xxd and $PAGER
# #
# Shell: POSIX compliant # Shell: POSIX compliant
# Author: Arun Prakash Jana # Author: Arun Prakash Jana


+ 1
- 1
plugins/launch View File

@@ -9,7 +9,7 @@
# #
# xfce4-terminal -e "${XDG_CONFIG_HOME:-$HOME/.config}/nnn/plugins/launch # xfce4-terminal -e "${XDG_CONFIG_HOME:-$HOME/.config}/nnn/plugins/launch
# #
# Requires: fzf/fzy # Dependencies: fzf/fzy
# #
# Usage: launch [delay] # Usage: launch [delay]
# delay is in seconds, if omitted launch waits for 1 sec # delay is in seconds, if omitted launch waits for 1 sec


+ 1
- 1
plugins/mediainf View File

@@ -2,7 +2,7 @@


# Description: Show media information of a file in pager # Description: Show media information of a file in pager
# #
# Requires: mediainfo # Dependencies: mediainfo
# #
# Shell: POSIX compliant # Shell: POSIX compliant
# Author: Arun Prakash Jana # Author: Arun Prakash Jana


+ 1
- 1
plugins/mimelist View File

@@ -1,7 +1,7 @@
#!/usr/bin/env sh #!/usr/bin/env sh


# Description: Run fd/find in subtree and list files by mime type in smart context # Description: Run fd/find in subtree and list files by mime type in smart context
# Requires: fd/find # Dependencies: fd/find
# #
# Shell: POSIX compliant # Shell: POSIX compliant
# Author: Arun Prakash Jana # Author: Arun Prakash Jana


+ 1
- 1
plugins/moclyrics View File

@@ -1,7 +1,7 @@
#!/usr/bin/env sh #!/usr/bin/env sh


# Description: Fetches the lyrics of the track currently playing in MOC # 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 # Shell: POSIX compliant
# Author: Arun Prakash Jana # Author: Arun Prakash Jana


+ 1
- 1
plugins/oldbigfile View File

@@ -2,7 +2,7 @@


# Description: List files bigger than input size by ascending access date. # Description: List files bigger than input size by ascending access date.
# #
# Requires: find sort # Dependencies: find sort
# #
# Shell: POSIX compliant # Shell: POSIX compliant
# Author: Arun Prakash Jana # Author: Arun Prakash Jana


+ 1
- 1
plugins/pskill View File

@@ -2,7 +2,7 @@


# Description: Fuzzy list and kill a (zombie) process by name # 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" # Note: To kill a zombie process enter "zombie"
# #


+ 1
- 1
plugins/ringtone View File

@@ -7,7 +7,7 @@
# Tip: To convert a complete media file, set start as 0 and # Tip: To convert a complete media file, set start as 0 and
# the runtime of the file as end. # the runtime of the file as end.
# #
# Requires: date, ffmpeg # Dependencies: date, ffmpeg
# #
# Shell: POSIX compliant # Shell: POSIX compliant
# Author: Arun Prakash Jana # Author: Arun Prakash Jana


+ 1
- 1
plugins/upload View File

@@ -2,7 +2,7 @@


# Description: Paste contents of a text a file http://ix.io # Description: Paste contents of a text a file http://ix.io
# Upload a binary file to file.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 # Note: Binary file set to expire after a week
# #
# Shell: POSIX compliant # Shell: POSIX compliant


+ 1
- 1
plugins/vidthumb View File

@@ -2,7 +2,7 @@


# Description: Generate video thumbnails and view them # Description: Generate video thumbnails and view them
# #
# Requires: # Dependencies:
# ffmpegthumbnailer: https://github.com/dirkvdb/ffmpegthumbnailer # ffmpegthumbnailer: https://github.com/dirkvdb/ffmpegthumbnailer
# lsix: https://github.com/hackerb9/lsix # lsix: https://github.com/hackerb9/lsix
# #


+ 8
- 7
plugins/x2sel View File

@@ -1,13 +1,14 @@
#!/usr/bin/env sh #!/usr/bin/env sh


# Description: Copy system clipboard newline-separated file list to selection # Description: Copy system clipboard newline-separated file list to selection
# Requires: tr and # Dependencies:
# xclip/xsel (Linux) # - tr
# pbpaste (macOS) # - xclip/xsel (Linux)
# termux-clipboard-get (Termux) # - pbpaste (macOS)
# powershell (WSL) # - termux-clipboard-get (Termux)
# cygwim's /dev/clipboard (Cygwin) # - powershell (WSL)
# wl-paste (Wayland) # - cygwim's /dev/clipboard (Cygwin)
# - wl-paste (Wayland)
# #
# Limitation: breaks if a filename has newline in it # Limitation: breaks if a filename has newline in it
# #


||||||
x
 
000:0
Loading…
Cancel
Save