Then use a window manager that allows to automatically arrange windows. I build my own using Hammerspoon on macOS.
Great productivity upgrade.