-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.yabairc
executable file
·69 lines (59 loc) · 2.04 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
#!/usr/bin/env sh
# https://github.com/koekeishiya/yabai/wiki/Configuration
sudo yabai --load-sa
yabai -m signal --add event=dock_did_restart action="sudo yabai --load-sa"
# base00 = #2b303b
# base01 = #343d46
# base02 = #4f5b66
# base03 = #65737e
# base04 = #a7adba
# base05 = #c0c5ce
# base06 = #dfe1e8
# base07 = #eff1f5
# base08 = #bf616a
# base09 = #d08770
# base0A = #ebcb8b
# base0B = #a3be8c
# base0C = #96b5b4
# base0D = #8fa1b3
# base0E = #b48ead
# base0F = #ab7967
# borders
yabai -m config window_border off
yabai -m config normal_window_border_color 0xff343d46
yabai -m config active_window_border_color 0xffab7967
yabai -m config window_border_width 6
# opacity
yabai -m config window_opacity on
yabai -m config normal_window_opacity 0.9
# for bar
# yabai -m config external_bar all:26:0
# global settings
yabai -m config window_shadow float
yabai -m config window_placement second_child
# yabai -m config split_ratio 0.4
yabai -m config auto_balance on
yabai -m config layout bsp
# 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 autofocus
yabai -m config focus_follows_mouse off
# padding and gaps
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
# app exclusions
yabai -m rule --add app="^Tomato 2$" manage=off
# yabai -m rule --add app="^System Preferences$" manage=off
yabai -m rule --add app="^QuickTime Player$" opacity=1.0
yabai -m rule --add app="^VLC$" opacity=1.0
# signals
# yabai -m signal --add event=window_focused action="sketchybar -m --trigger window_focus &> /dev/null"
# yabai -m signal --add event=window_title_changed action="sketchybar -m --trigger title_change &> /dev/null"
# yabai -m signal --add event=window_created action="sketchybar -m --trigger window_created &> /dev/null"
# yabai -m signal --add event=window_destroyed action="sketchybar -m --trigger window_destroyed &> /dev/null"