aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarry Jeffery <harry@exec64.co.uk>2015-11-12 18:49:11 +0000
committerHarry Jeffery <harry@exec64.co.uk>2015-11-12 18:49:11 +0000
commit7e3236cd0f2e6d6d0f5cb2c147800d80bbc48f89 (patch)
tree8ba334135ecd55db679b3c4bed9ee115a6441a51
parent2615a3f2bad8a86bdfb6208a196365b41c80a81c (diff)
downloadimv-7e3236cd0f2e6d6d0f5cb2c147800d80bbc48f89.tar.gz
Add more usage examples to README
-rw-r--r--README.md22
1 files changed, 16 insertions, 6 deletions
diff --git a/README.md b/README.md
index a315de2..a8388ef 100644
--- a/README.md
+++ b/README.md
@@ -27,17 +27,27 @@ Usage
### Open an image fullscreen (and scale to fit screen)
imv -fs image.jpeg
-### Sorting images
- find . "*.png" | sort | imv -i
-
-### Shuffling images
+### Viewing images in a random order
find . "*.png" | shuf | imv -i
+### 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
+ find ./holiday_pics -type f -name '*.jpg' | imv -p | xargs cp -t ~/outbox
+
Installation
------------
- make
- make install
+ $ make
+ # make install
License
-------