aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMathias Bynens <mathias@qiwi.be>2012-07-27 10:09:50 +0200
committerMathias Bynens <mathias@qiwi.be>2012-07-27 10:09:50 +0200
commitfc1966559537aaa91ec0d0dbdd83aae1ce361531 (patch)
tree6acf8c07cc7c4a85d3390d014482faf5b805d085
parenta168e9376dc2c3a525402a4d29c5cf17432b0296 (diff)
downloaddotfiles-fc1966559537aaa91ec0d0dbdd83aae1ce361531.tar.gz
dotfiles-fc1966559537aaa91ec0d0dbdd83aae1ce361531.tar.bz2
dotfiles-fc1966559537aaa91ec0d0dbdd83aae1ce361531.zip
.osx: Set computer name
-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"