Setup script for tiling window manager on macOS
Installs and configures yabai and skhd for tiling
Installs and configures yabai and skhd for tiling
- Two-column adjustable layout with gaps
- Keyboard shortcuts for window management
- Auto-start with sensible defaults
- Minimal dependencies
# Clone and setup
cd /path/to/this/project
./setup.shbrew install yabai skhd jqmkdir -p ~/.config/yabai ~/.config/skhd
ln -sf "$(pwd)/yabairc" ~/.config/yabai/yabairc
ln -sf "$(pwd)/skhdrc" ~/.config/skhd/skhdrc- System Settings → Privacy & Security → Accessibility
- Add Terminal and yabai, skhd
./start.shbrew services start yabai
brew services start skhdalt+tab- Next windowalt+shift+tab- Previous window
m+space- BSP layoutm+shift+space- Float layout
m+m- Maximize/restorem+n- Minimizem+f- Toggle floatm+shift+f- Toggle sticky
m+shift+h/j/k/l- Swap window direction
m+ctrl+h/j/k/l- Resize by 50pxm+alt+h/j/k/l- Resize by 10px
m+1-9- Focus spacem+shift+1-9- Move window to space
m+h/j/k/l- Focus window by directionm+r- Rotate layoutm+b- Balance windowsm+p- Toggle padding
m+t- Toggle bordersm+shift+r- Reload yabaim+shift+escape- Float all windows
./status.shlog show --predicate 'process == "yabai"' --last 5m
log show --predicate 'process == "skhd"' --last 5m./stop.sh && ./start.sh./uninstall.sh