thimc / lfimg

Image preview support for lf (list files) using Überzug
GNU General Public License v3.0
252 stars 45 forks source link

after the updated the script do nothing #30

Open d7eeem opened 2 years ago

d7eeem commented 2 years ago

after i updated the script accordingly it stopped working all together before that the preview would be above the text

after

thimc commented 2 years ago

I need more info in order to resolve your issue.

Are you sure that ueberzug is installed? Are you sure that lf is configured correctly?

cain-dev commented 2 years ago

running arch 5.15.34 lts wayland sway i have ueberzug and chafa installed

i have lfrun on /bin

my .config/lf/lfrc have the lines:

set ratios 1:2:3 set cleaner ~/.config/lf/cleaner set previewer ~.config/lf/preview

previews don't show with lfrun

TheRealLorenz commented 2 years ago

wayland sway

As far as I know ueberzug only works on X11

ueberzug is a command line util which allows to display images in combination with X11. [...] https://github.com/seebye/ueberzug

cain-dev commented 2 years ago

wayland sway

As far as I know ueberzug only works on X11

ueberzug is a command line util which allows to display images in combination with X11. [...] https://github.com/seebye/ueberzug

Of course! The reason i've said i have ueberzug and chafa is>

"Besides lf and Überzug you will need to install the following packages: ffmpegthumbnailer ImageMagick poppler epub-thumbnailer wkhtmltopdf chafa (optional - for image preview over SSH or inside Wayland session)"

But still doesn't work, could you help me with that sir?

EDIT: After the entire night awake i have enabled the xterm-256color on foot.ini and now chafa works.

Is there any way to increase the image quality btw?