Created
August 3, 2016 17:30
-
-
Save mrinalwadhwa/a316bd772f6075485109930ec472f035 to your computer and use it in GitHub Desktop.
Lock Screen on MacOS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
## | |
## Usage: afk | |
## Lock Screen on MacOS | |
## | |
/System/Library/CoreServices/Menu\ Extras/User.menu/Contents/Resources/CGSession -suspend |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment