aboutsummaryrefslogtreecommitdiff
path: root/gallery
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2024-08-20 21:02:00 -0300
committerSilvio Rhatto <rhatto@riseup.net>2024-08-20 21:02:00 -0300
commit0220c9924c6fb633e7cd55be548a1604fdf4f63c (patch)
tree08d2f1e4b5c5b1c3556fc81893619e73b0835285 /gallery
parente851401694daacaf1aba2c87ed557e5dbf00af02 (diff)
downloadscripts-master.tar.gz
scripts-master.tar.bz2
Move scripts to other repositories (2)HEADmaster
Diffstat (limited to 'gallery')
-rwxr-xr-xgallery22
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