added bing wallpaper

This commit is contained in:
humocs-man
2026-09-30 21:45:22 +02:00
parent dd26a367ac
commit 2df559d0ae
8 changed files with 102 additions and 21 deletions
-17
View File
@@ -39,21 +39,4 @@ dnf5 install -y \
f${FEDORA_VERSION}-backgrounds \
fedora-workstation-backgrounds
# Flacher Wallpaper-Pool fuer Noctalias Picker (der ist NICHT rekursiv und
# sieht Unterordner unter /usr/share/backgrounds nicht). Symlinks statt
# Kopien: null Mehrbytes im Image. Deterministisch benannt, vollstaendig.
mkdir -p /usr/share/noctalia-wallpapers
i=0
while IFS= read -r img; do
i=$((i + 1))
ext="${img##*.}"
ln -sf "$img" "/usr/share/noctalia-wallpapers/fluffy-pool-$(printf '%02d' "$i").${ext}"
done < <(find /usr/share/backgrounds -type f \( -iname '*.jpg' -o -iname '*.jpeg' -o -iname '*.png' \) | sort)
if [ "$i" -lt 1 ]; then
echo "FEHLER: keine Wallpaper unter /usr/share/backgrounds gefunden"
exit 1
fi
echo "Wallpaper-Pool: $i Motive"
ls /usr/share/noctalia-wallpapers
dnf5 clean all