├── .gitattributes ├── README.md ├── System Commands.alfredworkflow └── readme-images ├── macosx-restart-dialog.png └── system-commands-alfred-workflow-preview.png /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # System Commands.alfredworkflow 2 | 3 | ![](readme-images/system-commands-alfred-workflow-preview.png) 4 | 5 | Alfred doesn't honor the option: [“**Reopen windows when logging back in**”](readme-images/macosx-restart-dialog.png). This workflow gets around it by basically functioning like a macro. So if you see a glimpse of the confirmation dialog before the computer starts to shut down or whatever, that is completely normal. 6 | 7 | If needed, hold down `Cmd` when executing the action to stop at the confirmation dialog. You can use this confirmation dialog to change the “**Reopen windows when logging back in**”option without actually shutting down or restarting. `Space` toggles it when the dialog is open. 8 | 9 | > The workflow was originally made for Alfred 3, but hsould work in future versions. 10 | 11 | ## Before using the workflow 12 | 13 | So that you don't accidentally use the wrong commands, you will want to disable all the equivalent commands that come with Alfred at: 14 | `Alfred Preferences > Features > System` 15 | 16 | ## Default Keywords 17 | * Shutdown 18 | * Restart 19 | * Logout 20 | * Sleep 21 | -------------------------------------------------------------------------------- /System Commands.alfredworkflow: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joonaspaakko/System-Commands.alfredworkflow/c84bbcd5831a824ed25e3aa677d482b3c27654a5/System Commands.alfredworkflow -------------------------------------------------------------------------------- /readme-images/macosx-restart-dialog.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joonaspaakko/System-Commands.alfredworkflow/c84bbcd5831a824ed25e3aa677d482b3c27654a5/readme-images/macosx-restart-dialog.png -------------------------------------------------------------------------------- /readme-images/system-commands-alfred-workflow-preview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joonaspaakko/System-Commands.alfredworkflow/c84bbcd5831a824ed25e3aa677d482b3c27654a5/readme-images/system-commands-alfred-workflow-preview.png --------------------------------------------------------------------------------