Getting Started

Adding spacers to your Dock in OS X can really help to organize your applications, just like in the below preview, between Xcode and Spotify lies a spacer.


By default, macOS dock has some spacers already included in this.


Open up your terminal by opening up Finder, you can find Terminal in your Applications > Utilities > Terminal.

After you’ve opened up your you’ll have a nice chance to enter the following code:


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

Once you have entered the code, you must enter the following line to reload your dock.

killall Dock

This will basically close and re-open your Dock displaying the newly added spacer (It’s transparent). If you want to add more spacers, just enter the code in again as many time as you want and killall Dock. You can also remove any spacers by clicking and dragging the spacer off of the Dock.


I hope this post came useful to you! In the meantime, have some fun with this feature as it has greatly helped keep things organized.