-
Notifications
You must be signed in to change notification settings - Fork 1
/
yabairc
executable file
路30 lines (24 loc) 路 1.02 KB
/
yabairc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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 8px
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
# set a top padding of 20px to allow space for the menubar
yabai -m config external_bar main:20:0
# center mouse on window with focus
yabai -m config mouse_follows_focus on
# modifier for clicking and dragging with mouse
# set modifier + left-click drag to move window
yabai -m config mouse_modifier alt
# set modifier + right-click drag to resize window
yabai -m config mouse_action1 move
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 from being managed with yabai
yabai -m rule --add app="^System Settings$" manage=off
yabai -m rule --add app="^ToothFairy$" manage=off