DEV Community

loading...

TIL: How to add spaces to the dock on MacOS

shadowfaxrodeo profile image Nathaniel Originally published at endtimes.dev ・1 min read

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.

Discussion (1)

pic
Editor guide
Collapse
andre profile image
André König

Cool! Thanks for sharing!