Skip to content

Instantly share code, notes, and snippets.

@jentanbernardus
Created November 15, 2013 05:57
Show Gist options
  • Save jentanbernardus/7479802 to your computer and use it in GitHub Desktop.
Save jentanbernardus/7479802 to your computer and use it in GitHub Desktop.
Add Spacers to the Left and Right-Side of the Dock in Mac OS X. Launch the Terminal and paste the snippets below into the command line. If you want multiple spacers added, just hit the up arrow and return to initiate the command again. Each execution of the defaults write command will create one additional spacer in the Dock. After a spacer has …
defaults write com.apple.dock persistent-apps -array-add '{"tile-type"="spacer-tile";}' ;killall Dock
defaults write com.apple.dock persistent-others -array-add '{tile-data={}; tile-type="spacer-tile";}' ;killall Dock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment