nixcfg icon indicating copy to clipboard operation
nixcfg copied to clipboard

fix image previews in terminal

Open jakeisnt opened this issue 4 years ago • 6 comments

In Alacritty... there are some X11 terminals that work, but the DPI scaling is terrible with XWayland!

  • Find a terminal with proper wayland and images support
  • Find an image viewer that successfully previews those images
  • Configure them to work!

jakeisnt avatar Jan 12 '21 19:01 jakeisnt

this now corresponds to lf rather than ranger for image previews but the idea remains the same

  • find an executable
  • write an lf preview script to support it
  • don't just support image previews - also support pdf and video!

jakeisnt avatar Feb 25 '21 18:02 jakeisnt

looks like switching to 'foot' terminal emulator might get me these wins!

jakeisnt avatar Jul 26 '21 18:07 jakeisnt

have to also install 'libsixel', which is currently marked 'insecure' in nixpkgs. wait for a future update to fix these vulnerabilities before continuing

jakeisnt avatar Jul 26 '21 18:07 jakeisnt

https://codeberg.org/dnkl/foot#user-content-installing

jakeisnt avatar Jul 26 '21 18:07 jakeisnt

This is coming for alacritty (and I'd rather use a cross-platfomr solution than anything else)! https://github.com/alacritty/alacritty/issues/910.

jakeisnt avatar Jan 23 '22 23:01 jakeisnt

Need to wait for a new alacritty release to support libsixel and thus get this image viewer!

jakeisnt avatar Jun 15 '22 10:06 jakeisnt