#!/usr/bin/env sh # bar settings yabai -m config status_bar off # global settings yabai -m config mouse_follows_focus off yabai -m config focus_follows_mouse autofocus yabai -m config window_placement second_child yabai -m config window_topmost off yabai -m config window_opacity off yabai -m config window_shadow on yabai -m config window_border off yabai -m config window_border_width 4 yabai -m config active_window_border_color 0xff008bff yabai -m config normal_window_border_color 0x01000000 yabai -m config insert_window_border_color 0xffd75f5f yabai -m config active_window_opacity 1.0 yabai -m config normal_window_opacity 0.90 yabai -m config split_ratio 0.50 yabai -m config auto_balance on yabai -m config mouse_modifier ctrl yabai -m config mouse_action1 move yabai -m config mouse_action2 resize # general space settings yabai -m config layout bsp yabai -m config top_padding 8 yabai -m config bottom_padding 8 yabai -m config left_padding 8 yabai -m config right_padding 8 yabai -m config window_gap 8 yabai -m space 4 --layout float yabai -m rule --add app="^iTerm2$" space=^1 yabai -m rule --add app="iTerm2" space=^1 yabai -m rule --add app="DataGrip" space=^1 # yabai -m rule --add app="DataGrip" title="^[^\[]*$" manage=off yabai -m rule --add app="Notes" space=^1 yabai -m rule --add app="Messages" space=1 manage=off yabai -m rule --add app="System Preferences" manage=off yabai -m rule --add app="JetBrains Rider" space=^2 # yabai -m rule --add app="JetBrains Rider" title="^[^ ]*$" manage=off yabai -m rule --add app="Code - Insiders" space=^2 yabai -m rule --add app=ork space=^2 yabai -m rule --add app=itKraken space=^2 yabai -m rule --add app="Google Chrome" space=^3 yabai -m rule --add app="Safari" space=^3 yabai -m rule --add app="Parallels Desktop" space=^4 yabai -m rule --add app="Parallels Desktop" title="Control Center" manage=off yabai -m rule --add app="Bear" manage=off yabai -m rule --add app="Things" display=2 yabai -m rule --add app="Discord" display=2 yabai -m rule --add app="iTunes" display=2 yabai -m rule --add app="Pocket Casts" display=2 yabai -m rule --add app="IINA" manage=off yabai -m rule --add app="Pixelmator" manage=off echo "yabai configuration loaded.."