README.md | 4 +++- plugins/preview-tabbed | 6 ++++-- diff --git a/README.md b/README.md index 19a6c3fecba14a7a8e2b344061f1feb3b4c0f478..f5b50ff9ff6fd84e02db102c7c0fdb38a1cc2d75 100644 --- a/README.md +++ b/README.md @@ -95,7 +95,8 @@ - Case-insensitive version (_aka_ natural) sort - By file name, access/change/mod (default) time, size, extension - Reverse sort - Mimes - - Open with desktop opener or specify a custom app + - Open with desktop opener or specify a custom opener + - Preview files with FIFO-based previewer - Create, list, extract, mount (FUSE based) archives - Option to open all text files in EDITOR - Information @@ -134,6 +135,7 @@ - [Arun Prakash Jana](https://github.com/jarun) (Copyright © 2016-2020) - [0xACE](https://github.com/0xACE) - [Anna Arad](https://github.com/annagrram) - [KlzXS](https://github.com/KlzXS) +- [leovilok](https://github.com/leovilok) - [Maxim Baz](https://github.com/maximbaz) - and other contributors diff --git a/plugins/preview-tabbed b/plugins/preview-tabbed index 654ffca75a7456b35e695ef1f5847d290fcab4da..db94fdca2f596738515f2ac21c00065b32326ef0 100755 --- a/plugins/preview-tabbed +++ b/plugins/preview-tabbed @@ -5,7 +5,7 @@ # # Note: This plugin needs a "NNN_FIFO" to work. See man. # # Shell: Bash (job control is weakly specified in POSIX) -# +# # Dependencies: # - tabbed (https://tools.suckless.org/tabbed): xembed host # - xterm (or urxvt or st) : xembed client for text-based preview @@ -45,6 +45,8 @@ # - but we allways fallback to `nuke` plugin # # [1]: http://tools.suckless.org/tabbed/ # [2]: https://specifications.freedesktop.org/xembed-spec/xembed-spec-latest.html +# +# Author: leovilok XDOTOOL_TIMEOUT=2 @@ -109,7 +111,7 @@ # but make interaction with the preview window harder # (uncomment to use): #xdotool behave "$XID" focus windowactivate "$MAINWINDOW" & - while read -r FILE ; do + while read -r FILE ; do jobs # Get rid of the "Completed" entries