initial dotfiles
This commit is contained in:
commit
45e5fe53d2
370 changed files with 25449 additions and 0 deletions
41
.config/yazi/plugins/krita-preview.yazi/README.md
Normal file
41
.config/yazi/plugins/krita-preview.yazi/README.md
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
# krita-preview.yazi
|
||||
|
||||
A [Yazi](https://github.com/sxyazi/yazi) plugin to preview Krita's .kra and
|
||||
.kra~ files.
|
||||
|
||||
> [!TIP]
|
||||
> Krita's thumbnails are limited to 256x256 pixels.
|
||||
> [zoom.yazi](https://github.com/yazi-rs/plugins/tree/main/zoom.yazi) can help
|
||||
increase the size, but won't change the resolution.
|
||||
|
||||
## Requirements
|
||||
|
||||
Either `unzip` or `7z` need to be installed and available in the PATH.
|
||||
|
||||
## Installation
|
||||
|
||||
```sh
|
||||
ya pkg add walldmtd/krita-preview
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
Add this to `yazi.toml`:
|
||||
|
||||
```toml
|
||||
[plugin]
|
||||
prepend_preloaders = [
|
||||
{ name = "*.kra", run = "krita-preview" },
|
||||
{ name = "*.kra~", run = "krita-preview" },
|
||||
]
|
||||
prepend_previewers = [
|
||||
{ name = "*.kra", run = "krita-preview" },
|
||||
{ name = "*.kra~", run = "krita-preview" },
|
||||
]
|
||||
```
|
||||
|
||||
## Acknowledgements
|
||||
|
||||
- [Yazi](https://github.com/sxyazi/yazi), for
|
||||
[magick.lua](https://github.com/sxyazi/yazi/blob/main/yazi-plugin/preset/plugins/magick.lua)
|
||||
(used as a base for this plugin)
|
||||
Loading…
Add table
Add a link
Reference in a new issue