aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-x.osx7
1 files changed, 6 insertions, 1 deletions
diff --git a/.osx b/.osx
index 5a92942..e756b2c 100755
--- a/.osx
+++ b/.osx
@@ -4,10 +4,15 @@
# General UI/UX #
###############################################################################
+# Set computer name (as done via System Preferences → Sharing)
+scutil --set ComputerName "MathBook Pro"
+scutil --set HostName "MathBook Pro"
+scutil --set LocalHostName "MathBook-Pro"
+
# Menu bar: disable transparency
defaults write NSGlobalDomain AppleEnableMenuBarTransparency -bool false
-# Menu bar: show remaining battery time; hide percentage
+# Menu bar: show remaining battery time (on pre-10.8); hide percentage
defaults write com.apple.menuextra.battery ShowPercent -string "NO"
defaults write com.apple.menuextra.battery ShowTime -string "YES"