2019-09-23 23:56:40 -04:00
|
|
|
#!/usr/bin/env sh
|
2020-12-10 05:27:17 -05:00
|
|
|
sudo yabai --load-sa
|
2021-02-06 06:56:48 -05:00
|
|
|
yabai -m signal --add event=dock_did_restart action="sudo yabai --load-sa"
|
2019-09-23 23:56:40 -04:00
|
|
|
|
|
|
|
# global settings
|
|
|
|
yabai -m config mouse_follows_focus on
|
2019-11-03 20:22:40 -05:00
|
|
|
yabai -m config focus_follows_mouse autofocus
|
2019-09-23 23:56:40 -04:00
|
|
|
yabai -m config window_placement second_child
|
|
|
|
yabai -m config window_topmost on
|
|
|
|
yabai -m config window_opacity off
|
|
|
|
yabai -m config window_opacity_duration 0.0
|
|
|
|
yabai -m config window_shadow on
|
|
|
|
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 off
|
|
|
|
yabai -m config mouse_modifier fn
|
|
|
|
yabai -m config mouse_action1 move
|
|
|
|
yabai -m config mouse_action2 resize
|
|
|
|
|
2020-06-14 20:17:40 -04:00
|
|
|
# border settings
|
|
|
|
yabai -m config window_border on
|
|
|
|
yabai -m config window_border_width 2
|
|
|
|
yabai -m config active_window_border_color 0xff775759
|
|
|
|
yabai -m config normal_window_border_color 0xff505050
|
|
|
|
|
2019-09-23 23:56:40 -04:00
|
|
|
# general space settings
|
|
|
|
yabai -m config layout bsp
|
|
|
|
yabai -m config top_padding 0
|
|
|
|
yabai -m config bottom_padding 0
|
|
|
|
yabai -m config left_padding 0
|
|
|
|
yabai -m config right_padding 0
|
|
|
|
yabai -m config window_gap 0
|
|
|
|
|
|
|
|
echo "yabai configuration loaded.."
|