Adjust width of spacer between Mac OS dock icons

2

2

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

supersize

Posted 2016-08-27T13:14:26.567

Reputation: 165

You may want to get this migrated over to AskDifferent. They specialize in that type of thing. – Flare Cat – 2016-08-28T11:03:45.210

@FlareCat already did, I thought I leave this here too though! – supersize – 2016-08-28T11:17:39.397

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 – 2016-08-28T11:34:16.393

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 – 2016-08-28T13:09:35.193

the dupe of this question lives at http://apple.stackexchange.com/questions/250723/adjust-width-of-spacer-between-mac-os-dock-icons

– chicks – 2016-08-29T17:54:24.937

Answers

4

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":

https://apple.stackexchange.com/a/273540/37797

grg

Posted 2016-08-27T13:14:26.567

Reputation: 1 499