Put status banner to NorthEast
This commit is contained in:
parent
4ac2300f30
commit
16b21025ec
@ -27,11 +27,11 @@ graphics:
|
||||
# use predefined image 800x600 with logo
|
||||
if [ -n "$(STATUS)" ];then \
|
||||
mv images/boot.png images/.boot.png; \
|
||||
convert images/.boot.png -undercolor '#c62530' -fill white -font /usr/share/fonts/ttf/dejavu/DejaVuSansCondensed-Bold.ttf -style Normal -weight Normal -pointsize 30 -gravity northwest -draw 'text 0,55 " $(STATUS) "' images/boot.png;\
|
||||
convert images/.boot.png -undercolor '#c62530' -fill white -font /usr/share/fonts/ttf/dejavu/DejaVuSansCondensed-Bold.ttf -style Normal -weight Normal -pointsize 30 -gravity NorthEast -draw 'text 0,55 " $(STATUS) "' images/boot.png;\
|
||||
rm -f images/.boot.png; \
|
||||
for i in images/with-logo/*.png; do \
|
||||
mv $$i $$i.png; \
|
||||
convert $$i.png -undercolor '#c62530' -fill white -font /usr/share/fonts/ttf/dejavu/DejaVuSansCondensed-Bold.ttf -style Normal -weight Normal -pointsize 30 -gravity northwest -draw 'text 0,0 " $(STATUS) "' $$i;\
|
||||
convert $$i.png -undercolor '#c62530' -fill white -font /usr/share/fonts/ttf/dejavu/DejaVuSansCondensed-Bold.ttf -style Normal -weight Normal -pointsize 30 -gravity NorthEast -draw 'text 0,0 " $(STATUS) "' $$i;\
|
||||
rm -f $$i.png; \
|
||||
done; \
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user