aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-x.osx10
1 files changed, 6 insertions, 4 deletions
diff --git a/.osx b/.osx
index 3141d5d..df1a86f 100755
--- a/.osx
+++ b/.osx
@@ -28,10 +28,12 @@ sudo nvram SystemAudioVolume=" "
defaults write NSGlobalDomain AppleEnableMenuBarTransparency -bool false
# 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"
+for domain in ~/Library/Preferences/ByHost/com.apple.systemuiserver.*; do
+ defaults write "${domain}" dontAutoLoad -array \
+ "/System/Library/CoreServices/Menu Extras/TimeMachine.menu" \
+ "/System/Library/CoreServices/Menu Extras/Volume.menu" \
+ "/System/Library/CoreServices/Menu Extras/User.menu"
+done
defaults write com.apple.systemuiserver menuExtras -array \
"/System/Library/CoreServices/Menu Extras/Bluetooth.menu" \
"/System/Library/CoreServices/Menu Extras/AirPort.menu" \