-
Notifications
You must be signed in to change notification settings - Fork 3
/
.yabairc
executable file
·74 lines (66 loc) · 2.52 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
70
71
72
73
74
#!/usr/bin/env sh
PATH="/opt/homebrew/bin:$PATH"
# bar settings
yabai -m config status_bar off
yabai -m config status_bar_text_font "Helvetica Neue:Bold:12.0"
yabai -m config status_bar_icon_font "FontAwesome:Regular:12.0"
yabai -m config status_bar_background_color 0xff202020
yabai -m config status_bar_foreground_color 0xffa8a8a8
yabai -m config status_bar_space_icon_strip I II III IV V VI VII VIII IX X
yabai -m config status_bar_power_icon_strip
yabai -m config status_bar_space_icon
yabai -m config status_bar_clock_icon
# global settings
yabai -m config debug_output on
yabai -m config focus_follows_mouse autofocus
yabai -m config mouse_follows_focus off
yabai -m config window_placement second_child
yabai -m config window_topmost off
yabai -m config window_opacity off
yabai -m config window_opacity_duration 0.0
yabai -m config window_shadow on
yabai -m config window_border on
# yabai -m config window_border off
yabai -m config window_border_width 4
# yabai -m config active_window_border_color 0xff0f6288
yabai -m config active_window_border_color 0xffa4d4b4
# yabai -m config normal_window_border_color 0xff505050
yabai -m config insert_window_border_color 0xffd75f5f
yabai -m config active_window_opacity 1.0
yabai -m config normal_window_opacity 0.90
yabai -m config split_ratio 0.50
yabai -m config auto_balance off
yabai -m config mouse_modifier fn
yabai -m config mouse_action1 move
yabai -m config mouse_action2 resize
# general space settings
yabai -m config layout bsp
# yabai -m config top_padding 8
# yabai -m config external_bar main:32:0
yabai -m config external_bar all:40:8
# yabai -m config top_padding 0
# yabai -m config bottom_padding 8
yabai -m config left_padding 8
yabai -m config right_padding 8
yabai -m config window_gap 8
# ignore teams notification window
yabai -m rule --add \
app='^Microsoft Teams$' \
title='^Microsoft Teams Notification$' \
border=off
# ignore weird invisible small window above arc
yabai -m rule --add \
app='^Arc$' \
title='^$' \
border=off
yabai -m signal --add \
event=space_changed \
app='^Microsoft Teams$' \
title='^Microsoft Teams Notification$' \
action='yabai -m window --focus mouse > /dev/null 2>&1'
yabai -m rule --add app="^System Preferences$" manage=off
# yabai -m rule --add app=".*" sub-layer=normal
# yabai -m rule --add app="^Slack$" sticky=off
# yabai -m rule --add title="^[0-9] Reminders?$" sticky=on layer=above manage=off
# yabai -m rule --add title="1 Reminder" manage=off
# yabai -m rule --add app="Microsoft Outlook" manage=off