My build of nnn with minor changes
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

123456789101112131415161718192021222324252627282930313233343536
  1. .Dd Mar 14, 2018
  2. .Dt NLAY 1
  3. .Os
  4. .Sh NAME
  5. .Nm nlay
  6. .Nd a bash script to play files in different apps by file type or run some actions.
  7. .Sh SYNOPSIS
  8. .Nm
  9. file/path type/action
  10. .Sh DESCRIPTION
  11. .Nm
  12. is shipped with \fInnn\fR to deliver a level of flexibility to users to choose their own apps when running some actions. It has provisions to handle text files too. However, the capability is not used in the latest releases and the file type is limited to text files only. Now
  13. .Nm
  14. is invoked to run a desktop search utility (\fIgnome-search-tool\fR or \fIcatfish\fR in the same order of priority) or screen locker (\fIvlock\fR, Linux-only). However,
  15. .Nm
  16. can run independently and can be highly customized for personal usage.
  17. .Pp
  18. .Nm
  19. supports the following options:
  20. .Pp
  21. "file/path"
  22. 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.
  23. .Pp
  24. "type/action"
  25. This can be any of the strings \fItext\fR, \fIsearch\fR or \fI screensaver\fR.
  26. .Sh USAGE
  27. .Pp
  28. .Bd -literal
  29. $ nlay info.txt text
  30. $ nlay . search
  31. $ nlay "" screensaver
  32. .Ed
  33. .Sh AUTHOR
  34. .An Arun Prakash Jana Aq Mt engineerarun@gmail.com .
  35. .Sh HOME
  36. .Em https://github.com/jarun/nnn