setwall: add default fallback wallpaper
This commit is contained in:
parent
50155cfd45
commit
edd16082d4
Binary file not shown.
|
After Width: | Height: | Size: 2.3 MiB |
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue