2024-02-01 21:27:49 -08:00
|
|
|
#!/usr/bin/env fish
|
|
|
|
|
|
|
|
source "$DOT/script/utils.fish"
|
|
|
|
|
|
|
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
|
|
|
|
|
|
print_subtitle "Security & Privacy"
|
|
|
|
|
|
|
|
execute "defaults write com.apple.AdLib allowApplePersonalizedAdvertising -int 0" \
|
|
|
|
"Disable personalized ads"
|
2024-02-04 15:52:43 -08:00
|
|
|
|
|
|
|
execute "defaults write com.apple.screensaver askForPassword -int 1 && \
|
|
|
|
defaults write com.apple.screensaver askForPasswordDelay -int 0" \
|
|
|
|
"Require password immediately after sleep or screensaver begins"
|