Many of you might know that it is possible to add a spacer to the Mac OS dock icons with:

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

But I find them a bit wide. How can I adjust the space of those spacers?

Here's an image of the spacers I'm talking about:

enter image description here

  • You may want to get this migrated over to AskDifferent. They specialize in that type of thing. – Flare Cat Aug 28 '16 at 11:03
  • @FlareCat already did, I thought I leave this here too though! – supersize Aug 28 '16 at 11:17
  • Oh, alright. From the looks of it, you're giving the command a description of what to add with '{"tile-type"="spacer-tile";}'. Perhaps there is another "argument" you can provide to set the size of it? – Flare Cat Aug 28 '16 at 11:34
  • 1
    @FlareCat yeah that's what I thought too, but all efforts didn't bring a result. It seems like there's nothing for this. – supersize Aug 28 '16 at 13:09
  • the dupe of this question lives at apple.stackexchange.com/questions/250723/… – chicks Aug 29 '16 at 17:54

You can use {"tile-type"="small-spacer-tile";}:

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

Here, a "small-spacer-tile" vs a "spacer-tile":


| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.