-
Notifications
You must be signed in to change notification settings - Fork 8
/
manifest_generate.zsh
executable file
·42 lines (39 loc) · 1.93 KB
/
manifest_generate.zsh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#!/bin/zsh
echo "---- side-by-side previews... ----"
tags() { # xD
x=$(echo $1 | sed -E "s/.+\///")
x=$(echo $x | sed -E "s/.webp//")
x=$(echo $x | sed -E "s/preview-side-by-side-//")
x=$(echo $x | sed -E "s/worn-saxon/worn_saxon/")
x=$(echo $x | sed -E "s/worn-saxon/worn_saxon/")
x=$(echo $x | sed -E "s/bordered-saxon/bordered_saxon/")
x=$(echo $x | sed -E "s/bordered-saxon/bordered_saxon/")
x=$(echo $x | sed -E "s/-/:/")
x=$(echo $x | sed -E "s/-/:/")
x=$(echo $x | sed -E "s/-/:/")
x=$(echo $x | sed -E "s/worn_saxon/worn-saxon/")
x=$(echo $x | sed -E "s/worn_saxon/worn-saxon/")
x=$(echo $x | sed -E "s/bordered_saxon/bordered-saxon/")
x=$(echo $x | sed -E "s/bordered_saxon/bordered-saxon/")
echo "preview side-by-side back-${x%%:*} border-${${x%:*}#*:} ink-${x##*:}"
}
for file in art/0-the-fool/side-by-side/*; echo $file, Side by Side Preview, $(tags $file), A static preview displaying the card back and border, image/webp
echo "---- animated previews... ----"
tags() { # xD
x=$(echo $1 | sed -E "s/.+\///")
x=$(echo $x | sed -E "s/.webm//")
x=$(echo $x | sed -E "s/preview-animated-//")
x=$(echo $x | sed -E "s/worn-saxon/worn_saxon/")
x=$(echo $x | sed -E "s/worn-saxon/worn_saxon/")
x=$(echo $x | sed -E "s/bordered-saxon/bordered_saxon/")
x=$(echo $x | sed -E "s/bordered-saxon/bordered_saxon/")
x=$(echo $x | sed -E "s/-/:/")
x=$(echo $x | sed -E "s/-/:/")
x=$(echo $x | sed -E "s/-/:/")
x=$(echo $x | sed -E "s/worn_saxon/worn-saxon/")
x=$(echo $x | sed -E "s/worn_saxon/worn-saxon/")
x=$(echo $x | sed -E "s/bordered_saxon/bordered-saxon/")
x=$(echo $x | sed -E "s/bordered_saxon/bordered-saxon/")
echo "preview animated back-${x%%:*} border-${${x%:*}#*:} ink-${x##*:}"
}
for file in art/0-the-fool/animated/compressed/*; echo $file, Animated Preview, $(tags $file), An animated preview displaying the rotating card, image/webm