Create a line separation for finder in the dock? (osx 10.10)

Solution 1:

I've created a binary release for a project called Vertical Bar that lets you add as many vertical bars as you want to the macOS dock.

Project here: https://github.com/afallon02/VerticalBar

Solution 2:

The dock doesn't support additional horizontal spacers per se (besides those invisible ones), but there used to be a hacky work-around where you made a .app file with a line as an icon, and could use that as a spacer.

Basically, create a folder, append .app to it, and give it a separator icon by changing the icon. Then drag and drop the separator to the dock. You can find lots of assets for docks online at sites like deviantart or the old macthemes.net (if that still exists...)

Still, the easiest way is to probably just use the defaults write command to get those invisble spacers. I use them and find it works very nicely:

MyDock