home/dot_config/yabai/executable_yabairc
2022-01-08 22:48:30 +01:00

40 lines
1.3 KiB
Text

# load the scripting addon on start
yabai -m signal --add event=dock_did_restart action="sudo yabai --load-sa"
# global settings
yabai -m config mouse_follows_focus off
yabai -m config focus_follows_mouse off
yabai -m config window_origin_display default
yabai -m config window_placement second_child
yabai -m config window_topmost off
yabai -m config window_shadow on
yabai -m config window_opacity on
#yabai -m config window_opacity_duration 0.0
yabai -m config active_window_opacity 0.98
yabai -m config normal_window_opacity 0.90
yabai -m config window_border off
yabai -m config window_border_width 8
yabai -m config active_window_border_color 0xff775759
yabai -m config normal_window_border_color 0xff555555
yabai -m config insert_feedback_color 0xffd75f5f
yabai -m config split_ratio 0.50
yabai -m config auto_balance off
yabai -m config mouse_action1 move
yabai -m config mouse_action2 resize
yabai -m config mouse_drop_action swap
# general space settings
yabai -m config layout bsp
yabai -m config top_padding 40
yabai -m config bottom_padding 12
yabai -m config left_padding 20
yabai -m config right_padding 20
yabai -m config window_gap 20
# space setup
yabai -m space 1 --label I
yabai -m space 2 --label II
yabai -m space 3 --label III
yabai -m space 4 --label IV
yabai -m space 5 --label V