aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/nlay/nlay.1
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2018-11-10 12:06:21 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2018-11-10 12:06:21 +0530
commit497911e999d34fbb34a6abdb045afd3e6a6c2d1f (patch)
treef5d292471d2b29a3e32a4fb562ea72827ab2b1e2 /scripts/nlay/nlay.1
parenta095ff485db66f8a98d27a0bee49d6b5118adbb8 (diff)
downloadnnn-497911e999d34fbb34a6abdb045afd3e6a6c2d1f.tar.gz
Retire nlay
Diffstat (limited to 'scripts/nlay/nlay.1')
-rw-r--r--scripts/nlay/nlay.137
1 files changed, 37 insertions, 0 deletions
diff --git a/scripts/nlay/nlay.1 b/scripts/nlay/nlay.1
new file mode 100644
index 0000000..9df0e01
--- /dev/null
+++ b/scripts/nlay/nlay.1
@@ -0,0 +1,37 @@
+.Dd Mar 14, 2018
+.Dt NLAY 1
+.Os
+.Sh NAME
+.Nm nlay
+.Nd a bash script to play files in different apps by file type or run some actions.
+.Sh SYNOPSIS
+.Nm
+file/path type/action
+.Sh DESCRIPTION
+.Nm
+is shipped with \fInnn\fR 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
+.Nm
+is invoked to run a desktop search (\fIgnome-search-tool\fR or \fIcatfish\fR) or screen locker (\fIvlock\fR or \fIbashlock\fR or \fIlock\fR) utility. However,
+.Nm
+can run independently and can be highly customized for personal usage.
+.Pp
+.Nm
+supports the following options:
+.Pp
+"file/path"
+ 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.
+.Pp
+"type/action"
+ This can be any of the strings \fItext\fR, \fIsearch\fR, \fIscript\fR or \fI screensaver\fR.
+.Sh USAGE
+.Pp
+.Bd -literal
+$ nlay info.txt text
+$ nlay . search
+$ nlay ~/script.sh script
+$ nlay "" screensaver
+.Ed
+.Sh AUTHOR
+.An Arun Prakash Jana Aq Mt engineerarun@gmail.com .
+.Sh HOME
+.Em https://github.com/jarun/nnn