feat: new GDM greeter logo

Text in logo is capitalized (YourDev instead of yourdev)
Image file is installed in /usr/share/orange-yourdev-login
This commit is contained in:
Michel Decima
2023-01-18 13:24:32 +01:00
parent 5a6fe5ecc6
commit 6267240878
9 changed files with 56 additions and 1 deletions

27
images/xcf2png-one.sh Executable file
View File

@@ -0,0 +1,27 @@
#!/bin/bash
if (( $# == 0 )) ; then
echo "Missing argument." >&2
exit 1
fi
INFILE="$1" OUTFILE="$2"
if [[ ! -e "$INFILE" ]] ; then
echo "File not found: '$INFILE'" >&2
exit 1
fi
if [[ -z "$OUTFILE" ]] ; then
OUTFILE="$(basename "$INFILE" .xcf).png"
fi
# taken from https://stackoverflow.com/a/5846727
gimp -n -i -b - <<EOF
(let* ( (infile "${INFILE}") (outfile "${OUTFILE}") (image 0) (layer 0) )
(set! image (car (gimp-file-load RUN-NONINTERACTIVE infile infile)))
(set! layer (car (gimp-image-merge-visible-layers image CLIP-TO-IMAGE)))
(gimp-file-save RUN-NONINTERACTIVE image layer outfile outfile)
(gimp-image-delete image)
(gimp-quit 0)
)
EOF