aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x.config/hypr/default-wallpaper.pngbin0 -> 2439364 bytes
-rwxr-xr-x.local/bin/setwall3
2 files changed, 3 insertions, 0 deletions
diff --git a/.config/hypr/default-wallpaper.png b/.config/hypr/default-wallpaper.png
new file mode 100755
index 0000000..8a0bdcb
--- /dev/null
+++ b/.config/hypr/default-wallpaper.png
Binary files 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)