aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitrij D. Czarkoff <czarkoff@gmail.com>2016-01-13 02:15:12 +0100
committerDmitrij D. Czarkoff <czarkoff@gmail.com>2016-01-14 21:43:46 +0100
commit1ae8a7fe6030771352e347e7564639ea181802ba (patch)
tree73d290727b720e39b36c8165e1ea9202374726f3
parentecca345f3ea63dfe85759311cea90227bdc4384a (diff)
downloadimv-1ae8a7fe6030771352e347e7564639ea181802ba.tar.gz
Note new syntax in README.md
-rw-r--r--README.md13
1 files changed, 8 insertions, 5 deletions
diff --git a/README.md b/README.md
index 73e3082..f48598b 100644
--- a/README.md
+++ b/README.md
@@ -20,13 +20,16 @@ Usage
imv image1.png another_image.jpeg yet_another.TIFF
### Opening images via stdin
- find . "*.png" | imv -
+ find . "*.png" | imv
### Open an image fullscreen
imv -f image.jpeg
### Viewing images in a random order
- find . "*.png" | shuf | imv -
+ find . "*.png" | shuf | imv
+
+### Viewing images from stdin
+ curl http://somesi.te/img.png | imv -
### Image picker
imv can be used to select images in a pipeline by using the `p` hotkey to print
@@ -35,13 +38,13 @@ 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.
#### Picking a wallpaper
- custom-set-wallpaper-script "$(find ./wallpaper -type f -name '*.jpg' | imv - | tail -n1)"
+ 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
+ find -type f -name '*.jpg' | imv | xargs rm -v
#### Choosing pictures to email
- find ./holiday_pics -type f -name '*.jpg' | imv - | xargs cp -t ~/outbox
+ find ./holiday_pics -type f -name '*.jpg' | imv | xargs cp -t ~/outbox
### Slideshow