System commands

An Alfred Workflow


Short Description

System commands that honor the "Reopen windows when logging back in" option.

Last Updated

07 May 2018

Compatibility

Yosemite
(10.10)
Mavericks
(10.9)
Mountain Lion
(10.8)
Lion
(10.7)
Snow Leopard
(10.6)
Yes Yes Yes Yes Yes
 

Version

1.0
 

Bundle ID

com.joonaspaakko.syscommands
 

Author

Alfred doesn't honor the "Reopen windows when logging back in" option. This workflow gets around it.

By default, this workflow executes the "commands" by automatically going through the dialogs but if you hold down `Cmd`, you get to manually cancel or accept the confirmation dialog. You can use that confirmation dialog to change the  "Reopen windows when logging back in" option.

You'll want to disable the equivalent commands that come with Alfred: 

Alfred Preferences > Features > System

There are 2 different hotkey triggers. Red hotkey triggers give you the confirmation dialog while the Green hotkey triggers don't.

Workflow is made for Alfred 3.

System commands included:

  • Shutdown
  • Restart
  • Logout
  • Sleep

 

Screenshots