I definitely can come up with a better name. Something about warehouse jobs.
Overview
The tool takes a list of two or more rectangular cordinants with the last rectangle being larger than all the other rectangles. The last rectangle will be the surface. If possible the tool will return updated cordinants for all the rectangles except the surface so that they fit without overlapping, centered, and with equal distances between each other on the surface.
Rectangles may be specified in either xywh or xyxy. Probably the format xorg uses to specify geometry would be optimal.
Why
When I have multiple floating windows open in i3 I would like to be able to press a button and have all the windows rearranged so that they are centered on the screen and equal distances from each other.