#!/usr/bin/env sh

# Global settings
yabai -m config mouse_follows_focus off
yabai -m config focus_follows_mouse off
yabai -m config window_placement second_child
# yabai -m config window_topmost               off
yabai -m config window_opacity off
yabai -m config window_opacity_duration 0.0
yabai -m config window_shadow off

# Uncomment the following line to disable window borders
# yabai -m config window_border                off
# yabai -m config window_border_width          2

# window management settings
yabai -m config active_window_opacity 1.0
yabai -m config normal_window_opacity 0.75
yabai -m config split_ratio 0.65
yabai -m config auto_balance on

# Mouse settings
yabai -m config mouse_modifier fn
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 1
yabai -m config bottom_padding 50
yabai -m config left_padding 5
yabai -m config right_padding 5
yabai -m config window_gap 3
