#!/usr/bin/env bash
# 由 MacKit 生成：请在 MacKit App「窗口」页或 settings.json 修改，改这里会被覆盖。
# 脚本附加组件（SA）在 macOS 27 beta 上会打坏菜单栏渲染，默认不加载；阴影/透明度等依赖它的设置届时不生效。

yabai -m config layout float  # 布局
yabai -m config auto_balance off  # 自动均分
yabai -m config mouse_modifier alt  # 鼠标修饰键
yabai -m config mouse_action1 move  # 修饰键 + 左键
yabai -m config mouse_action2 resize  # 修饰键 + 右键
yabai -m config focus_follows_mouse off  # 焦点跟随鼠标
yabai -m config mouse_follows_focus off  # 鼠标跟随焦点
