Check for updates - on Download new updates when available - on Install macos updates - off install application updates from the app store - off install security responses and system files - off
start screen saver when inactive - for 20 mins
turn display off on battery when inactive - 10 mins turn display off on power adapter when inactive - 10 mins require password after screen saver begins or display is turned off - immediately
// to check if password is required after wake
osascript -e 'tell application "System Events" to tell security preferences to get require password to wake'
// screen save timeout
osascript -e 'tell application "System Events" to tell screen saver preferences to get delay interval' defaults -currentHost read com.apple.screensaver idleTime