mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 11:51:27 +00:00
.. | ||
nplay | ||
README.md |
nplay
nplay
(NnnPLAY) is a customizable file opener by file extension or mime type.
It is customizable and written for the CLI mode by default. To set GUI mode and use GUI apps by change the line
GUI=0
to
GUI=1
Usage
nplay filepath
Integration with nnn
-
Export the required config:
export NNN_OPENER=/path/to/nplay # Otherwise, if nplay is in $PATH export NNN_OPENER=nplay
-
Run
nnn
with the program option to indicate a CLI openernnn -c
-
nplay
can usennn
plugins (e.g. mocplay is used for audio), $PATH is updated to includennn
plugins dir.