I would like to execute a command-line command that activates "click and drag" mouse selection on a single local X11 screen.
The goal is to:
- get the selected rectangle X and Y coordinates,
- get the rectangle width and height,
- output these values to stdout,
- (optional) draw a selection border while dragging the mouse.