Switch macos wm from yabai to aerospace

This commit is contained in:
2025-09-11 15:52:57 -05:00
parent 7f287b591e
commit c9bad270d2
8 changed files with 357 additions and 93 deletions

View File

@@ -6,13 +6,13 @@ linux_wm_and_utils() {
}
macos_wm_and_utils() {
brew install koekeishiya/formulae/yabai
brew install koekeishiya/formulae/skhd
skhd --start-service
yabai --start-service
sleep 14 # time to give permission in accessibility settings
skhd --restart-service
yabai --restart-service
# NOTE: currently, aerospace seems to need system restart to take effect
brew install --cask nikitabobko/tap/aerospace
}
[[ "$BOX_SETUP_OS" = "macos" ]] && macos_wm_and_utils || linux_wm_and_utils