Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Image previews for Vifm (vi file manager) using Überzug

License

NotificationsYou must be signed in to change notification settings

thimc/vifmimg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

image

This script is used alongvifm to generate image previews for various file types in vifm.

If you want image preview support forlf check outcirala/lfimg.

The script is currently able to handle the following formats:

  • Video
  • Pdf
  • Djvu
  • eBook
  • Images
  • Audio files
  • Fonts

All previews are cached (except for regular images) and stored in your~/.cache/vifm/ folder.

Installation

  1. Copy thevifmimg andvifmrun scripts to a folder that is included in your $PATHvariable for easy access to the files.

  2. 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
  1. In order to launch vifm with image preview support from now on, you will need to use the suppliedvifmrun script.

I recommend that you make an alias in your shell that points to vifm.

Prerequisites

Credits

  • Seebye for creatingÜberzug and the initial scriptthat this script is heavily based upon.
  • Ranger's approach to file previewing as aninspiration source.

About

Image previews for Vifm (vi file manager) using Überzug

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp