-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.yabairc
executable file
·42 lines (34 loc) · 1.18 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
42
#!/usr/bin/env sh
sudo yabai --load-sa
yabai -m signal --add event=dock_did_restart action="sudo yabai --load-sa"
# https://github.com/koekeishiya/yabai/wiki/Configuration
# shasum -a 256 $(which yabai)
# codesign -fs 'yabai-cert' $(brew --prefix yabai)/bin/yabai
# borders
yabai -m config window_border on
# opacity
yabai -m config window_opacity off
# First two digits are opacity
yabai -m config active_window_border_color "0x70D08770"
# animation
# yabai -m config window_animation_duration 0.35
# global settings
yabai -m config window_shadow float
yabai -m config window_placement second_child
yabai -m config auto_balance off
yabai -m config layout float
# mouse
yabai -m config mouse_modifier alt
yabai -m config mouse_action1 resize
yabai -m config mouse_action2 move
yabai -m config mouse_follows_focus off
yabai -m config focus_follows_mouse off
# padding and gaps
yabai -m config top_padding 0
yabai -m config bottom_padding 0
yabai -m config left_padding 0
yabai -m config right_padding 0
yabai -m config window_gap 0
# app exclusions
# yabai -m rule --add app="^Tomato 2$" manage=off sticky=on layer=above
# yabai -m rule --add app="^System Settings$" manage=off sticky=on layer=above