From edd16082d4dd79e68c44db7edcaac73d92d7e94b Mon Sep 17 00:00:00 2001 From: krolxon Date: Tue, 9 Dec 2025 15:52:48 +0530 Subject: setwall: add default fallback wallpaper --- .config/hypr/default-wallpaper.png | Bin 0 -> 2439364 bytes .local/bin/setwall | 3 +++ 2 files changed, 3 insertions(+) create mode 100755 .config/hypr/default-wallpaper.png diff --git a/.config/hypr/default-wallpaper.png b/.config/hypr/default-wallpaper.png new file mode 100755 index 0000000..8a0bdcb Binary files /dev/null and b/.config/hypr/default-wallpaper.png differ diff --git a/.local/bin/setwall b/.local/bin/setwall index 173faf3..c21cfb1 100755 --- a/.local/bin/setwall +++ b/.local/bin/setwall @@ -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) -- cgit v1.2.3