Created
April 21, 2011 17:13
-
-
Save cowboy/935014 to your computer and use it in GitHub Desktop.
OS X: Start screensaver + lock screen (bind to a hotkey with a utility, or run via Launchbar / QuickSilver)
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
#!/bin/bash | |
sleep 0.5 && open /System/Library/Frameworks/ScreenSaver.framework/Versions/A/Resources/ScreenSaverEngine.app |
Control-Shift-Eject does that too.
For me, Control-Shift-Eject goes to sleep, while my script starts the screensaver, which is awesome because of my screensaver :P
True. Was just thinking of locking the screen.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@mathiasbynens +1 for the hot screen corner, although i think there are some cases where this is faster, especially if you're already in a terminal and have it aliased. nice work, cowboy!