Run the bash script fzf-preview.sh
.
This chooses an image viewer and calls fzf
with preview script fzf-file2preview.sh
.
fzf
: junegunn/fzf
This is the only critical dependency. The rest expand functionality and can be added as needed.
ueberzugpp
: jstkdng/ueberzugpp (suggested)
Alternatives:
ueberzug
: ueber-devel/ueberzug
chafa
: hpjansson/chafa
catimg
: posva/catimg
Also works within a kitty
terminal employing kitty icat
.
audio: ffmpeg
, exiftool
video: ffmpegthumbnailer
djvu: ddjvu
docx: docx2txt
eml (email): mu
epub: epub-thumbnailer
markdown: glow
odt: odt2txt
pdf: pdftoppm
bz2: bzcat
gz: unzip
xz: xzcat
zip: zcat