Skip to content

Commit

Permalink
updates for Sierra (keyboard repeat and wallpaper)
Browse files Browse the repository at this point in the history
  • Loading branch information
atomantic committed Oct 15, 2016
1 parent dbe0dc1 commit 06add73
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,10 @@ if [[ "$MD5_NEWWP" != "$MD5_OLDWP" ]]; then
# all wallpapers are in `/Library/Desktop Pictures/`. The default is `Wave.jpg`.
rm -rf ~/Library/Application Support/Dock/desktoppicture.db
sudo rm -f /System/Library/CoreServices/DefaultDesktop.jpg > /dev/null 2>&1
sudo rm -f /Library/Desktop\ Pictures/El\ Capitan.jpg
sudo rm -f /Library/Desktop\ Pictures/El\ Capitan.jpg > /dev/null 2>&1
sudo rm -f /Library/Desktop\ Pictures/Sierra.jpg > /dev/null 2>&1
sudo cp ./img/wallpaper.jpg /System/Library/CoreServices/DefaultDesktop.jpg;
sudo cp ./img/wallpaper.jpg /Library/Desktop\ Pictures/Sierra.jpg;
sudo cp ./img/wallpaper.jpg /Library/Desktop\ Pictures/El\ Capitan.jpg;ok
fi
fi
Expand Down Expand Up @@ -485,7 +487,8 @@ running "Disable press-and-hold for keys in favor of key repeat"
defaults write NSGlobalDomain ApplePressAndHoldEnabled -bool false;ok

running "Set a blazingly fast keyboard repeat rate"
defaults write NSGlobalDomain KeyRepeat -int 0;
defaults write NSGlobalDomain KeyRepeat -int 1
defaults write NSGlobalDomain InitialKeyRepeat -int 10;ok

running "Set language and text formats (english/US)"
defaults write NSGlobalDomain AppleLanguages -array "en"
Expand Down

0 comments on commit 06add73

Please sign in to comment.