Skip to content

Instantly share code, notes, and snippets.

@lukeed
Last active November 12, 2021 20:51
Show Gist options
  • Star 10 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save lukeed/abba129ba50114fe0b1708bb0ec61dc3 to your computer and use it in GitHub Desktop.
Save lukeed/abba129ba50114fe0b1708bb0ec61dc3 to your computer and use it in GitHub Desktop.
OSX Dock Spacers

Huh?

Some MacOS users have very cluttered Docks & wish they could organize them without removing any App icons from the mix.

This snippet will add an empty "spacer" that you can drag around and use to separate icons into groups! See example.

Command

Paste this into your Terminal. Run the command for additional placeholders!

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

Note: Your wallpaper & Dock will briefly flicker. This is expected!

Undo, Undo!

Just drag the empty slot off your Dock -- just like removing any other icon!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment