fix script

This commit is contained in:
2025-07-10 12:14:03 +03:00
parent c28386b395
commit 630284ae0b
104 changed files with 235 additions and 230 deletions

View File

@@ -4,3 +4,9 @@
bare = true bare = true
[status] [status]
showUntrackedFiles = no showUntrackedFiles = no
[remote "origin"]
url = git@git.forsen-cock.dedyn.io:elleoma/wallpapers.git
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "main"]
remote = origin
merge = refs/heads/main

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 351 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 234 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 778 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.6 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 697 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 286 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.5 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.5 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.5 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 756 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 817 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.5 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 284 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 220 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 318 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 808 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.0 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.6 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 682 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 342 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 302 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1023 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.4 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 834 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 260 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 990 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.4 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 477 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.8 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 908 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 MiB

414
README.md
View File

@@ -1,270 +1,270 @@
# Wallpapers Collection # Wallpapers Collection
## Table of Contents ## Table of Contents
- [Cat Latte](#cat latte|sed='s/ /-/g|sed='s/[^a-z0-9-]//g') - [Cat Latte](#cat-latte)
- [Code Garden](#code garden|sed='s/ /-/g|sed='s/[^a-z0-9-]//g') - [Code Garden](#code-garden)
--- ---
## Cat Latte <a name="cat-latte"></a> ## Cat Latte
### akira ### akira
![akira](Cat Latte/akirapng) ![akira](Cat Latte/akira.png)
### cloud ### cloud
![cloud](Cat Latte/cloudpng) ![cloud](Cat Latte/cloud.png)
### clouds_realism
![clouds_realism](Cat Latte/clouds_realismjpg)
### comfy ### comfy
![comfy](Cat Latte/comfypng) ![comfy](Cat Latte/comfy.png)
### dragon_ball
![dragon_ball](Cat Latte/dragon_balljpg)
### dreamy
![dreamy](Cat Latte/dreamyjpg)
### fantasy-girl
![fantasy-girl](Cat Latte/fantasy-girljpg)
### flower
![flower](Cat Latte/flowerjpg)
### frieren-1
![frieren-1](Cat Latte/frieren-1jpeg)
### frieren-2
![frieren-2](Cat Latte/frieren-2jpg)
### frieren-3
![frieren-3](Cat Latte/frieren-3jpg)
### frieren-4
![frieren-4](Cat Latte/frieren-4jpeg)
### girls ### girls
![girls](Cat Latte/girlspng) ![girls](Cat Latte/girls.png)
### jon_snow
![jon_snow](Cat Latte/jon_snowjpg)
### macchiato ### macchiato
![macchiato](Cat Latte/macchiatopng) ![macchiato](Cat Latte/macchiato.png)
### palm_trees ### palm_trees
![palm_trees](Cat Latte/palm_treespng) ![palm_trees](Cat Latte/palm_trees.png)
### sakura_zenitsu
![sakura_zenitsu](Cat Latte/sakura_zenitsujpg)
### samurai_bebop
![samurai_bebop](Cat Latte/samurai_bebopjpg)
### samurai_bebop_alone
![samurai_bebop_alone](Cat Latte/samurai_bebop_alonejpg)
### samurai_girl ### samurai_girl
![samurai_girl](Cat Latte/samurai_girlpng) ![samurai_girl](Cat Latte/samurai_girl.png)
### samurai_girl_chill ### samurai_girl_chill
![samurai_girl_chill](Cat Latte/samurai_girl_chillpng) ![samurai_girl_chill](Cat Latte/samurai_girl_chill.png)
### scissors
![scissors](Cat Latte/scissorsjpg)
### shrine
![shrine](Cat Latte/shrinejpg)
### totoro ### totoro
![totoro](Cat Latte/totoropng) ![totoro](Cat Latte/totoro.png)
### train_tokyo
![train_tokyo](Cat Latte/train_tokyogif)
### wings ### wings
![wings](Cat Latte/wingspng) ![wings](Cat Latte/wings.png)
### yosemite ### yosemite
![yosemite](Cat Latte/yosemitepng) ![yosemite](Cat Latte/yosemite.png)
--- ### clouds_realism
## Code Garden <a name="code-garden"></a> ![clouds_realism](Cat Latte/clouds_realism.jpg)
### dragon_ball
![dragon_ball](Cat Latte/dragon_ball.jpg)
### dreamy
![dreamy](Cat Latte/dreamy.jpg)
### fantasy-girl
![fantasy-girl](Cat Latte/fantasy-girl.jpg)
### flower
![flower](Cat Latte/flower.jpg)
### frieren-2
![frieren-2](Cat Latte/frieren-2.jpg)
### frieren-3
![frieren-3](Cat Latte/frieren-3.jpg)
### jon_snow
![jon_snow](Cat Latte/jon_snow.jpg)
### sakura_zenitsu
![sakura_zenitsu](Cat Latte/sakura_zenitsu.jpg)
### samurai_bebop
![samurai_bebop](Cat Latte/samurai_bebop.jpg)
### samurai_bebop_alone
![samurai_bebop_alone](Cat Latte/samurai_bebop_alone.jpg)
### scissors
![scissors](Cat Latte/scissors.jpg)
### shrine
![shrine](Cat Latte/shrine.jpg)
### frieren-1
![frieren-1](Cat Latte/frieren-1.jpeg)
### frieren-4
![frieren-4](Cat Latte/frieren-4.jpeg)
### train_tokyo
![train_tokyo](Cat Latte/train_tokyo.gif)
## Code Garden
### art ### art
![art](Code Garden/artpng) ![art](Code Garden/art.png)
### aurora ### aurora
![aurora](Code Garden/aurorapng) ![aurora](Code Garden/aurora.png)
### beer
![beer](Code Garden/beerjpg)
### bunnies
![bunnies](Code Garden/bunniesjpg)
### cabin
![cabin](Code Garden/cabinjpg)
### calligraphy
![calligraphy](Code Garden/calligraphyjpg)
### citrus
![citrus](Code Garden/citrusjpg)
### deer
![deer](Code Garden/deerjpg)
### drive
![drive](Code Garden/drivejpg)
### ducks
![ducks](Code Garden/ducksjpg)
### e33
![e33](Code Garden/e33jpeg)
### fires
![fires](Code Garden/firesjpg)
### fox
![fox](Code Garden/foxjpg)
### friends
![friends](Code Garden/friendsjpg)
### gojo
![gojo](Code Garden/gojojpg)
### ivy
![ivy](Code Garden/ivyjpg)
### journey ### journey
![journey](Code Garden/journeypng) ![journey](Code Garden/journey.png)
### kayle
![kayle](Code Garden/kaylejpg)
### landscape
![landscape](Code Garden/landscapejpg)
### love
![love](Code Garden/lovejpg)
### magic
![magic](Code Garden/magicjpg)
### messmer
![messmer](Code Garden/messmerjpg)
### nebula
![nebula](Code Garden/nebulajpg)
### oasis
![oasis](Code Garden/oasisjpg)
### pyramid
![pyramid](Code Garden/pyramidjpg)
### recluse
![recluse](Code Garden/reclusejpg)
### rising ### rising
![rising](Code Garden/risingpng) ![rising](Code Garden/rising.png)
### sbr
![sbr](Code Garden/sbrjpg)
### snow ### snow
![snow](Code Garden/snowpng) ![snow](Code Garden/snow.png)
### spike ### spike
![spike](Code Garden/spikepng) ![spike](Code Garden/spike.png)
### sunset
![sunset](Code Garden/sunsetjpg)
### transit
![transit](Code Garden/transitjpg)
### trina
![trina](Code Garden/trinajpg)
### walk
![walk](Code Garden/walkjpg)
### window
![window](Code Garden/windowjpg)
### yorha
![yorha](Code Garden/yorhajpg)
### zen ### zen
![zen](Code Garden/zenpng) ![zen](Code Garden/zen.png)
### beer
![beer](Code Garden/beer.jpg)
### bunnies
![bunnies](Code Garden/bunnies.jpg)
### cabin
![cabin](Code Garden/cabin.jpg)
### calligraphy
![calligraphy](Code Garden/calligraphy.jpg)
### citrus
![citrus](Code Garden/citrus.jpg)
### deer
![deer](Code Garden/deer.jpg)
### drive
![drive](Code Garden/drive.jpg)
### ducks
![ducks](Code Garden/ducks.jpg)
### fires
![fires](Code Garden/fires.jpg)
### fox
![fox](Code Garden/fox.jpg)
### friends
![friends](Code Garden/friends.jpg)
### gojo
![gojo](Code Garden/gojo.jpg)
### ivy
![ivy](Code Garden/ivy.jpg)
### kayle
![kayle](Code Garden/kayle.jpg)
### landscape
![landscape](Code Garden/landscape.jpg)
### love
![love](Code Garden/love.jpg)
### magic
![magic](Code Garden/magic.jpg)
### messmer
![messmer](Code Garden/messmer.jpg)
### nebula
![nebula](Code Garden/nebula.jpg)
### oasis
![oasis](Code Garden/oasis.jpg)
### pyramid
![pyramid](Code Garden/pyramid.jpg)
### recluse
![recluse](Code Garden/recluse.jpg)
### sbr
![sbr](Code Garden/sbr.jpg)
### sunset
![sunset](Code Garden/sunset.jpg)
### transit
![transit](Code Garden/transit.jpg)
### trina
![trina](Code Garden/trina.jpg)
### walk
![walk](Code Garden/walk.jpg)
### window
![window](Code Garden/window.jpg)
### yorha
![yorha](Code Garden/yorha.jpg)
### e33
![e33](Code Garden/e33.jpeg)

BIN
art.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 MiB

BIN
beer.jpg

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 284 KiB

BIN
cabin.jpg

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 220 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 MiB

BIN
deer.jpg

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 MiB

BIN
drive.jpg

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 MiB

BIN
ducks.jpg

Binary file not shown.

Before

Width:  |  Height:  |  Size: 318 KiB

BIN
e33.jpeg

Binary file not shown.

Before

Width:  |  Height:  |  Size: 808 KiB

BIN
fires.jpg

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 MiB

BIN
fox.jpg

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.0 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.6 MiB

View File

@@ -1,45 +1,44 @@
#!/usr/bin/env bash #!/usr/bin/env bash
set -euo pipefail
OUT="README.md" OUT="README.md"
ROOT="$(pwd)" ROOT="$(pwd)"
# Header & TOC start
cat > "$OUT" <<EOF cat > "$OUT" <<EOF
# Wallpapers Collection # Wallpapers Collection
## Table of Contents ## Table of Contents
EOF EOF
# Generate TOC # TOC: folders only
for dir in */; do for dir in */; do
dir_name="${dir%/}" dir_name="${dir%/}"
cat >> "$OUT" <<EOF anchor=$(printf '%s' "${dir_name}" \
- [${dir_name}](#${dir_name,,}|sed='s/ /-/g|sed='s/[^a-z0-9-]//g') | tr '[:upper:]' '[:lower:]' \
EOF | sed 's/ /-/g; s/[^a-z0-9-]//g')
echo "- [${dir_name}](#${anchor})" >> "$OUT"
done done
cat >> "$OUT" <<EOF echo -e "\n---\n" >> "$OUT"
EOF # Sections: folder content
# Add sections
for dir in */; do for dir in */; do
dir_name="${dir%/}" dir_name="${dir%/}"
anchor=$(echo "$dir_name" | tr '[:upper:]' '[:lower:]' | sed 's/ /-/g; s/[^a-z0-9-]//g') anchor=$(printf '%s' "${dir_name}" \
cat >> "$OUT" <<EOF | tr '[:upper:]' '[:lower:]' \
--- | sed 's/ /-/g; s/[^a-z0-9-]//g')
echo "## ${dir_name}" >> "$OUT"
## ${dir_name} <a name="${anchor}"></a> echo "" >> "$OUT"
for img in "${dir}"*.{png,jpg,jpeg,gif}; do
EOF
for img in "$dir"*.*; do
[ -f "$img" ] || continue [ -f "$img" ] || continue
fn="$(basename "${img%.*}")" fn="$(basename "${img%.*}")"
rel="${dir}${fn}${img##*.}" rel="${dir}$(basename "$img")"
cat >> "$OUT" <<EOF echo "### ${fn}" >> "$OUT"
### ${fn} echo "" >> "$OUT"
echo "![${fn}](${rel})" >> "$OUT"
![${fn}](${rel}) echo "" >> "$OUT"
EOF
done done
echo "" >> "$OUT"
done done

BIN
gojo.jpg

Binary file not shown.

Before

Width:  |  Height:  |  Size: 682 KiB

BIN
ivy.jpg

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 MiB

BIN
kayle.jpg

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 342 KiB

BIN
love.jpg

Binary file not shown.

Before

Width:  |  Height:  |  Size: 302 KiB

BIN
magic.jpg

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1023 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.4 MiB

BIN
oasis.jpg

Binary file not shown.

Before

Width:  |  Height:  |  Size: 834 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 260 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 MiB

BIN
sbr.jpg

Binary file not shown.

Before

Width:  |  Height:  |  Size: 990 KiB

BIN
snow.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.4 MiB

BIN
spike.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.1 MiB

BIN
trina.jpg

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 MiB

Some files were not shown because too many files have changed in this diff Show More