2015-11-10 17:51:16 +01:00
|
|
|
imv - X11/Wayland Image Viewer
|
|
|
|
==============================
|
2015-11-05 20:57:24 +01:00
|
|
|
|
2015-11-06 19:01:05 +01:00
|
|
|
`imv` is a command line image viewer intended for use with tiling window managers.
|
2015-11-05 20:57:24 +01:00
|
|
|
|
2015-11-06 19:01:05 +01:00
|
|
|
Features
|
|
|
|
--------
|
|
|
|
|
2015-11-10 17:51:16 +01:00
|
|
|
* Wayland Support
|
|
|
|
* Support for over 30 different image file formats including:
|
|
|
|
* Photoshop PSD files
|
|
|
|
* Animated GIFS
|
|
|
|
* Various RAW formats
|
2015-11-05 23:31:38 +01:00
|
|
|
|
2015-11-06 19:01:05 +01:00
|
|
|
Usage
|
|
|
|
-----
|
|
|
|
|
|
|
|
### Opening images
|
|
|
|
imv image1.png another_image.jpeg yet_another.TIFF
|
|
|
|
|
|
|
|
### Opening images via stdin
|
2015-11-20 00:28:01 +01:00
|
|
|
find . "*.png" | imv -
|
2015-11-09 15:56:46 +01:00
|
|
|
|
|
|
|
### Autoscale images to fit the window
|
|
|
|
imv -s *.gif
|
|
|
|
|
|
|
|
### Open an image fullscreen (and scale to fit screen)
|
|
|
|
imv -fs image.jpeg
|
2015-11-06 19:01:05 +01:00
|
|
|
|
2015-11-12 19:49:11 +01:00
|
|
|
### Viewing images in a random order
|
2015-11-20 00:28:01 +01:00
|
|
|
find . "*.png" | shuf | imv -
|
2015-11-06 19:01:05 +01:00
|
|
|
|
2015-11-12 19:49:11 +01:00
|
|
|
### Image picker
|
2015-12-11 16:38:26 +01:00
|
|
|
imv can be used to select images in a pipeline by using the `p` hotkey to print
|
|
|
|
the current image's path to stdout. The `-l` flag can also be used to tell imv
|
|
|
|
to list the remaining paths on exit for a "open set of images, close unwanted
|
|
|
|
ones with `x`, then quit imv to pass the remaining images through" workflow.
|
2015-11-12 19:49:11 +01:00
|
|
|
|
|
|
|
#### Picking a wallpaper
|
|
|
|
custom-set-wallpaper-script "$(find ./wallpaper -type f -name '*.jpg' | imv - | tail -n1)"
|
|
|
|
|
|
|
|
#### Deleting unwanted images
|
|
|
|
find -type f -name '*.jpg' | imv - | xargs rm -v
|
|
|
|
|
|
|
|
#### Choosing pictures to email
|
2015-11-12 19:50:00 +01:00
|
|
|
find ./holiday_pics -type f -name '*.jpg' | imv - | xargs cp -t ~/outbox
|
2015-11-12 19:49:11 +01:00
|
|
|
|
2015-12-11 16:38:26 +01:00
|
|
|
### Slideshow
|
|
|
|
|
|
|
|
imv can be used to display slideshows. You can set the number of seconds to
|
|
|
|
show each image for with the `-t` option at start up, or you can configure it
|
|
|
|
at runtime using the `t` and `T` hotkeys to increase and decrease the image
|
|
|
|
display time, respectively.
|
|
|
|
|
|
|
|
To cycle through a folder of pictures, showing each one for 10 seconds:
|
|
|
|
|
|
|
|
imv -t 10 ~/Pictures/London
|
|
|
|
|
2015-11-10 17:53:38 +01:00
|
|
|
Installation
|
|
|
|
------------
|
|
|
|
|
2015-11-29 16:23:46 +01:00
|
|
|
`imv` depends on `pthreads`, `FontConfig`, `SDL2`, `SDL_TTF`, and `FreeImage`.
|
2015-11-20 00:27:36 +01:00
|
|
|
|
2015-11-12 19:49:11 +01:00
|
|
|
$ make
|
|
|
|
# make install
|
2015-11-10 17:53:38 +01:00
|
|
|
|
2015-12-25 15:29:12 +01:00
|
|
|
Macro `PREFIX` controls installation prefix. If more control over installation
|
|
|
|
paths is required, macros `BINPREFIX`, `MANPREFIX` and `DATAPREFIX` are
|
|
|
|
available. Eg. to install `imv` to home directory, run:
|
|
|
|
|
|
|
|
$ BINPREFIX=~/bin PREFIX=~/.local make install
|
|
|
|
|
2015-12-08 17:36:26 +01:00
|
|
|
Tests
|
|
|
|
-----
|
|
|
|
|
|
|
|
`imv` has a work-in-progress test suite. The test suite requires `cmocka`.
|
|
|
|
|
|
|
|
$ make check
|
|
|
|
|
2015-11-15 10:59:18 +01:00
|
|
|
Contact
|
|
|
|
-------
|
|
|
|
|
|
|
|
There's an official irc channel for imv discussion and development on
|
|
|
|
Freenode: `#imv`.
|
|
|
|
|
2015-11-06 19:01:05 +01:00
|
|
|
License
|
|
|
|
-------
|
2015-11-12 18:49:23 +01:00
|
|
|
`imv` is published under the [GPLv2](LICENSE) license.
|