Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there any possible way to remove the default status bar items #379

Open
2 tasks done
luxuxl opened this issue Sep 8, 2024 · 1 comment
Open
2 tasks done

Is there any possible way to remove the default status bar items #379

luxuxl opened this issue Sep 8, 2024 · 1 comment
Labels
discussion Discuss about macOS automation

Comments

@luxuxl
Copy link

luxuxl commented Sep 8, 2024

  • I made sure this feature is not in the commands list
  • I searched and didn't find this feature request in the listed issues

I'm looking for a command to remove items in status/menu bar.

image
@luxuxl luxuxl added the discussion Discuss about macOS automation label Sep 8, 2024
@with-heart
Copy link

I believe this can be controlled using the "NSStatusItem Visible Battery" preference in com.apple.controlcenter:

defaults write com.apple.controlcenter "NSStatusItem Visible Battery" -int "0" # disable
defaults write com.apple.controlcenter "NSStatusItem Visible Battery" -int "1" # enable

You can control the visibility of other icons like bluetooth, displays, sound, etc. using similar prefs and can find them using defaults find "NSStatusItem Visible".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion Discuss about macOS automation
Projects
None yet
Development

No branches or pull requests

2 participants