From 9951db4b14d48745a8205a6eb0dbb751f3a7e34d Mon Sep 17 00:00:00 2001 From: Yasmin Teles Date: Tue, 20 Aug 2024 09:54:15 -0300 Subject: [PATCH] feat: add lock screen configs in macos settings --- macos/defaults.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/macos/defaults.sh b/macos/defaults.sh index 2a85706..df68393 100644 --- a/macos/defaults.sh +++ b/macos/defaults.sh @@ -4,6 +4,7 @@ # https://github.com/frankroeder/dotfiles/blob/master/macos/finder.bash # https://github.com/mathiasbynens/dotfiles/blob/main/.macos # https://github.com/pawelgrzybek/dotfiles/blob/master/setup-macos.sh +# https://developer.apple.com/documentation/devicemanagement/finder echo "Setting up macos..." @@ -91,3 +92,10 @@ defaults -currentHost write com.apple.Spotlight MenuItemHidden -int 1 # Don't show Now Playing in Menu Bar defaults write "com.apple.airplay" "NSStatusItem Visible NowPlaying" -bool false + +############################################################################### +# Lock Screen # +############################################################################### + +# Start Screen Saver when inactive: Never +defaults -currentHost write com.apple.screensaver idleTime -int 0