aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-10-25 07:50:54 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-10-25 07:50:54 +0530
commitcf4ad22676700dcb750c0ef4bd7e73946f11ac6f (patch)
treedf5d40d817fa84b7841e805127419a52982350f9 /plugins
parentb987931f47a0e062fe85b46052910af2d3c21488 (diff)
downloadnnn-cf4ad22676700dcb750c0ef4bd7e73946f11ac6f.tar.gz
Add complete audio conversion tip
Diffstat (limited to 'plugins')
-rw-r--r--plugins/README.md2
-rwxr-xr-xplugins/ringtone4
2 files changed, 5 insertions, 1 deletions
diff --git a/plugins/README.md b/plugins/README.md
index 9007eb4..5163cb2 100644
--- a/plugins/README.md
+++ b/plugins/README.md
@@ -66,7 +66,7 @@ Plugins are installed to `${XDG_CONFIG_HOME:-$HOME/.config}/nnn/plugins`. You ca
With this, plugin `fzy-open` can be run with the keybind <kbd>:o</kbd>, `mocplay` can be run with <kbd>:p</kbd> and so on... The key vs. plugin pairs are shown in the help and config screen. Up to 10 plugins can have such keybinds.
-To assign keys to arbitrary cli commands (non-shell-interpreted) and invoke like plugins, add `_` (underscore) before the command. For example:
+To assign keys to arbitrary non-background cli commands (non-shell-interpreted) and invoke like plugins, add `_` (underscore) before the command. For example:
export NNN_PLUG='x:_chmod +x;o:fzy-open'
diff --git a/plugins/ringtone b/plugins/ringtone
index ee7ae8a..d67a409 100755
--- a/plugins/ringtone
+++ b/plugins/ringtone
@@ -3,6 +3,10 @@
# Description: Create an mp3 ringtone out of an audio file in any format
# Needs user to provide start and end where to cut the file
# Input file audio.ext results in audio_ringtone.mp3
+#
+# Tip: To convert a complete media file, set start as 0 and
+# the runtime of the file as end.
+#
# Requires: date, ffmpeg
#
# Shell: POSIX compliant