diff options
author | Harry Jeffery <harry@exec64.co.uk> | 2015-11-12 18:49:11 +0000 |
---|---|---|
committer | Harry Jeffery <harry@exec64.co.uk> | 2015-11-12 18:49:11 +0000 |
commit | 7e3236cd0f2e6d6d0f5cb2c147800d80bbc48f89 (patch) | |
tree | 8ba334135ecd55db679b3c4bed9ee115a6441a51 | |
parent | 2615a3f2bad8a86bdfb6208a196365b41c80a81c (diff) | |
download | imv-7e3236cd0f2e6d6d0f5cb2c147800d80bbc48f89.tar.gz |
Add more usage examples to README
-rw-r--r-- | README.md | 22 |
1 files changed, 16 insertions, 6 deletions
@@ -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 ------- |