From 7e3236cd0f2e6d6d0f5cb2c147800d80bbc48f89 Mon Sep 17 00:00:00 2001 From: Harry Jeffery Date: Thu, 12 Nov 2015 18:49:11 +0000 Subject: Add more usage examples to README --- README.md | 22 ++++++++++++++++------ 1 file 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 ------- -- cgit v1.2.3