One Mac user wanted to break up how the Dock looks depending on the displays he had connected - so he built an app. Full story from the iMore Blog...
Finally! HiDock app lets you set Mac Dock settings on a per-display basis
iMore.com News Discussion & ContestsOriginal thread: https://forums.imore.com/threads/finally-hidock-app-lets-you-set-mac-dock-settings-on-a-per-display-basis.458993/