initial dotfiles
This commit is contained in:
commit
45e5fe53d2
370 changed files with 25449 additions and 0 deletions
27
.config/yazi/plugins/preview-audio.yazi/README.md
Normal file
27
.config/yazi/plugins/preview-audio.yazi/README.md
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
<img width="1920" height="1080" alt="preview of alubum art and some audio metadata" src="https://github.com/user-attachments/assets/731bd9b8-b963-43c9-866e-4250885d0bbe" />
|
||||
|
||||
# Installation
|
||||
|
||||
```sh
|
||||
ya pkg add AminurAlam/yazi-plugins:preview-audio
|
||||
```
|
||||
|
||||
# Dependencies
|
||||
|
||||
- `ffmpeg`
|
||||
|
||||
# Usage
|
||||
|
||||
in `~/.config/yazi/yazi.toml`
|
||||
|
||||
```toml
|
||||
[plugin]
|
||||
prepend_previewers = [
|
||||
{ mime = 'audio/mpegurl', run = 'code' }, # ignore .m3u files
|
||||
{ mime = 'audio/*', run = 'preview-audio' },
|
||||
]
|
||||
prepend_preloaders = [
|
||||
{ mime = 'audio/mpegurl', run = 'code' }, # ignore .m3u files
|
||||
{ mime = 'audio/*', run = 'preview-audio' },
|
||||
]
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue