Change FreeHugsBSD background placement
This commit is contained in:
parent
afeec573e8
commit
9b207887c1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user