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 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.

2 Jan 2021
2 Jan 2021
apple macos productivity