-
Notifications
You must be signed in to change notification settings - Fork 0
/
.yabairc
executable file
·38 lines (31 loc) · 1.09 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
# https://github.com/koekeishiya/yabai/wiki/Configuration
# codesign -fs 'yabai-cert' $(brew --prefix yabai)/bin/yabai
# launchctl unload -F /System/Library/LaunchAgents/com.apple.WindowManager.plist
# yabai -m signal --add event=dock_did_restart action="sudo yabai --load-sa"
# sudo yabai --load-sa
# borders
yabai -m config window_border off
# opacity
yabai -m config window_opacity off
# global settings
yabai -m config window_shadow float
yabai -m config window_placement second_child
yabai -m config auto_balance on
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 16
yabai -m config bottom_padding 16
yabai -m config left_padding 16
yabai -m config right_padding 16
yabai -m config window_gap 16
# app exclusions
yabai -m rule --add app="^Tomato 2$" manage=off
yabai -m rule --add app="^QuickTime Player$" opacity=1.0
yabai -m rule --add app="^VLC$" opacity=1.0