I'm using mac m2 and sonoma. It's menu bar icons are too closed. Why is that? how can I fix this?
View attachment 5244
Try this: Open Terminal and enter this code:
defaults -currentHost write -globalDomain NSStatusItemSpacing -int 12
defaults -currentHost write -globalDomain NSStatusItemSelectionPadding -int 24
The numbers correspond to the x and y values (horizontal and vertical spacing) and they are my preference. Double values for y from x is more or less standard, but they don’t have to be in that ratio. When making adjustments, I place stickies on the edge of the monitor to mark the present setting. The command is quite benign. Your Mac will not blow up.
You can copy and paste the above code and just edit the numbers to your liking. Press return to send the command.
You need to log out/log in to see the effect. Enjoy!