Toggle Stage Manager
Toggle Mac OS Stage Manager on and off.
Usage
Trigger the Workflow by typing stage
. Press enter to toggle Stage Manager on and off.
Alternatively, you can trigger the workflow using the Ctrl-Opt-S hotkey.
Details
Once triggered the Workflow will run the following script in bash:
STATE=$(defaults read com.apple.WindowManager GloballyEnabled 2> /dev/null)
[[ ${STATE} = 0 || -z ${STATE} ]] && ENABLE="true" || ENABLE="false"
defaults write com.apple.WindowManager GloballyEnabled -bool ${ENABLE}
Credits
Developed by Sam Edwardes. The original code snippet is taken from https://www.reddit.com/r/MacOSBeta/comments/w56e2l/i_made_a_shortcut_to_toggle_macos_venture_stage.
Changelog
https://github.com/SamEdwardes/alfred-workflow-toggle-stage-manager/releases