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
|
case $MODE in
|
||||||
random)
|
random)
|
||||||
NEW_WALL=$(find "$WALL_DIR" -type f | shuf -n 1)
|
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
|
apply_wallpaper
|
||||||
;;
|
;;
|
||||||
path)
|
path)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue