Stop Start and Restart The Yabai Tiling Window Manager
November 2021
Start Yabai
brew services start yabaiOutput:
==> Successfully started ``yabai`` (label: homebrew.mxcl.yabai)
Stop Yabai
brew services stop yabaiOutput:
Stopping `yabai`... (might take a while)
==> Successfully stopped ``yabai`` (label: homebrew.mxcl.yabai)
Restart (both commnads together)
brew services stop yabai && brew services start yabaiOutput:
Stopping `yabai`... (might take a while)
==> Successfully stopped ``yabai`` (label: homebrew.mxcl.yabai)
==> Successfully started ``yabai`` (label: homebrew.mxcl.yabai)
It takes a bit (up to a minute or so) for yabai to stop.
Using this command joined with && makes sure that the start command waited for the stop command to finish.
Things jump around a lot when it starts back up. Give it a bit to settle down. Also, windows sometimes end up in different places. Don't be surprised if you have to move stuff around after a restart.
end of line