39 lines
1.2 KiB
Plaintext
Executable File
39 lines
1.2 KiB
Plaintext
Executable File
# default layout (can be bsp, stack or float)
|
|
yabai -m config layout bsp
|
|
|
|
# new window spawns to the right if vertical split, or bottom if horizontal split
|
|
yabai -m config window_placement second_child
|
|
|
|
# padding set to 12px
|
|
yabai -m config top_padding 8
|
|
yabai -m config bottom_padding 8
|
|
yabai -m config left_padding 8
|
|
yabai -m config right_padding 8
|
|
yabai -m config window_gap 8
|
|
|
|
# -- mouse settings --
|
|
|
|
# center mouse on window with focus
|
|
yabai -m config mouse_follows_focus on
|
|
|
|
# modifier for clicking and dragging with mouse
|
|
yabai -m config mouse_modifier alt
|
|
# set modifier + left-click drag to move window
|
|
yabai -m config mouse_action1 move
|
|
# set modifier + right-click drag to resize window
|
|
yabai -m config mouse_action2 resize
|
|
|
|
# when window is dropped in center of another window, swap them (on edges it will split it)
|
|
yabai -m mouse_drop_action swap
|
|
|
|
|
|
# disable specific apps
|
|
yabai -m rule --add app="^System Settings$" manage=off
|
|
yabai -m rule --add app="^Calculator$" manage=off
|
|
yabai -m rule --add app="^Karabiner-Elements$" manage=off
|
|
yabai -m rule --add app="^QuickTime Player$" manage=off
|
|
yabai -m rule --add app="TextExpander$" manage=off
|
|
|
|
yabai -m config external_bar all:40:0
|
|
borders active_color=0xffe1e3e4 inactive_color=0xff494d64 width=8.0 &
|