Skip to content

Instantly share code, notes, and snippets.

@ParkerRex
Last active July 16, 2025 20:24
Show Gist options
  • Select an option

  • Save ParkerRex/7e9a01cd62704429f27f220f764b9577 to your computer and use it in GitHub Desktop.

Select an option

Save ParkerRex/7e9a01cd62704429f27f220f764b9577 to your computer and use it in GitHub Desktop.
disable slow macos window management

Step 1: Disable SIP (System Integrity Protection) 1. Shut down your Mac. 2. Turn it back on while holding the power button until you see Startup Options on the screen. 3. Choose your main disk, click Continue, and then open Terminal from the menu bar. 4. In Terminal, type:

csrutil disable
5.	Enter your password when prompted.
6.	Reboot your Mac.
7.	Once you’re back in macOS, verify SIP is disabled:
csrutil status

You should see:

System Integrity Protection status: disabled.

Step 2: Install Yabai & skhd 1. Install Homebrew (if missing): https://brew.sh 2. Install Yabai and skhd:

brew install koekeishiya/formulae/yabai
sudo yabai --load-sa
brew install jq
brew install koekeishiya/formulae/skhd

Step 3: Configure Yabai & skhd 1. Create config folders and files:

mkdir -p $HOME/.config/yabai
mkdir -p $HOME/.config/skhd
touch $HOME/.config/yabai/yabairc
touch $HOME/.config/skhd/skhdrc
chmod +x $HOME/.config/yabai/yabairc
chmod +x $HOME/.config/skhd/skhdrc
2.	Edit the skhdrc file:
nano $HOME/.config/skhd/skhdrc

Add:

alt - right : yabai -m space --focus next
alt - left  : yabai -m space --focus prev
3.	Save the file and reboot your Mac.

Step 4: Finalizing Setup

After reboot:

sudo yabai --load-sa
yabai --start-service
skhd --start-service

When making changes to either:

  • .config/skhd/skhdrc
  • .config/yabai/yabairc

you update the scripts then run either:

  • yabai --restart-service
  • skhd --restart-service

BREW doesn't do the restarts, this was sunsetted

Helpful links: https://www.josean.com/posts/yabai-setup https://evantravers.com/articles/2024/02/15/yabai-tiling-window-management-for-osx/ https://medium.com/unixification/yabai-the-macos-tiling-window-manager-c5bda9d60bfc https://github.com/tcmmichaelb139/.dotfiles/blob/main/yabai/.config/skhd/skhdrc https://apple.stackexchange.com/questions/416554/how-to-resize-side-by-side-windows-simultaneously-on-mac

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment