Skip to content

i-tsvetkov/sxiv-patches

Repository files navigation

Sxiv Patches

sxiv-square-thumbnails.patch

Makes the thumbnails square:

sxiv-window-fit-image.patch

Makes the window fit the image when displaying single image:

sxiv-thumbnail-type-from-image.patch

Makes sxiv derive the thumbnail type from the image so sxiv can support transparent thumbnails:

sxiv-image-mode-cycle.patch

adds the ability to cycle when viewing multiple images

sxiv-square-thumbnails-b2dbd2f.patch

old version of sxiv-square-thumbnails.patch
last working commit is b2dbd2f

sxiv.rb

Ruby script for finding optimal thumbnail size.
The thumbnail size is calculated so that when viewing thumbnails in full screen the empty space is minimal.

The calculation uses the width and height of the display.
If you are using the bottom bar you have to substract his height(by default the font size + 2px) from the height of the display.

The calculation can be done for windows too.

sxiv.rb -w <window-width> -h <window-height>

For more information:

sxiv.rb --help

About

set of patches for sxiv image viewer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages