aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMathias Bynens <mathias@qiwi.be>2012-08-12 13:19:45 +0200
committerMathias Bynens <mathias@qiwi.be>2012-08-12 13:19:45 +0200
commit9cf197818b1314affe874996d8ef8aa069491f3a (patch)
treec52077f622dd315ff63e065c1cd31290a64c6b0c
parent7b21969cf75db969132b28541b2e1c228eeb8207 (diff)
downloaddotfiles-9cf197818b1314affe874996d8ef8aa069491f3a.tar.gz
dotfiles-9cf197818b1314affe874996d8ef8aa069491f3a.tar.bz2
dotfiles-9cf197818b1314affe874996d8ef8aa069491f3a.zip
.osx: Automatically illuminate built-in MacBook keyboard in low light
-rwxr-xr-x.osx5
1 files changed, 5 insertions, 0 deletions
diff --git a/.osx b/.osx
index a27e704..524606d 100755
--- a/.osx
+++ b/.osx
@@ -125,6 +125,11 @@ defaults write NSGlobalDomain ApplePressAndHoldEnabled -bool false
# Set a blazingly fast keyboard repeat rate
defaults write NSGlobalDomain KeyRepeat -int 0
+# Automatically illuminate built-in MacBook keyboard in low light
+defaults write com.apple.BezelServices 'kDim' -bool true
+# Turn off keyboard illumination when computer is not used for 5 minutes
+defaults write com.apple.BezelServices 'kDimTime' -int 300
+
# Set language and text formats
# Note: if you’re in the US, replace `EUR` with `USD`, `Centimeters` with
# `Inches`, and `true` with `false`.