Group Apps in the macOS Dock
I recently found a post on /r/macOS that showed groups of apps in the dock.
It’s done by writing to the user defaults store from the Terminal:
$ defaults write com.apple.dock persistent-apps -array-add '{"tile-type"="small-spacer-tile";}'
$ killall Dock
This will add a small spacer to the end of the main section of your dock, which can then be dragged to wherever you’d like it. Add as many as you need to create your groups. To remove one, drag it out of the dock and release. A larger spacer-tile
is also avaiable if you prefer.