Organize your dock by adding spacers in Snow Leopard

There is nothing like a shiny new mac and if you are like me, then you start with a fresh install rather then cloning your old machine. Since the dock on the new machine was not setup the way I like it a had to make a few changes and one of them is to add separators between applications. I do this to group like applications together. So to get started the first thing you will need to do is open Terminal on your Mac.

This is what my dock currently looks like.

Terminal can be found in: Applications > Utilities

To add a separator to the left side of the dock

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

To add a separator to the right side of the dock

defaults write com.apple.dock persistent-others -array-add '{tile-data={}; tile-type="spacer-tile";}'

Each time you run one of the commands above it will create a new separator but you need to restart the dock to see them. To do this just type this into Terminal:

killall Dock