setwall: add default fallback wallpaper

This commit is contained in:
krolxon 2025-12-09 15:52:48 +05:30
parent 50155cfd45
commit edd16082d4
2 changed files with 3 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 MiB

View File

@ -41,6 +41,9 @@ done
case $MODE in
random)
NEW_WALL=$(find "$WALL_DIR" -type f | shuf -n 1)
if [[ -z "$NEW_WALL" ]]; then
NEW_WALL="$HOME/.config/hypr/default-wallpaper.png"
fi
apply_wallpaper
;;
path)