Jump to content

Recommended Posts

Download

https://dl.dropboxusercontent.com/u/4265900/Alfred/Sleep%20Display.alfredworkflow

 

 

UbrCn6n.png

 

 

This workflow puts only the display to sleep, using the Keyword sleepdisplay. The system remains running until computer sleep is triggered, as specified in the Mac Energy Saver preference pane. Handy for quickly and easily locking your computer, if your job requires that sort of thing.

 

Unfortunately, there is no way to target the Eject key via AppleScript (that I know of, anyways), so the extension requires the use of the SleepDisplay.app (the extension looks for it in the ~/Applications/Utilities directory). As Alfred leans the Keyword, the Extension becomes easier to trigger. For me, all I have to do is type, "sl" to trigger, much more convenient than the ⌃+⇧+⏏ keyboard shortcut claw, I think!

 

 

Dependencies

SleepDisplay.app (install into ~/Applications/Utilities)

 

Download

https://dl.dropboxusercontent.com/u/4265900/Alfred/Sleep%20Display.alfredworkflow

Edited by ericwbailey
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...