a bash script to play files in different apps by file
type or run some actions.
is shipped with nnn
to deliver a
level of flexibility to users to choose their own apps when running some
actions, run some commands or custom scripts. It has provisions to handle text
files too. However, the capability is not used in the latest releases. Now
is invoked to run a desktop search (
) or screen locker (vlock
) utility. However,
can run independently and can be
highly customized for personal usage.
supports the following options:
The first argument can be the file or path to pass as an argument to the app.
It can also be an empty string e.g., while locking the terminal.
This can be any of the strings text
Arun Prakash Jana
$ nlay info.txt text
$ nlay . search
$ nlay ~/script.sh script
$ nlay "" screensaver