DEV Community


Posted on • Originally published at

TIL: How to add spaces to the dock on MacOS

MacOs has a whole bunch of hidden settings that can only be accessed from the terminal. Here's one that helps keep things tidy.

You can add spaces to the dock to separate app icons. I've done this to create categories: work, writing, communication, browser.

Screenshot of my dock with spaces between the icons

To create a space in your dock:

  1. open terminal.
  2. add the following command: defaults write persistent-apps -array-add '{"tile-type"="spacer-tile";}'; killall Dock
  3. Press enter.

To remove the space:

  1. command-click the space.
  2. Select remove from dock

Easy, and it looks so much cleaner.

Top comments (1)

andre profile image
André König

Cool! Thanks for sharing!