From d3af780cbf81a526a4544c997ba9621b68cca818 Mon Sep 17 00:00:00 2001 From: silly Date: Mon, 16 Mar 2026 13:19:28 +0100 Subject: Update wallpaper.sh --- .config/scripts/wallpaper.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to '.config/scripts/wallpaper.sh') diff --git a/.config/scripts/wallpaper.sh b/.config/scripts/wallpaper.sh index e6140fa..b33e094 100644 --- a/.config/scripts/wallpaper.sh +++ b/.config/scripts/wallpaper.sh @@ -13,6 +13,9 @@ list_images() { for img in "$WALLPAPER_DIR"*; do filename=$(basename "$img") + + [[ "$filename" == "dice.png" ]] && continue + thumb="$THUMBNAIL_DIR$filename" if [ ! -f "$thumb" ]; then @@ -30,7 +33,7 @@ selected=$(list_images | rofi -dmenu -i -p ">" -theme "$RASI_THEME") if [[ "$selected" == "random" ]]; then current_wall=$(basename "$(readlink -f "$CACHE_PATH")" 2>/dev/null) - selected=$(ls -p "$WALLPAPER_DIR" | grep -v / | grep -v "^$current_wall$" | shuf -n 1) + selected=$(ls -p "$WALLPAPER_DIR" | grep -v / | grep -v "^$current_wall$" | grep -v "dice.png" | shuf -n 1) fi FULL_PATH="$WALLPAPER_DIR/$selected" -- cgit v1.3.1