nixcfg
nixcfg copied to clipboard
fix image previews in terminal
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!
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!
looks like switching to 'foot' terminal emulator might get me these wins!
have to also install 'libsixel', which is currently marked 'insecure' in nixpkgs. wait for a future update to fix these vulnerabilities before continuing
https://codeberg.org/dnkl/foot#user-content-installing
This is coming for alacritty (and I'd rather use a cross-platfomr solution than anything else)! https://github.com/alacritty/alacritty/issues/910.
Need to wait for a new alacritty release to support libsixel and thus get this image viewer!