Skip to content

Instantly share code, notes, and snippets.

@hachesilva
Created June 27, 2024 00:27
Show Gist options
  • Save hachesilva/23c317473eb178049e8fcaf6066bba73 to your computer and use it in GitHub Desktop.
Save hachesilva/23c317473eb178049e8fcaf6066bba73 to your computer and use it in GitHub Desktop.
Built-in workaround for applications hiding under the MacBook Pro notch

Source: https://flaky.build/built-in-workaround-for-applications-hiding-under-the-macbook-pro-notch

# Change the whitespace settings value, value from 0 to 6
defaults -currentHost write -globalDomain NSStatusItemSelectionPadding -int 6
defaults -currentHost write -globalDomain NSStatusItemSpacing -int 6

# Revert to the original values
defaults -currentHost delete -globalDomain NSStatusItemSelectionPadding
defaults -currentHost delete -globalDomain NSStatusItemSpacing

# After running these commands, you need to log out and log back in
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment