# Launch slideshow on tty1 (HDMI) at boot
if [ "$(tty)" = "/dev/tty1" ]; then
    export SDL_VIDEODRIVER=fbdev
    export SDL_AUDIODRIVER=dummy
    /home/pi/.local/bin/slideshow
    echo "--- slideshow exited with code $? ---"
    read -p "Press Enter to continue..."
fi
