aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMathias Bynens <mathias@qiwi.be>2013-12-09 11:36:48 +0100
committerMathias Bynens <mathias@qiwi.be>2013-12-09 11:36:48 +0100
commita87a39e04f94dadc9e5d57d0d0a2a7cb8520527e (patch)
treed62a9b3e08c32c401d47f14ce9abfd0682321096
parentee79763e731c62888c7f616ec2024bcf36eaca38 (diff)
downloaddotfiles-a87a39e04f94dadc9e5d57d0d0a2a7cb8520527e.tar.gz
dotfiles-a87a39e04f94dadc9e5d57d0d0a2a7cb8520527e.tar.bz2
dotfiles-a87a39e04f94dadc9e5d57d0d0a2a7cb8520527e.zip
.osx: Hide some menu bar icons in OS X 10.9 Mavericks
Kudos to @kevinSuttle for finding the appropriate `plist` file! https://github.com/mathiasbynens/dotfiles/issues/305#issuecomment-30102827 Ref. #305.
-rwxr-xr-x.osx10
1 files changed, 7 insertions, 3 deletions
diff --git a/.osx b/.osx
index 6f08e78..02a2313 100755
--- a/.osx
+++ b/.osx
@@ -31,8 +31,12 @@ defaults write NSGlobalDomain AppleEnableMenuBarTransparency -bool false
defaults write com.apple.menuextra.battery ShowPercent -string "NO"
defaults write com.apple.menuextra.battery ShowTime -string "YES"
-# Menu bar: hide the useless Time Machine and Volume icons
-defaults write com.apple.systemuiserver menuExtras -array "/System/Library/CoreServices/Menu Extras/Bluetooth.menu" "/System/Library/CoreServices/Menu Extras/AirPort.menu" "/System/Library/CoreServices/Menu Extras/Battery.menu" "/System/Library/CoreServices/Menu Extras/Clock.menu"
+# Menu bar: hide the Time Machine, Volume, User, and Bluetooth icons
+defaults write ~/Library/Preferences/ByHost/com.apple.systemuiserver.* dontAutoLoad -array \
+ "/System/Library/CoreServices/Menu Extras/TimeMachine.menu" \
+ "/System/Library/CoreServices/Menu Extras/Volume.menu" \
+ "/System/Library/CoreServices/Menu Extras/User.menu" \
+ "/System/Library/CoreServices/Menu Extras/Bluetooth.menu"
# Set highlight color to green
defaults write NSGlobalDomain AppleHighlightColor -string "0.764700 0.976500 0.568600"
@@ -646,7 +650,7 @@ defaults write org.m0k.transmission WarningLegal -bool false
# Disable smart quotes as it’s annoying for code tweets
defaults write com.twitter.twitter-mac AutomaticQuoteSubstitutionEnabled -bool false
-# Show the app window when clicking the menu icon
+# Show the app window when clicking the menu bar icon
defaults write com.twitter.twitter-mac MenuItemBehavior -int 1
# Enable the hidden ‘Develop’ menu