add file size next to the wallpeper name

This commit is contained in:
2025-07-10 12:43:10 +03:00
parent 4fb878d74f
commit 3be2579f3f
2 changed files with 135 additions and 131 deletions

128
README.md
View File

@@ -8,262 +8,262 @@
## Cat Latte
### akira
### akira — _14M_
<img src="Cat Latte/akira.png" alt="akira" />
### cloud
### cloud — _352K_
<img src="Cat Latte/cloud.png" alt="cloud" />
### comfy
### comfy — _2.3M_
<img src="Cat Latte/comfy.png" alt="comfy" />
### girls
### girls — _700K_
<img src="Cat Latte/girls.png" alt="girls" />
### macchiato
### macchiato — _3.3M_
<img src="Cat Latte/macchiato.png" alt="macchiato" />
### palm_trees
### palm_trees — _12M_
<img src="Cat Latte/palm_trees.png" alt="palm_trees" />
### samurai_girl
### samurai_girl — _7.3M_
<img src="Cat Latte/samurai_girl.png" alt="samurai_girl" />
### samurai_girl_chill
### samurai_girl_chill — _6.5M_
<img src="Cat Latte/samurai_girl_chill.png" alt="samurai_girl_chill" />
### totoro
### totoro — _760K_
<img src="Cat Latte/totoro.png" alt="totoro" />
### wings
### wings — _5.6M_
<img src="Cat Latte/wings.png" alt="wings" />
### yosemite
### yosemite — _1.2M_
<img src="Cat Latte/yosemite.png" alt="yosemite" />
### clouds_realism
### clouds_realism — _236K_
<img src="Cat Latte/clouds_realism.jpg" alt="clouds_realism" />
### dragon_ball
### dragon_ball — _2.3M_
<img src="Cat Latte/dragon_ball.jpg" alt="dragon_ball" />
### dreamy
### dreamy — _1.6M_
<img src="Cat Latte/dreamy.jpg" alt="dreamy" />
### fantasy-girl
### fantasy-girl — _780K_
<img src="Cat Latte/fantasy-girl.jpg" alt="fantasy-girl" />
### flower
### flower — _9.3M_
<img src="Cat Latte/flower.jpg" alt="flower" />
### frieren-2
### frieren-2 — _9.7M_
<img src="Cat Latte/frieren-2.jpg" alt="frieren-2" />
### frieren-3
### frieren-3 — _1.9M_
<img src="Cat Latte/frieren-3.jpg" alt="frieren-3" />
### jon_snow
### jon_snow — _288K_
<img src="Cat Latte/jon_snow.jpg" alt="jon_snow" />
### sakura_zenitsu
### sakura_zenitsu — _7.6M_
<img src="Cat Latte/sakura_zenitsu.jpg" alt="sakura_zenitsu" />
### samurai_bebop
### samurai_bebop — _5.6M_
<img src="Cat Latte/samurai_bebop.jpg" alt="samurai_bebop" />
### samurai_bebop_alone
### samurai_bebop_alone — _3.8M_
<img src="Cat Latte/samurai_bebop_alone.jpg" alt="samurai_bebop_alone" />
### scissors
### scissors — _1.1M_
<img src="Cat Latte/scissors.jpg" alt="scissors" />
### shrine
### shrine — _2.0M_
<img src="Cat Latte/shrine.jpg" alt="shrine" />
### frieren-1
### frieren-1 — _3.8M_
<img src="Cat Latte/frieren-1.jpeg" alt="frieren-1" />
### frieren-4
### frieren-4 — _4.4M_
<img src="Cat Latte/frieren-4.jpeg" alt="frieren-4" />
### train_tokyo
### train_tokyo — _820K_
<img src="Cat Latte/train_tokyo.gif" alt="train_tokyo" />
## Code Garden
### art
### art — _13M_
<img src="Code Garden/art.png" alt="art" />
### aurora
### aurora — _3.5M_
<img src="Code Garden/aurora.png" alt="aurora" />
### journey
### journey — _15M_
<img src="Code Garden/journey.png" alt="journey" />
### rising
### rising — _12M_
<img src="Code Garden/rising.png" alt="rising" />
### snow
### snow — _4.5M_
<img src="Code Garden/snow.png" alt="snow" />
### spike
### spike — _3.8M_
<img src="Code Garden/spike.png" alt="spike" />
### zen
### zen — _14M_
<img src="Code Garden/zen.png" alt="zen" />
### beer
### beer — _1.4M_
<img src="Code Garden/beer.jpg" alt="beer" />
### bunnies
### bunnies — _284K_
<img src="Code Garden/bunnies.jpg" alt="bunnies" />
### cabin
### cabin — _1.6M_
<img src="Code Garden/cabin.jpg" alt="cabin" />
### calligraphy
### calligraphy — _220K_
<img src="Code Garden/calligraphy.jpg" alt="calligraphy" />
### citrus
### citrus — _2.1M_
<img src="Code Garden/citrus.jpg" alt="citrus" />
### deer
### deer — _1.1M_
<img src="Code Garden/deer.jpg" alt="deer" />
### drive
### drive — _1.3M_
<img src="Code Garden/drive.jpg" alt="drive" />
### ducks
### ducks — _320K_
<img src="Code Garden/ducks.jpg" alt="ducks" />
### fires
### fires — _2.5M_
<img src="Code Garden/fires.jpg" alt="fires" />
### fox
### fox — _8.0M_
<img src="Code Garden/fox.jpg" alt="fox" />
### friends
### friends — _6.7M_
<img src="Code Garden/friends.jpg" alt="friends" />
### gojo
### gojo — _684K_
<img src="Code Garden/gojo.jpg" alt="gojo" />
### ivy
### ivy — _2.4M_
<img src="Code Garden/ivy.jpg" alt="ivy" />
### kayle
### kayle — _1.1M_
<img src="Code Garden/kayle.jpg" alt="kayle" />
### landscape
### landscape — _344K_
<img src="Code Garden/landscape.jpg" alt="landscape" />
### love
### love — _304K_
<img src="Code Garden/love.jpg" alt="love" />
### magic
### magic — _1.0M_
<img src="Code Garden/magic.jpg" alt="magic" />
### messmer
### messmer — _1.9M_
<img src="Code Garden/messmer.jpg" alt="messmer" />
### nebula
### nebula — _6.4M_
<img src="Code Garden/nebula.jpg" alt="nebula" />
### oasis
### oasis — _836K_
<img src="Code Garden/oasis.jpg" alt="oasis" />
### pyramid
### pyramid — _2.2M_
<img src="Code Garden/pyramid.jpg" alt="pyramid" />
### recluse
### recluse — _264K_
<img src="Code Garden/recluse.jpg" alt="recluse" />
### sbr
### sbr — _992K_
<img src="Code Garden/sbr.jpg" alt="sbr" />
### sunset
### sunset — _1.2M_
<img src="Code Garden/sunset.jpg" alt="sunset" />
### transit
### transit — _5.2M_
<img src="Code Garden/transit.jpg" alt="transit" />
### trina
### trina — _4.3M_
<img src="Code Garden/trina.jpg" alt="trina" />
### walk
### walk — _480K_
<img src="Code Garden/walk.jpg" alt="walk" />
### window
### window — _9.9M_
<img src="Code Garden/window.jpg" alt="window" />
### yorha
### yorha — _908K_
<img src="Code Garden/yorha.jpg" alt="yorha" />
### e33
### e33 — _812K_
<img src="Code Garden/e33.jpeg" alt="e33" />

View File

@@ -20,7 +20,7 @@ done
echo -e "\n---\n" >> "$OUT"
# Folders with images
# Folders with image entries
for dir in */; do
dir_name="${dir%/}"
anchor=$(printf '%s' "$dir_name" \
@@ -34,11 +34,15 @@ for dir in */; do
[ -f "$img" ] || continue
fn="$(basename "${img%.*}")"
rel="$(echo "$img" | sed 's|^\./||')"
echo "### ${fn}" >> "$OUT"
# Get filesize in human-readable format
size=$(du -h "$img" | cut -f1)
echo "### ${fn} — _${size}_ " >> "$OUT"
echo "" >> "$OUT"
echo "<img src=\"${rel}\" alt=\"${fn}\" />" >> "$OUT"
echo "" >> "$OUT"
done
echo "" >> "$OUT"
done