Skip to content

Commit 355162c

Browse files
authored
longer screenshot preview
1 parent 603fdd8 commit 355162c

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

defaults.sh

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff 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 &
1111
fi
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
1417
defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad Clicking -bool true
1518
defaults -currentHost write NSGlobalDomain com.apple.mouse.tapBehavior -int 1
1619
defaults 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
1925
sudo 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
2528
defaults write NSGlobalDomain NSNavPanelExpandedStateForSaveMode -bool true
2629
defaults write NSGlobalDomain NSNavPanelExpandedStateForSaveMode2 -bool true

0 commit comments

Comments
 (0)