]> Sergey Matveev's repositories - nnn.git/commit
Add a tabbed/xembed based file previewer plugin (#552)
authorlvgx <l@vgx.fr>
Tue, 5 May 2020 18:58:57 +0000 (20:58 +0200)
committerGitHub <noreply@github.com>
Tue, 5 May 2020 18:58:57 +0000 (00:28 +0530)
commitf47700a609cf1e17c9a796c26da3885c880255d4
treec2abe000aa0197a82d8403ca252d0ad80082064d
parent4c18f2258782c91b894055f0a4977700717599de
Add a tabbed/xembed based file previewer plugin (#552)

* Add a tabbed/xembed based file previewer plugin

This plugin is written in bash, because job control is not well
specified in POSIX sh (`jobs` can return anything).

We use `tabbed` [1] as a xembed [2] host, to have a single window
owning each previewer window.

Uses mpv, sxiv, zathura, and the nuke plugin.

[1]: http://tools.suckless.org/tabbed/
[2]: https://specifications.freedesktop.org/xembed-spec/xembed-spec-latest.html

* tabbed-preview: prevent focus steal with xdotool

* preview-tabbed: tabs->4 spaces

* preview-tabbed: add focus prevention timeout
plugins/README.md
plugins/preview-tabbed [new file with mode: 0755]