#!/bin/bashset -oux pipefailHEMI="${1:-north}"if [[ "$HEMI" != "north" && "$HEMI" != "south" ]]; thenecho "Error: Invalid hemisphere '$HEMI'. Must be 'north' or 'south'."exit 1fimkdir -p ~/.local/share/wallpapers/Bluefincd ~/.local/share/wallpapers/Bluefincurl -Lo ${HEMI}.md5 https://github.com/grandpares/plasma-bluefin-wallpaper/releases/latest/download/${HEMI}.md5md5sum --status -c ${HEMI}.md5 || curl -Lo ${HEMI}.avif https://github.com/grandpares/plasma-bluefin-wallpaper/releases/latest/download/${HEMI}.avif