Created
April 9, 2019 19:11
-
-
Save refnode/d5d3befa34d433b73513e762bbe173b3 to your computer and use it in GitHub Desktop.
macOS defaults
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
defaults write com.apple.menuextra.battery ShowPercent -string YES | |
defaults write com.apple.systemuiserver menuExtras -array \ | |
"/System/Library/CoreServices/Menu Extras/Clock.menu" \ | |
"/System/Library/CoreServices/Menu Extras/Battery.menu" \ | |
"/System/Library/CoreServices/Menu Extras/AirPort.menu" \ | |
"/System/Library/CoreServices/Menu Extras/Bluetooth.menu" \ | |
"/System/Library/CoreServices/Menu Extras/Displays.menu" \ | |
"/System/Library/CoreServices/Menu Extras/Volume.menu" | |
killall SystemUIServer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment