Change FreeHugsBSD background placement

This commit is contained in:
Lucas 2019-10-05 00:31:15 +00:00
parent afeec573e8
commit 9b207887c1

View File

@ -16,8 +16,8 @@
: ${IMAGE_HEIGHT:=500}
: ${IMAGE_WIDTH:=500}
pos_x=$(($CANVAS_WIDTH - $IMAGE_WIDTH))
pos_y=$((($CANVAS_HEIGHT - $IMAGE_HEIGHT) / 2))
pos_x=$((3 * $CANVAS_WIDTH / 4 - $IMAGE_WIDTH / 2))
pos_y=$(($CANVAS_HEIGHT / 2 - $IMAGE_HEIGHT / 2))
if ! tmpfile=$(mktemp -t bg.XXXXXXXXXX); then
printf "%s: Can't create temporary file.\n" "${0##*/}" >&2