Pick mouse position into variable

# with evil eval
gpick -p -s && eval "$(xdotool getmouselocation --shell)" && echo $X $Y
# or with no eval
gpick -p -s && read -r X Y _ < <(xdotool getmouselocation) || exit
X="${X//[^0-9]/}"; Y="${Y//[^0-9]/}"

getAngle script.