Pick mouse position into variable
28. 2. 2022# 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]/}"