fix script
@@ -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
|
||||||
|
Before Width: | Height: | Size: 13 MiB |
Before Width: | Height: | Size: 351 KiB |
Before Width: | Height: | Size: 234 KiB |
Before Width: | Height: | Size: 2.2 MiB |
Before Width: | Height: | Size: 2.3 MiB |
Before Width: | Height: | Size: 1.5 MiB |
Before Width: | Height: | Size: 778 KiB |
Before Width: | Height: | Size: 9.2 MiB |
Before Width: | Height: | Size: 3.7 MiB |
Before Width: | Height: | Size: 9.6 MiB |
Before Width: | Height: | Size: 1.8 MiB |
Before Width: | Height: | Size: 4.3 MiB |
Before Width: | Height: | Size: 697 KiB |
Before Width: | Height: | Size: 286 KiB |
Before Width: | Height: | Size: 3.3 MiB |
Before Width: | Height: | Size: 11 MiB |
Before Width: | Height: | Size: 7.5 MiB |
Before Width: | Height: | Size: 5.5 MiB |
Before Width: | Height: | Size: 3.7 MiB |
Before Width: | Height: | Size: 7.3 MiB |
Before Width: | Height: | Size: 6.5 MiB |
Before Width: | Height: | Size: 1.1 MiB |
Before Width: | Height: | Size: 1.9 MiB |
Before Width: | Height: | Size: 756 KiB |
Before Width: | Height: | Size: 817 KiB |
Before Width: | Height: | Size: 5.5 MiB |
Before Width: | Height: | Size: 1.1 MiB |
Before Width: | Height: | Size: 12 MiB |
Before Width: | Height: | Size: 3.5 MiB |
Before Width: | Height: | Size: 1.4 MiB |
Before Width: | Height: | Size: 284 KiB |
Before Width: | Height: | Size: 1.6 MiB |
Before Width: | Height: | Size: 220 KiB |
Before Width: | Height: | Size: 2.0 MiB |
Before Width: | Height: | Size: 1.0 MiB |
Before Width: | Height: | Size: 1.2 MiB |
Before Width: | Height: | Size: 318 KiB |
Before Width: | Height: | Size: 808 KiB |
Before Width: | Height: | Size: 2.4 MiB |
Before Width: | Height: | Size: 8.0 MiB |
Before Width: | Height: | Size: 6.6 MiB |
Before Width: | Height: | Size: 682 KiB |
Before Width: | Height: | Size: 2.3 MiB |
Before Width: | Height: | Size: 15 MiB |
Before Width: | Height: | Size: 1.0 MiB |
Before Width: | Height: | Size: 342 KiB |
Before Width: | Height: | Size: 302 KiB |
Before Width: | Height: | Size: 1023 KiB |
Before Width: | Height: | Size: 1.8 MiB |
Before Width: | Height: | Size: 6.4 MiB |
Before Width: | Height: | Size: 834 KiB |
Before Width: | Height: | Size: 2.2 MiB |
Before Width: | Height: | Size: 260 KiB |
Before Width: | Height: | Size: 11 MiB |
Before Width: | Height: | Size: 990 KiB |
Before Width: | Height: | Size: 4.4 MiB |
Before Width: | Height: | Size: 3.7 MiB |
Before Width: | Height: | Size: 1.2 MiB |
Before Width: | Height: | Size: 5.1 MiB |
Before Width: | Height: | Size: 4.3 MiB |
Before Width: | Height: | Size: 477 KiB |
Before Width: | Height: | Size: 9.8 MiB |
Before Width: | Height: | Size: 908 KiB |
Before Width: | Height: | Size: 13 MiB |
414
README.md
@@ -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
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
### cloud
|
### cloud
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
### clouds_realism
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### comfy
|
### comfy
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
### dragon_ball
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### dreamy
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### fantasy-girl
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### flower
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### frieren-1
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### frieren-2
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### frieren-3
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### frieren-4
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### girls
|
### girls
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
### jon_snow
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### macchiato
|
### macchiato
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
### palm_trees
|
### palm_trees
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
### sakura_zenitsu
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### samurai_bebop
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### samurai_bebop_alone
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### samurai_girl
|
### samurai_girl
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
### samurai_girl_chill
|
### samurai_girl_chill
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
### scissors
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### shrine
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### totoro
|
### totoro
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
### train_tokyo
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### wings
|
### wings
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
### yosemite
|
### yosemite
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
---
|
### clouds_realism
|
||||||
|
|
||||||
## Code Garden <a name="code-garden"></a>
|

|
||||||
|
|
||||||
|
### dragon_ball
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
### dreamy
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
### fantasy-girl
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
### flower
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
### frieren-2
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
### frieren-3
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
### jon_snow
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
### sakura_zenitsu
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
### samurai_bebop
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
### samurai_bebop_alone
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
### scissors
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
### shrine
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
### frieren-1
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
### frieren-4
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
### train_tokyo
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
|
||||||
|
## Code Garden
|
||||||
|
|
||||||
### art
|
### art
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
### aurora
|
### aurora
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
### beer
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### bunnies
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### cabin
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### calligraphy
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### citrus
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### deer
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### drive
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### ducks
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### e33
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### fires
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### fox
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### friends
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### gojo
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### ivy
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### journey
|
### journey
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
### kayle
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### landscape
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### love
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### magic
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### messmer
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### nebula
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### oasis
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### pyramid
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### recluse
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### rising
|
### rising
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
### sbr
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### snow
|
### snow
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
### spike
|
### spike
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
### sunset
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### transit
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### trina
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### walk
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### window
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### yorha
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### zen
|
### zen
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
### beer
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
### bunnies
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
### cabin
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
### calligraphy
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
### citrus
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
### deer
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
### drive
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
### ducks
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
### fires
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
### fox
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
### friends
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
### gojo
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
### ivy
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
### kayle
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
### landscape
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
### love
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
### magic
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
### messmer
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
### nebula
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
### oasis
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
### pyramid
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
### recluse
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
### sbr
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
### sunset
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
### transit
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
### trina
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
### walk
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
### window
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
### yorha
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
### e33
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
|
||||||
|
BIN
aurora.png
Before Width: | Height: | Size: 3.5 MiB |
BIN
bunnies.jpg
Before Width: | Height: | Size: 284 KiB |
BIN
calligraphy.jpg
Before Width: | Height: | Size: 220 KiB |
BIN
citrus.jpg
Before Width: | Height: | Size: 2.0 MiB |
BIN
friends.jpg
Before Width: | Height: | Size: 6.6 MiB |
@@ -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 "" >> "$OUT"
|
||||||

|
echo "" >> "$OUT"
|
||||||
|
|
||||||
EOF
|
|
||||||
done
|
done
|
||||||
|
echo "" >> "$OUT"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
BIN
journey.png
Before Width: | Height: | Size: 15 MiB |
BIN
landscape.jpg
Before Width: | Height: | Size: 342 KiB |
BIN
messmer.jpg
Before Width: | Height: | Size: 1.8 MiB |
BIN
nebula.jpg
Before Width: | Height: | Size: 6.4 MiB |
BIN
pyramid.jpg
Before Width: | Height: | Size: 2.2 MiB |
BIN
recluse.jpg
Before Width: | Height: | Size: 260 KiB |
BIN
rising.png
Before Width: | Height: | Size: 11 MiB |
BIN
sunset.jpg
Before Width: | Height: | Size: 1.2 MiB |
BIN
transit.jpg
Before Width: | Height: | Size: 5.1 MiB |