aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md4
-rwxr-xr-xplugins/preview-tabbed6
2 files changed, 7 insertions, 3 deletions
diff --git a/README.md b/README.md
index 19a6c3f..f5b50ff 100644
--- a/README.md
+++ b/README.md
@@ -95,7 +95,8 @@ It runs smoothly on the Pi, [Termux](https://www.youtube.com/watch?v=AbaauM7gUJw
- 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 @@ Don't memorize! Arrows (or <kbd>h</kbd> <kbd>j</kbd> <kbd>k</kbd> <kbd>l</kbd>),
- [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 654ffca..db94fdc 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 @@
#
# [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 @@ previewer_loop () {
# (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