DEV Community 👩‍💻👨‍💻

Nathaniel
Nathaniel

Posted on • Originally published at endtimes.dev

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 com.apple.dock 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)

Collapse
andre profile image
André König

Cool! Thanks for sharing!

🌚 Friends don't let friends browse without dark mode.

Sorry, it's true.