.yabairc 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. #!/usr/bin/env sh
  2. # the scripting-addition must be loaded manually if
  3. # you are running yabai on macOS Big Sur. Uncomment
  4. # the following line to have the injection performed
  5. # when the config is executed during startup.
  6. #
  7. # for this to work you must configure sudo such that
  8. # it will be able to run the command without password
  9. #
  10. # see this wiki page for information:
  11. # - https://github.com/koekeishiya/yabai/wiki/Installing-yabai-(latest-release)
  12. #
  13. # sudo yabai --load-sa
  14. # yabai -m signal --add event=dock_did_restart action="sudo yabai --load-sa"
  15. #!/usr/bin/env sh
  16. # bar settings
  17. yabai -m config top_padding 0
  18. # global settings
  19. yabai -m config mouse_follows_focus off
  20. yabai -m config focus_follows_mouse autofocus
  21. yabai -m config window_placement second_child
  22. yabai -m config window_topmost off
  23. yabai -m config window_opacity off
  24. yabai -m config window_opacity_duration 0.0
  25. yabai -m config window_shadow on
  26. yabai -m config active_window_opacity 1.0
  27. yabai -m config normal_window_opacity 0.90
  28. yabai -m config split_ratio 0.50
  29. yabai -m config auto_balance off
  30. # Mouse support
  31. yabai -m config mouse_modifier alt
  32. yabai -m config mouse_action1 move
  33. yabai -m config mouse_action2 resize
  34. # general space settings
  35. yabai -m config layout bsp
  36. yabai -m config bottom_padding 0
  37. yabai -m config left_padding 0
  38. yabai -m config right_padding 0
  39. yabai -m config window_gap 0
  40. # float system preferences
  41. yabai -m rule --add app='^System Information$' manage=off
  42. yabai -m rule --add app='^System Preferences$' manage=off
  43. yabai -m rule --add title='Preferences$' manage=off
  44. # float settings windows
  45. yabai -m rule --add title='Settings$' manage=off