当前位置: 首页 > 工具软件 > yabai > 使用案例 >

mac桌面平铺Yabai安装教程

长孙朝明
2023-12-01
# clone tap
brew tap koekeishiya/formulae

# install the latest stable version
brew install yabai
# 安装配置快捷键
brew install --HEAD --with-logging  koekeishiya/formulae/skhd

# install scripting-addition (will work only if you have SIP disable)
sudo yabai --install-sa

# default dotfile for yabai
cp /usr/local/opt/yabai/share/yabai/examples/yabairc ~/.yabairc

# default dotfile for skhd
cp /usr/local/opt/yabai/share/yabai/examples/skhdrc ~/.skhdrc

# start yabai as a service
brew services start koekeishiya/formulae/yabai

使用

参考
默认安装在~/.yabairc
关于窗口边距的配置如下,可以自行修改

yabai -m config layout                       bsp
yabai -m config top_padding                  10
yabai -m config bottom_padding               10
yabai -m config left_padding                 10
yabai -m config right_padding                10
yabai -m config window_gap                   5
 类似资料: