summaryrefslogtreecommitdiff
path: root/imager.sh
diff options
context:
space:
mode:
authorAdam T. Carpenter <atc@53hor.net>2020-07-26 09:33:34 -0400
committerAdam T. Carpenter <atc@53hor.net>2020-07-26 09:33:34 -0400
commitc8856a355b777156ccad4fd1f01d32e10684b0b4 (patch)
tree6767eef106a5e70b29fcea7aa69cfb72abe0d85b /imager.sh
parente6a83169943c909622a1e41439fb2ffb3a1bec31 (diff)
downloadscripts-c8856a355b777156ccad4fd1f01d32e10684b0b4.tar.xz
scripts-c8856a355b777156ccad4fd1f01d32e10684b0b4.zip
added imager to view all images in a dir from vifm
Diffstat (limited to 'imager.sh')
-rwxr-xr-ximager.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/imager.sh b/imager.sh
new file mode 100755
index 0000000..42e13f0
--- /dev/null
+++ b/imager.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+ls *.bmp \
+ *.jpg \
+ *.jpeg \
+ *.JPG \
+ *.png \
+ *.gif \
+ *.webp \
+ | xargs sxiv -a "$1"