Skip to content
Discussion options

You must be logged in to vote

Add this to your yazi.toml:

[plugin]
prepend_preloaders = [
  { mime = "image/svg+xml", run = "svg --bg=white" }
]
prepend_previewers = [
  { mime = "image/svg+xml", run = "svg --bg=white" }
]

and do a yazi --clear-cache before restarting Yazi should work

Edit: note that the --bg option is newly introduced in #3189 and a nightly build is required at the moment

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@kmcnayr
Comment options

Answer selected by kmcnayr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
1. Q&A
Labels
None yet
2 participants