Skip to content

Instantly share code, notes, and snippets.

@cowboy
Created April 21, 2011 17:13
Show Gist options
  • Save cowboy/935014 to your computer and use it in GitHub Desktop.
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)
#!/bin/bash
sleep 0.5 && open /System/Library/Frameworks/ScreenSaver.framework/Versions/A/Resources/ScreenSaverEngine.app
@dbergey
Copy link

dbergey commented Apr 21, 2011

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