blob: ed07971a507ab5e2bf2500542688b04e10cca436 (
plain) (
tree)
|
|
#!/usr/bin/env sh
yabai -m config mouse_follows_focus on
yabai -m config focus_follows_mouse autofocus
# Spawn right/bottom
yabai -m config window_placement second_child
yabai -m config window_opacity off
# Unfocused 90% opacity
yabai -m config active_window_opacity 1.0
yabai -m config normal_window_opacity 0.9
# Borders
yabai -m config window_border on
yabai -m config window_border_width 3
yabai -m config active_window_border_color 0xff775759
yabai -m config normal_window_border_color 0xff555555
yabai -m config insert_feedback_color 0xffd75f5f
# Mouse stuff
yabai -m config mouse_modifier alt
yabai -m config mouse_action1 move
yabai -m config mouse_action2 resize
yabai -m config mouse_drop_action swap
# Layout
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 10
# App rules
yabai -m rule --add app="^System Preferences$" manage=off
yabai -m rule --add app="^Calculator$" manage=off
yabai -m rule --add app="^MacPass$" manage=off
yabai -m rule --add app="^Firefox$" title="^Opening .*$" manage=off
echo "yabai configuration loaded.."
|