How to add separators to the macOS dock
How to add separators to the macOS dock
Anonim

This will make it easier to sort applications.

How to add separators to the macOS dock
How to add separators to the macOS dock

The macOS dock is the most convenient tool for launching frequently used applications. You can add program icons, folders, and even websites to it. However, the downside here is that there is no way to separate application icons from each other.

A little life hack to add dividers to the macOS dock
A little life hack to add dividers to the macOS dock

But there is a little life hack that will allow you to create separators in the dock. Thus, you can visually sort your applications as you like: by type, importance, and so on. This is how it is done.

Open macOS Terminal. It can be launched via Launchpad or found in the Applications → Utilities folder. Or just press the Shift + Command + U key combination.

In the command line, enter the following passage and press Enter.

defaults write com.apple.dock persistent-apps -array-add '{"tile-type" = "spacer-tile";}'; killall dock

How to add separators to macOS Dock: Type this command and press Enter
How to add separators to macOS Dock: Type this command and press Enter

Your dock will reboot, and an empty element will appear in it, which will serve as a separator. Take it and drag it to the desired location, as you do with regular icons.

How to add dividers to the macOS Dock: you might think the separator is too big
How to add dividers to the macOS Dock: you might think the separator is too big

You might think that the separator is too large - it takes up as much space as a regular icon. In this case, type the command in the "Terminal":

defaults write com.apple.dock persistent-apps -array-add '{"tile-type" = "small-spacer-tile";}'; killall dock

It is used to create smaller separators.

How to add dividers to macOS Dock: you can use the command to create smaller dividers
How to add dividers to macOS Dock: you can use the command to create smaller dividers

You can place such items not only in the applications section, but also in the folders section. This command creates large separators for them:

defaults write com.apple.dock persistent-others -array-add '{tile-data = {}; tile-type = "spacer-tile";} '; killall dock

How to add dividers to macOS dock: large folder dividers
How to add dividers to macOS dock: large folder dividers

And this one is small:

defaults write com.apple.dock persistent-others -array-add '{tile-data = {}; tile-type = "small-spacer-tile";} '; killall dock

How to add dividers to macOS dock: small folder dividers
How to add dividers to macOS dock: small folder dividers

If you need multiple separators, just enter the appropriate command in the "Terminal" over and over again. This allows you to group icons into convenient and visually recognizable categories. Browser to browser, messenger to messenger. Or come up with your own sorting method.

You can remove dividers added to the macOS Dock just like any other icon
You can remove dividers added to the macOS Dock just like any other icon

You can remove separators just like any other icon. Take it and drag it off the dock and it will disappear. Alternatively, right-click on the separator and click "Remove from Dock" from the menu that opens.

Recommended: