-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.yabairc
executable file
·38 lines (30 loc) · 1.5 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
31
32
33
34
35
36
37
38
#!/usr/bin/env sh
#
# Config for yabai
# https://github.com/koekeishiya/yabai
yabai -m config layout bsp
# This can be set to either autofocus (window gets focused, but not raised) or
# autoraise (window gets raised as if it was clicked on).
yabai -m config focus_follows_mouse autoraise
# The mouse_modifier can be held to temporarily suspend focus_follows_mouse.
# https://github.com/koekeishiya/yabai/issues/62
yabai -m config mouse_modifier alt
# When yabai focuses another window, the mouse cursor gets moved to the center
# of the focused window.
yabai -m config mouse_follows_focus on
# Floating windows are always on top (default: off)
yabai -m config window_topmost on
# Auto balance makes it so all windows always occupy the same space, independent
# of how deeply nested they are in the window tree.
yabai -m config auto_balance off
# Window margins
yabai -m config top_padding 2
yabai -m config bottom_padding 2
yabai -m config left_padding 2
yabai -m config right_padding 2
yabai -m config window_gap 3
# Windows to exclude from bsp
yabai -m rule --add label="System Preferences" app="^System Preferences$" title=".*" manage=off
yabai -m rule --add label="Software Update" title="Software Update" manage=off
yabai -m rule --add label="About This Mac" app="System Information" title="About This Mac" manage=off
yabai -m rule --add title="Picture in Picture" manage=off