-
has anyone been able to get Chafa to work with the preview function on fzf? Kitty's icat recently broke after an update. So far ueberzug is the only one that still works to this day, which is kind of wild because its archived and gone. It sucks because I was using this functionality for a ton of really cool scripts for managing libraries of music, books, manga etc... I was wondering if anyone has got Chafa to work with fzf or maybe someone can clue me in on the matter |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Looks like someone made it work: https://old.reddit.com/r/commandline/comments/o7xkjp/fzf_preview_anything/ PeFClic's reply in that thread indicates it's possible, although it seems like fzf was unable to pass through the escape codes needed to make sixel or other more advanced image protocols work. They seem to be using Pistol with a configuration file entry that looks like this:
You may want to add |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
Looks like someone made it work: https://old.reddit.com/r/commandline/comments/o7xkjp/fzf_preview_anything/
PeFClic's reply in that thread indicates it's possible, although it seems like fzf was unable to pass through the escape codes needed to make sixel or other more advanced image protocols work.
They seem to be using Pistol with a configuration file entry that looks like this:
image/* chafa %pistol-filename%
You may want to add
-f symbol
to the command line if it's printing garbage (sixels or kitty protocol being filtered by fzf). I haven't tested this myself, so YMMV :-)