diff options
Diffstat (limited to 'gallery')
-rwxr-xr-x | gallery | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/gallery b/gallery deleted file mode 100755 index 45e46eb..0000000 --- a/gallery +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/bash -# -# Image galleries: a wrapper for sxiv(1). -# - -# Parameters -BASENAME="`basename $0`" -IMAGES="$HOME/data/images" -GALLERY="${1:-$IMAGES}" - -# Check -if [ "$GALLERY" != "-" ] && [ ! -d "$GALLERY" ]; then - echo "$BASENAME: path not found: $GALLERY" - exit 1 -elif ! which sxiv &> /dev/null; then - echo "$BASENAME: please install sxiv" - exit 1 -fi - -# Dispatch -# Option -o allows piping the selection output to other tools -sxiv -t -q -b -o -r $GALLERY 2> /dev/null |