zhaoJian's Tech Notes

Reduce the Spacing Between Icons in the macOS Menu Bar

Technology ~504 words · 2 min read - views

On macOS Tahoe version 26.2, reduce the spacing between icons in the macOS menu bar without installing third-party tools

Reduce Spacing
Terminal window
defaults -currentHost write -globalDomain NSStatusItemSelectionPadding -int 7
defaults -currentHost write -globalDomain NSStatusItemSpacing -int 7

Log out or restart to take effect.

Restore
Terminal window
defaults -currentHost delete -globalDomain NSStatusItemSelectionPadding
defaults -currentHost delete -globalDomain NSStatusItemSpacing
Share:

Comments