NikitaIvanovV / ctpv

Image previews for lf file manager
https://www.nikitaivanov.com/man1/ctpv
MIT License
264 stars 23 forks source link

Chafa preview in lf not works #52

Open ausosawx opened 1 year ago

ausosawx commented 1 year ago

Hello! I am using Hyprland and original lf under Arch .Term is foot.I have followed the README.md and using ctpv in term is normal like this: 2023-04-07_18:04:25

But in lf it is like this: 2023-04-07_18:07:05

Anything i missed?

NikitaIvanovV commented 1 year ago

Have you installed lf-sixel?

abstractheron commented 1 year ago

I am running lf-sixel and I am running into the same issue.

NikitaIvanovV commented 1 year ago

That's weird.

@ausosawx @abstractheron Can you tell more about your setup? Have you tried updating lf-sixel to a more recent version? It looks like an issue on lf side, maybe it got fixed?

bq-wrongway commented 1 year ago

I have the same issue Screenshot from 2023-08-11 17-25-32 I am on wayland, i have installed chaffa the lf-sixel r30, and i provided config as described

OuterHeavenCC commented 1 year ago

I had the same issue on NixOS + Wayland + Hyprland + lf-sixel r30. After switching to this lf-sixel commit and building it myself it started working. This was not a ctpv issue.

    # lf sixel support
    lf = prev.lf.overrideAttrs (old: {
      src = prev.fetchFromGitHub {
        owner = "horriblename";
        repo = "lf";
        rev = "1bb0b43feafba0d5dbc40d4cf71a4f22b547be00";
        sha256 = "CoWF3virzel8TbW79xc6xXxh6K6r9mCeoaAUYcE7VHc=";
      };
    });
bq-wrongway commented 1 year ago

So i should just clone and build lf from source?