Skip to content

Instantly share code, notes, and snippets.

@drunkensouljah
Forked from lukeed/OSX-Dock-Spacers.md
Created November 12, 2021 20:51
Show Gist options
  • Select an option

  • Save drunkensouljah/c4be7ba0a473c33c2f7461d6189c9019 to your computer and use it in GitHub Desktop.

Select an option

Save drunkensouljah/c4be7ba0a473c33c2f7461d6189c9019 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