Mac OS X Dock Spacers
I was reorganizing my desktop when I noticed how cluttered my dock was, so I set out on a quest to find ways on how to make it look more organized and found out that adding spacers to it can help divide my applications into different sections, thus making it look cleaner and neater.
To add spacers to your dock, just fire up Terminal (Applications > Utilities) and run the following command:
defaults write com.apple.dock persistent-apps -array-add '{tile-data={}; tile-type="spacer-tile";}'
Don’t worry if you don’t see any changes yet, because you still need to reload the dock. To do so, just run the following command in Terminal as well.
killall Dock
Your dock will reload and you should be seeing an empty space (spacer) on your dock now. To add more, just run the first command for as many spacers as you want and reload the dock.
You can add spacers to the right side of the dock too, or also known as the “Stacks” side of the dock. To do so, just run the following command for as many spacers as you want as well, and remember reload the dock when you’re done.
defaults write com.apple.dock persistent-others -array-add '{tile-data={}; tile-type="spacer-tile";}'
To remove these spacers, just right click on them and select “Remove from Dock” or just drag them out of the dock and it’ll *poof* away.
