Dock Spacers

Just a small thing that I found out about today and wanted to write down somewhere. Using Terminal, you can create blank spacers for the macOS dock. Simply run defaults write com.apple.dock persistent-apps -array-add '{"tile-type"="spacer-tile";}' for as many spaces as you want, and then restart the Dock with killall Dock. You can rearrange the spaces wherever you want, and can remove them just like any normal dock item.