-
Notifications
You must be signed in to change notification settings - Fork 7
/
executable_dot_yabairc
72 lines (62 loc) · 2.75 KB
/
executable_dot_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
#!/usr/bin/env sh
# bar settings (also see .spacebarrc)
yabai -m config external_bar all:0:23
# bal settings
yabai -m config mouse_follows_focus off
yabai -m config focus_follows_mouse off
yabai -m config window_placement second_child
yabai -m config window_topmost off
yabai -m config window_shadow on
yabai -m config window_opacity off
yabai -m config window_opacity_duration 0.0
yabai -m config active_window_opacity 1.0
yabai -m config normal_window_opacity 0.90
yabai -m config window_border off
yabai -m config window_border_width 6
yabai -m config active_window_border_color 0xff775759
yabai -m config normal_window_border_color 0xff555555
yabai -m config insert_feedback_color 0xffd75f5f
yabai -m config split_ratio 0.50
yabai -m config auto_balance off
yabai -m config mouse_modifier alt
ai -m config mouse_action1 move
yabai -m config mouse_action2 resize
# general space settings
yabai -m config layout bsp
# yabai -m config layout float
yabai -m config top_padding 5
yabai -m config bottom_padding 5
yabai -m config left_padding 5
yabai -m config right_padding 5
yabai -m config window_gap 6
yabai -m config window_shadow float
# space specific settings
# space 1 mostly used for floating chrome windows
yabai -m config --space 1 layout float
yabai -m config --space 1 top_padding 0
yabai -m config --space 1 left_padding 0
yabai -m config --space 1 right_padding 0
# space 2, used by a single alacritty window with tmux inside, no border padding
yabai -m config --space 2 layout float
yabai -m config --space 2 top_padding 0
yabai -m config --space 2 bottom_padding 0
yabai -m config --space 2 left_padding 0
yabai -m config --space 2 right_padding 0
# yabai -m config --space 4 top_padding 0
# yabai -m config --space 4 bottom_padding 0
# yabai -m config --space 4 left_padding 0
# yabai -m config --space 4 right_padding 0
# yabai -m config --space 5 top_padding 0
# yabai -m config --space 5 bottom_padding 0
# yabai -m config --space 5 left_padding 0
# yabai -m config --space 5 right_padding 0
# float these apps
yabai -m rule --add app="^System Preferences$" manage=off
yabai -m rule --add app="^Font Book$" manage=off
yabai -m rule --add app="^Finder$" manage=off
yabai -m rule --add title='Settings$' manage=off
# move these apps to space
yabai -m rule --add app="Slack" space=3
yabai -m rule --add app="Evernote" space=4
yabai -m rule --add app="Messages" space=5
echo "yabai configuration loaded.."