Skip to content

Adjust menubar icon space padding #373

@0xRake

Description

@0xRake

Template


  • I made sure this command is not in the commands list
  • I searched and didn't find this command in the listed issues
  • I know this defaults command exists
  • I know this command works on macOS current version
  • I know this command is deprecated on macOS current version

Description


Currently, macOS has a built-in "status-spacing"(or "whitespace") for applications that also have a top-menu icon. Users can tweak the spacing value within the top-menu. This is especially handy for mbpro users who are running multiple applications and are limited to the buit-in display - who's notch interferes with the top-menu icons.

Additional Parameters


  • Folder: MenuBar

  • Command:

# Adjust mbpro notch whitespace to accomodate more than 13 app in top menu
defaults -currentHost write -globalDomain NSStatusItemSelectionPadding -int 4
defaults -currentHost write -globalDomain NSStatusItemSpacing -int 4
  • Argument type: int

Examples:


  1. Modify parameters
# modification 

defaults -currentHost write -globalDomain NSStatusItemSelectionPadding -int 4
defaults -currentHost write -globalDomain NSStatusItemSpacing -int 4
  1. Reset to default
# reset to default

defaults -currentHost delete -globalDomain NSStatusItemSelectionPadding
defaults -currentHost delete -globalDomain NSStatusItemSpacing

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions