IntelliDock hides a Dock when it is overlaid by a window.
Adjust the distance at the Dock begins to hide itself.
Grid is a window manager that integrates well with IntelliDock.
Note: While the software is classified as free, it is actually donationware. Please consider making a donation to help support development.