aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/nuke
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-12-09 00:34:53 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-12-09 00:34:53 +0530
commitd5512462afa1612eee6018290a55eb6bf151e15f (patch)
treec4b1043cee52b3b5dc80d9c1faa5abf5c6c73130 /plugins/nuke
parent77ebfff98b4aa2fafa5d43e056af4217b9a6c70e (diff)
downloadnnn-d5512462afa1612eee6018290a55eb6bf151e15f.tar.gz
Move nlaunch to plugins as launch
Diffstat (limited to 'plugins/nuke')
-rwxr-xr-xplugins/nuke15
1 files changed, 8 insertions, 7 deletions
diff --git a/plugins/nuke b/plugins/nuke
index 1109894..2bab939 100755
--- a/plugins/nuke
+++ b/plugins/nuke
@@ -1,11 +1,12 @@
#!/usr/bin/env sh
# #############################################################################
-# nuke: a sample script to play files in different apps by file type and mime
-# shell: POSIX compliant
-# usage: nuke filepath
+# Description: Sample script to play files in apps by file type or mime
#
-# nnn integration:
+# Shell: POSIX compliant
+# Usage: nuke filepath
+#
+# Integration with nnn:
# 1. Export the required config:
# export NNN_OPENER=/absolute/path/to/nuke
# # Otherwise, if nuke is in $PATH
@@ -14,7 +15,7 @@
# nnn -c
# 3. nuke can use nnn plugins (e.g. mocplay is used for audio), $PATH is updated.
#
-# details:
+# Details:
# Inspired by ranger's scope.sh, modified for usage with nnn.
#
# Tries to play 'file' (1st argument) in the following order:
@@ -22,7 +23,7 @@
# ii. by mime (image, video, audio, pdf)
# iii. by mime (other file types)
#
-# modification tips:
+# Modification tips:
# 1. Invokes CLI utilities by default. Set GUI to 1 to enable GUI apps.
# 2. PAGER is "less -R".
# 3. Start GUI apps in bg to unblock. Redirect stdout and strerr if required.
@@ -32,7 +33,7 @@
#
# Feel free to change the utilities to your favourites and add more mimes.
#
-# defaults:
+# Defaults:
# By extension (only the enbaled ones):
# most archives: list with atool, bsdtar
# rar: list with unrar