# Slideshow The below commands will setup ```feh``` as a slideshow on your display. ## Important Notes * ```feh``` will crash if there are no photos for it to use as a slideshow * You will likely want to tweak the ```feh``` command invocation below. These are great settings as a starting point but you'll probably want to make adjustments for your use case. * This setup uses ```incron``` to restart ```feh``` when photos are deleted from the pictures folder. Without this piece ```feh``` will crash if a picture is removed from the pictures directory prior to ```feh``` rescaning the pictures directory. * We default to ```DejaVuSansMono``` as the font for display of EXIF data and filename. This is an open font and looks great on most displays. Any ```fontconfig``` font can be used in its place. Adjust according to your preferences. ## Setup ``` sh pacman -S feh imagemagick ttf-dejavu # reload 86400 is to refresh the list of images daily -- tune for preferred number of seconds # slideshow-delay is number of seconds (as a float) between images ; tune accordingly useradd -s /usr/bin/nologin -m feh chmod a+rx /tank/pictures pacman -S acl setfacl -m "u:feh:rX" /tank/pictures setfacl -dm "u:feh:rX" /tank/pictures pacman -S incron cat > /etc/incron.d/feh < /usr/local/bin/feh-slideshow.sh <> /etc/greetd/config.toml <