-
-
Save olssonm/87e0d72b1ef80fffb6f5a1fba1d17ea1 to your computer and use it in GitHub Desktop.
defaults write com.apple.dock size-immutable -bool true; killall Dock |
This doesn't work. It only disables the ability to change the size in preferences. It still resizes itself depending on how many apps are open.
@jameydeorio – You're thinking of another type of resize. What this does is to disable the resizing of the Dock and icons by for example pulling in the divider (i.e. between apps and folder) in the Dock.
Disabling horizontal resizing regardless off the number of apps as you're talking about is as far as I know not possible in macOS.
I realized this after I commented. BUT, I also figured out if you [x] Minimize windows into application icon
, it does what I've been looking for for ages :)
Another useful setting is to lock the icon sizes, so that the Dock is always the same height:
defaults write com.apple.dock tilesize -int 60; killall Dock
update for 2020:
defaults write com.apple.dock size-immutable -bool true; killall Dock
how do I undo this
@Supaflowin
defaults write com.apple.dock size-immutable -bool false; killall Dock
OMG THANK YOU
Thank you, I was going crazy!