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

dockfindermacos

I was wondering if it would be possible to create a line separator for the finder app, just like the one found next to the trash can?

enter image description here

The only behaviour difference that I'd like is for the line to display to the right of the finder app, not left.

I've done a lot of googling with no luck, I can only find a command to create transparent seperations:

Using:

defaults write com.apple.dock persistent-apps -array-add '{ "tile-type" = "spacer-tile"; }'
killall Dock

Is anyone aware of how to do this?

Best Answer

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