项目
在 GitHub 查看
thimc/vifmimg
关于
Image previews for Vifm (vi file manager) using Überzug
效率与自动化实测星标增长
- 24小时
- -1
- 7天
- -1
- 15天
- -1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Image previews using Überzug for vifm (vi file manager)

This script is used along vifm to generate image previews for various file types in vifm.
If you want image preview support for lf check out cirala/lfimg.
The script is currently able to handle the following formats:
- Video
- Djvu
- eBook
- Images
- Audio files
- Fonts
All previews are cached (except for regular images) and stored in your ~/.cache/vifm/ folder.
Installation
Copy the vifmimg and vifmrun scripts to a folder that is included in your $PATH variable for easy access to the files.
Edit your ~/.config/vifm/vifmrc file and add fileviewer properties like so:
fileviewer *.pdf
\ vifmimg pdf %px %py %pw %ph %c
\ %pc
\ vifmimg clear
fileviewer *.djvu
\ vifmimg djvu %px %py %pw %ph %c
\ %pc
\ vifmimg clear
fileviewer *.epub
\ vifmimg epub %px %py %pw %ph %c
\ %pc
\ vifmimg clear
fileviewer <video/*>
\ vifmimg video %px %py %pw %ph %c
\ %pc
\ vifmimg clear
fileviewer <image/*>
\ vifmimg draw %px %py %pw %ph %c
\ %pc
\ vifmimg clear
fileviewer <audio/*>
\ vifmimg audio %px %py %pw %ph %c
\ %pc
\ vifmimg clear
fileviewer <font/*>
\ vifmimg font %px %py %pw %ph %c
\ %pc
\ vifmimg clear
- In order to launch vifm with image preview support from now on, you will need to use the supplied vifmrun script.
I recommend that you make an alias in your shell that points to vifm.
Prerequisites
- Überzug and Vifm (isn't this obvious?)
- ffmpegthumbnailer
- ImageMagick
- pdftoppm (Available in the AUR as
popplerpackage.) - ddjvu (Contains in the Debian/Ubuntu
djvulibre-binpackage.) - epub-thumbnailer
- fontpreview
Credits
探索相关项目
加载中…