From a87a39e04f94dadc9e5d57d0d0a2a7cb8520527e Mon Sep 17 00:00:00 2001 From: Mathias Bynens Date: Mon, 9 Dec 2013 11:36:48 +0100 Subject: .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. --- .osx | 10 +++++++--- 1 file 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 -- cgit v1.2.3