Switch macos wm from yabai to aerospace
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user