Skip to content

Commit

Permalink
feat: add lock screen configs in macos settings
Browse files Browse the repository at this point in the history
  • Loading branch information
YasminTeles committed Aug 20, 2024
1 parent 307c509 commit 9951db4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions macos/defaults.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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..."

Expand Down Expand Up @@ -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

0 comments on commit 9951db4

Please sign in to comment.