Initial sumbit of the hack:
Embedding dash-to-dock in the top bar
I thought this might be an interesting feature to have.
I wanted to embed the dash into the top bar to make better use of space available. My hack works without crashing on gnome-shell 3.14.x but I am more or less certain there may be better ways to accomplish this. I use moveclock extension/borrow code to move the clock to the right to create more room in the middle.
gsettings schema entry for embedding in top bar
And changes to conditionally select values based on whether dash
is embedded in the top bar or not.