소스 검색

Add complete audio conversion tip

master
Arun Prakash Jana 5 년 전
부모
커밋
cf4ad22676
No known key found for this signature in database GPG 키 ID: A75979F35C080412
2개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      plugins/README.md
  2. +4
    -0
      plugins/ringtone

+ 1
- 1
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'



+ 4
- 0
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


불러오는 중...
취소
저장