diff --git a/plugins/README.md b/plugins/README.md index 9e494ddc..8dbbbe1a 100644 --- a/plugins/README.md +++ b/plugins/README.md @@ -53,7 +53,6 @@ Plugins extend the capabilities of `nnn`. They are _executable_ scripts (or bina | [organize](organize) | Auto-organize files in directories by file type [✓] | sh | file | | [pdfread](pdfread) | Read a PDF or text file aloud | sh | pdftotext, mpv,
pico2wave | | [pdfview](pdfview) | View PDF file in `$PAGER` | sh | pdftotext/
mupdf-tools | -| [picker](picker) | Pick files and list one per line (to pipe) | sh | nnn | | [preview-tabbed](preview-tabbed) | Preview files with Tabbed/xembed | bash | _see in-file docs_ | | [preview-tui](preview-tui) | Preview with Tmux/kitty/[QuickLook](https://github.com/QL-Win/QuickLook)/xterm/`$TERMINAL` | sh | _see in-file docs_ | | [pskill](pskill) | Fuzzy list by name and kill process or zombie | sh | fzf, ps, sudo/doas | @@ -63,12 +62,10 @@ Plugins extend the capabilities of `nnn`. They are _executable_ scripts (or bina | [splitjoin](splitjoin) | Split file or join selection [✓] | sh | split, cat | | [suedit](suedit) | Edit file using superuser permissions | sh | sudoedit/sudo/doas | | [togglex](togglex) | Toggle executable mode for selection [✓] | sh | chmod | -| [treeview](treeview) | Informative tree output in `$EDITOR` | sh | tree | | [uidgid](uidgid) | List user and group of all files in dir | sh | ls, less | | [umounttree](umounttree) | Unmount a remote mountpoint from within | sh | fusermount | -| [upgrade](upgrade) | Upgrade nnn manually on Debian 9 Stretch | sh | curl | | [upload](upload) | Upload to Firefox Send or ix.io (text) or file.io (bin) | sh | [ffsend](https://github.com/timvisee/ffsend), curl, jq, tr | -| [wall](wall) | Set wallpaper or change colorscheme | sh | nitrogen/pywal | +| [wallpaper](wall) | Set wallpaper or change colorscheme | sh | nitrogen/pywal | | [x2sel](x2sel) | Copy file list from system clipboard to selection | sh | _see in-file docs_ | | [xdgdefault](xdgdefault) | Set the default app for the hovered file type | sh | xdg-utils, fzf | diff --git a/plugins/picker b/plugins/picker deleted file mode 100755 index 93acca54..00000000 --- a/plugins/picker +++ /dev/null @@ -1,26 +0,0 @@ -#!/usr/bin/env sh - -# Description: Pick files and pipe the newline-separated list to another utility -# -# Usage: -# Copy this file in your $PATH, make it executable and preferably name it to picker. -# Run commands like: -# ls -l `picker` -# cd `picker` -# vimdiff `picker` -# or, in fish shell: -# ls -l (picker) -# cd (picker) -# vimdiff (picker) -# -# Note: This use case is limited to picking files, other functionality may not work as expected. -# -# Shell: POSIX compliant -# Author: Arun Prakash Jana - -nnn -p /tmp/picked - -if [ -f /tmp/picked ]; then - tr '\0' '\n' < /tmp/picked - rm /tmp/picked -fi diff --git a/plugins/renamer b/plugins/renamer index d01cca66..51c586ef 100755 --- a/plugins/renamer +++ b/plugins/renamer @@ -1,6 +1,6 @@ #!/usr/bin/env sh -# Description: Batch rename selection or current directory with qmv +# Description: Batch rename selection or current directory with qmv or vidir # # Notes: # - Try to mimic current batch rename functionality but with correct diff --git a/plugins/treeview b/plugins/treeview deleted file mode 100755 index c8f8784a..00000000 --- a/plugins/treeview +++ /dev/null @@ -1,8 +0,0 @@ -#!/usr/bin/env sh - -# Description: Show tree output in $EDITOR -# -# Shell: POSIX compliant -# Author: Arun Prakash Jana - -tree -ps | $EDITOR - diff --git a/plugins/upgrade b/plugins/upgrade deleted file mode 100755 index 3be9a837..00000000 --- a/plugins/upgrade +++ /dev/null @@ -1,25 +0,0 @@ -#!/usr/bin/env sh - -# Description: Check and update to latest version of nnn manually on Debian 9 Stretch -# -# Note: This script installs a package, should be issued with admin privilege -# -# Shell: POSIX compliant -# Author: Arun Prakash Jana - -cur="$(nnn -v)" -new="$(curl -s "https://github.com/jarun/nnn/releases/latest" | grep -Eo "[0-9]+\.[0-9]+")" - -if [ "$cur" = "$new" ]; then - echo 'Already at latest version' - exit 0 -fi - -# get the package -curl -Ls -O "https://github.com/jarun/nnn/releases/download/v$new/nnn_$new-1_debian9.amd64.deb" - -# install it -sudo dpkg -i nnn_"$new"-1_debian9.amd64.deb - -# remove the file -rm -rf nnn_"$new"-1_debian9.amd64.deb diff --git a/plugins/wall b/plugins/wallpaper similarity index 100% rename from plugins/wall rename to plugins/wallpaper