File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,17 +10,20 @@ if [[ -z "${CI}" ]]; then
1010 while true ; do sudo -n true ; sleep 60; kill -0 " $$ " || exit ; done 2> /dev/null &
1111fi
1212
13+ # Close any open System Preferences panes, to prevent them from overriding settings we’re about to change
14+ osascript -e ' tell application "System Preferences" to quit'
15+
1316# Trackpad: enable tap to click for this user and for the login screen
1417defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad Clicking -bool true
1518defaults -currentHost write NSGlobalDomain com.apple.mouse.tapBehavior -int 1
1619defaults write NSGlobalDomain com.apple.mouse.tapBehavior -int 1
1720
21+ # Screenshot: Show for 30s
22+ defaults write com.apple.screencaptureui " thumbnailExpiration" -float 30
23+
1824# Disable the sound effects on boot
1925sudo nvram SystemAudioVolume=" "
2026
21- # Close any open System Preferences panes, to prevent them from overriding settings we’re about to change
22- osascript -e ' tell application "System Preferences" to quit'
23-
2427# Expand save panel by default
2528defaults write NSGlobalDomain NSNavPanelExpandedStateForSaveMode -bool true
2629defaults write NSGlobalDomain NSNavPanelExpandedStateForSaveMode2 -bool true
You can’t perform that action at this time.
0 commit comments