-
Notifications
You must be signed in to change notification settings - Fork 222
/
.yabairc
executable file
·41 lines (36 loc) · 2.27 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
39
40
41
#!/usr/bin/env sh
sudo /opt/homebrew/bin/yabai --load-sa
/opt/homebrew/bin/yabai -m signal --add event=dock_did_restart action="sudo /opt/homebrew/bin/yabai --load-sa"
# global settings
/opt/homebrew/bin/yabai -m config mouse_follows_focus off
/opt/homebrew/bin/yabai -m config focus_follows_mouse off
/opt/homebrew/bin/yabai -m config window_origin_display default
/opt/homebrew/bin/yabai -m config window_placement second_child
/opt/homebrew/bin/yabai -m config window_topmost off
/opt/homebrew/bin/yabai -m config window_shadow on
/opt/homebrew/bin/yabai -m config window_opacity off
/opt/homebrew/bin/yabai -m config window_opacity_duration 2000.0
/opt/homebrew/bin/yabai -m config active_window_opacity 1.0
/opt/homebrew/bin/yabai -m config normal_window_opacity 0.85
/opt/homebrew/bin/yabai -m config window_border off
/opt/homebrew/bin/yabai -m config window_border_width 6
/opt/homebrew/bin/yabai -m config active_window_border_color 0xff775759
/opt/homebrew/bin/yabai -m config normal_window_border_color 0xff555555
/opt/homebrew/bin/yabai -m config insert_feedback_color 0xffd75f5f
/opt/homebrew/bin/yabai -m config split_ratio 0.50
/opt/homebrew/bin/yabai -m config auto_balance off
/opt/homebrew/bin/yabai -m config mouse_modifier fn
/opt/homebrew/bin/yabai -m config mouse_action1 move
/opt/homebrew/bin/yabai -m config mouse_action2 resize
/opt/homebrew/bin/yabai -m config mouse_drop_action swap
# general space settings
/opt/homebrew/bin/yabai -m config layout bsp
/opt/homebrew/bin/yabai -m config top_padding 00
/opt/homebrew/bin/yabai -m config bottom_padding 00
/opt/homebrew/bin/yabai -m config left_padding 00
/opt/homebrew/bin/yabai -m config right_padding 00
/opt/homebrew/bin/yabai -m config window_gap 10
# yabai -m config window_animation_duration 0.00
/opt/homebrew/bin/yabai -m rule --add app="^iStat*" sticky=on layer=above manage=off border=off
/opt/homebrew/bin/yabai -m rule --add app="^System Preferences*" manage=off
echo "yabai configuration loaded.."