imv/README.md

63 lines
1.4 KiB
Markdown
Raw Normal View History

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
imv can be used to select images in a pipeline by using the 'p' hotkey to print
the current image's path to stdout.
#### 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-11-10 17:53:38 +01:00
Installation
------------
`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-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.