Add Screensaver Immediate Lock

This commit is contained in:
Marcel Bischoff 2015-12-30 22:59:39 +01:00
parent 9d35d95205
commit 9363b71ece

View File

@ -984,6 +984,18 @@ open /System/Library/Frameworks/ScreenSaver.framework/Versions/A/Resources/Scree
/System/Library/CoreServices/Menu\ Extras/User.menu/Contents/Resources/CGSession -suspend /System/Library/CoreServices/Menu\ Extras/User.menu/Contents/Resources/CGSession -suspend
``` ```
#### Screensaver Immediate Lock
```bash
# Status
defaults read com.apple.screensaver askForPasswordDelay
# Enable (Default)
defaults write com.apple.screensaver askForPasswordDelay -int 0
# Disable (Integer = lock delay in seconds)
defaults write com.apple.screensaver askForPasswordDelay -int 10
```
#### Screensaver Password #### Screensaver Password
```bash ```bash
# Status # Status