animation/position.sh

12 lines
160 B
Bash

#!/bin/bash
X=4.2
Y=1.25
if [ "${1}" == "set" ]; then
paxi move $X 0
paxi move 0 $Y
else if [ "${1}" == "reset" ]; then
paxi move -$X 0
paxi move 0 -$Y
fi