aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMathias Bynens <mathias@qiwi.be>2013-03-25 07:07:31 +0100
committerMathias Bynens <mathias@qiwi.be>2013-03-25 07:07:31 +0100
commit73a5833600fc567548f5f4cf907854915190eeba (patch)
tree24eb64eaabe1b42d1a87fd2c06071d66534755ed
parentcc7bf5649b98b6ed48b94bd8e2bf7d8add188b27 (diff)
downloaddotfiles-73a5833600fc567548f5f4cf907854915190eeba.tar.gz
dotfiles-73a5833600fc567548f5f4cf907854915190eeba.tar.bz2
dotfiles-73a5833600fc567548f5f4cf907854915190eeba.zip
.osx: Set standby delay to 24 hours
Hat tip: http://www.ewal.net/2012/09/09/slow-wake-for-macbook-pro-retina/
-rwxr-xr-x.osx3
1 files changed, 3 insertions, 0 deletions
diff --git a/.osx b/.osx
index cc9c053..f9e6624 100755
--- a/.osx
+++ b/.osx
@@ -18,6 +18,9 @@ sudo scutil --set HostName "MathBook Pro"
sudo scutil --set LocalHostName "MathBook-Pro"
sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.smb.server NetBIOSName -string "MathBook-Pro"
+# Set standby delay to 24 hours (default is 1 hour)
+sudo pmset -a standbydelay 86400
+
# Menu bar: disable transparency
defaults write NSGlobalDomain AppleEnableMenuBarTransparency -bool false