Skip to content

Instantly share code, notes, and snippets.

@dacr
Last active April 2, 2023 10:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dacr/21f80f332b95ba3146565dc9b48df137 to your computer and use it in GitHub Desktop.
Save dacr/21f80f332b95ba3146565dc9b48df137 to your computer and use it in GitHub Desktop.
photos diaporama / published by https://github.com/dacr/code-examples-manager #b865285a-5169-43fb-9a8d-3744351030c0/45847bf4cf1692793e3595f4373919c35d3cb52d
## summary : photos diaporama
## keywords : bash, diaporama, photos, feh
## publish : gist
## authors : David Crosson
## license : Apache NON-AI License Version 2.0 (https://raw.githubusercontent.com/non-ai-licenses/non-ai-licenses/main/NON-AI-APACHE2)
## id : b865285a-5169-43fb-9a8d-3744351030c0
## execution : sudo apt-get install feh
## created-on : 2020-08-12T21:28:47+02:00
## managed-by : https://github.com/dacr/code-examples-manager
DIAPORAMA_LOCATION=${1:-/tmp}
echo "Looking for images recursively from $DIAPORAMA_LOCATION"
feh \
--image-bg black \
--auto-rotate \
--randomize \
--recursive \
--full-screen \
--slideshow-delay 10.0 \
--scale-down \
--auto-zoom \
--draw-filename \
--draw-tinted \
--font DejaVuSansMono/22 \
--fontpath /usr/share/fonts/truetype/dejavu/ \
--auto-zoom "$DIAPORAMA_LOCATION"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment