Skip to content

Commit

Permalink
feat(mac-setup): enforce lock when the lid is closed
Browse files Browse the repository at this point in the history
  • Loading branch information
n-ae committed Jun 6, 2024
1 parent ff30976 commit 3124321
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions useful-scripts/mac_fresh_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,6 @@ nvm install node # "node" is an alias for the latest version
defaults write com.apple.dock wvous-br-corner -int 0 && \
defaults write com.apple.dock wvous-br-modifier -int 0 && \
killall Dock

# lock when the lid is closed
sysadminctl -screenLock immediate -password -

0 comments on commit 3124321

Please sign in to comment.