PureBox
Originally written for PureMPV, with this utility it is possible to get the relative x, y, height, width coordinates of a drawn rectangle inside an X11 application given its PID. It uses the Python X library to communicate with the X server.
Utility to draw rectangles on programs using Xlib to get x, y, width, height coordinates
pip install purebox==0.1.1
Originally written for PureMPV, with this utility it is possible to get the relative x, y, height, width coordinates of a drawn rectangle inside an X11 application given its PID. It uses the Python X library to communicate with the X server.