Spacers in the macOS Dock

The macOS dock doesn&#x27;t just let you add spacers, but this can be fixed. These are a built in way, but not great: # Default size: defaults write com.apple.dock persistent-apps -array-add &#x27;{"tile-type"="spacer-tile";}&#x27; # Small size: defaults write com.apple.dock persistent-apps -array-add &#x27;{"tile-type"="small-spacer-tile";}&#x27; killall Dock Someone posted a debatably better way…