Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Generate freedesktop-compatible thumbnails while using yazi

License

Bobrokus/allmytoes.yazi

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Allmytoes.yazi

Generate and preview freedesktop-compatible thumbnails for images on Yazi with the power of AllMyToes.

Installation

# Linux only
git clone https://github.com/Sonico98/allmytoes.yazi.git ~/.config/yazi/plugins/allmytoes.yazi

Usage

For the time being, it's recommended to follow these steps instead.

Old instructions, not working for now Add this to your `yazi.toml`:
[[plugin.prepend_previewers]]
mime = "image/*"
exec = "allmytoes"

[[plugin.prepend_preloaders]]
mime = "image/*"
exec = "allmytoes"
Make sure you have AllMyToes [installed](https://gitlab.com/allmytoes/allmytoes#installation) and in your PATH.

Why would I want this instead of the default image previewer?

Compatibility

Because the thumbnails follow the freedesktop spec, they can be generated from any other application that follows the spec, like graphical file managers. This means you'll be able to re-use preexisting thumbnails between yazi and other programs.

Fast

Once generated, yazi will display the largest thumbnail directly the next time you use it. It works just like how the default previewer caches images, but in a multi-application compatible way, and persistent across reboots by default. In my limited, not benchmarked tests, I could notice faster image previews in directories containing multiple large images using allmytoes than with the default previewer.

About

Generate freedesktop-compatible thumbnails while using yazi

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Lua 100.0%