- Install software
brew install yabai
brew install displayplacer
- Create hotkey
- Use Automator --> Quick Action --> Library --> Utilities --> Run Shell Script
- Set Workflow recieves: no input and Shell: /bin/bash
- Add script and save
- Assign shortcut in System preferences --> Keyboard --> Shortcuts -> Services -> General