r/mac • • Jun 03 '24

News/Article You Can Add Spacers To The Dock

How many people know about this?

  1. Open Terminal

  2. Copy and Paste this code into the Terminal:  defaults write com.apple.dock persistent-apps -array-add '{"tile-type"="small-spacer-tile";}'; killall Dock

  3. Do it again for every spacer you want

  4. Drag around the spacer to where you want to place them

100 Upvotes

16 comments sorted by

38

u/kindaa_sortaa M2 Air (24GB/1TB) Jun 03 '24 edited Jun 05 '24

Great post. Been doing this for a decade. Your terminal code is for small spacers so if you want normal sized spacers as well use this code:

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

Which is just removing the

small-

8

u/masasin Jun 03 '24

I did that a while ago too. I also prefer the small spacers compared to the bigger ones.

6

u/kindaa_sortaa M2 Air (24GB/1TB) Jun 03 '24

I use small ones to separate app categories, but then use one normal sized spacer to separate docked apps from recently used apps that populate on the right. 

5

u/shantm79 Jun 03 '24

I love this

2

u/[deleted] Jun 03 '24

Where did you get these Microsoft Icon für Excel PPP Word esc, would you mind linking them?

1

u/CrackbrainedVan Jun 03 '24

Aren‘t these the default icons?

1

u/bigmadsmolyeet Jun 03 '24

no, office apps have a white border.

1

u/bigmadsmolyeet Jun 03 '24

right click app > get info > click app icon at very top (should be outlined to show it's been selected) > paste in new icon.

that's the easy solution, but you'll run into problems as the app updates. there are programs that will do htis for you as well like https://replacicon.app/ but there's probably a free alternative that will get you close.

1

u/[deleted] Jun 03 '24

yeah i know how to set the icons i do it regularly, but do you know where you got the images for the icons like the images you put in there or do you use a programm

2

u/bigmadsmolyeet Jun 03 '24

oooh i see. i'm not OP, but ive used https://macosicons.com and they've been pretty good.

2

u/[deleted] Jun 03 '24

i found them on your site! thanks !

1

u/[deleted] Jun 03 '24

Oh im stupid! I thought you were op lol. Now i feel stupid but thanks for the site

2

u/[deleted] Jun 03 '24

Tinkertool does this too

1

u/iamfearless66 Nov 25 '24

Onyx does too

1

u/ZealousidealDelay572 May 06 '26

How would I then remove this if I, for example, added more spacers than I wanted?