mirror of
https://github.com/rwinkhart/glamour-temp-MUTN.git
synced 2026-09-05 16:37:19 -04:00
Embed styles in gold library
This commit is contained in:
Executable
+14
@@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
for style in ./styles/*.json; do
|
||||
echo "Generating screenshot for ${style}"
|
||||
filename="`basename -s .json ${style}`.png"
|
||||
|
||||
light=""
|
||||
if [[ $style == *"light"* ]]; then
|
||||
light="-l"
|
||||
fi
|
||||
|
||||
./termshot ${light} -o ./styles/ -f "$filename" ./gold -s ${style}
|
||||
pngcrush -ow "./styles/$filename"
|
||||
done
|
||||
Reference in New Issue
Block a user