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:
11
images/Makefile
Normal file
11
images/Makefile
Normal file
@@ -0,0 +1,11 @@
|
||||
PNGS = yourdev-logo-min.png yourdev-logo-maj.png
|
||||
|
||||
%.png: %.xcf
|
||||
./xcf2png-one.sh $^ $@
|
||||
|
||||
all: $(PNGS)
|
||||
|
||||
clean:
|
||||
rm -f $(PNGS)
|
||||
|
||||
.DELETE_ON_ERROR:
|
||||
17
images/xcf2png-all.sh
Executable file
17
images/xcf2png-all.sh
Executable file
@@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
|
||||
# taken from https://stackoverflow.com/a/5846727
|
||||
gimp -n -i -b - <<EOF
|
||||
(let* ( (file's (cadr (file-glob "*.xcf" 1))) (filename "") (image 0) (layer 0) )
|
||||
(while (pair? file's)
|
||||
(set! image (car (gimp-file-load RUN-NONINTERACTIVE (car file's) (car file's))))
|
||||
(set! layer (car (gimp-image-merge-visible-layers image CLIP-TO-IMAGE)))
|
||||
(set! filename (string-append (substring (car file's) 0 (- (string-length (car file's)) 4)) ".png"))
|
||||
(gimp-file-save RUN-NONINTERACTIVE image layer filename filename)
|
||||
(gimp-image-delete image)
|
||||
(set! file's (cdr file's))
|
||||
)
|
||||
(gimp-quit 0)
|
||||
)
|
||||
EOF
|
||||
|
||||
27
images/xcf2png-one.sh
Executable file
27
images/xcf2png-one.sh
Executable 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
|
||||
|
||||
BIN
images/yourdev-logo-maj.png
Normal file
BIN
images/yourdev-logo-maj.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.1 KiB |
BIN
images/yourdev-logo-maj.xcf
Normal file
BIN
images/yourdev-logo-maj.xcf
Normal file
Binary file not shown.
BIN
images/yourdev-logo-min.png
Normal file
BIN
images/yourdev-logo-min.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.0 KiB |
Reference in New Issue
Block a user