-
Notifications
You must be signed in to change notification settings - Fork 0
/
.yabairc
executable file
·42 lines (35 loc) · 1.45 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
yabai -m rule --add app="Visual Studio Code" opacity=0.7
# global 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_opacity off
yabai -m config window_opacity_duration 0.0
yabai -m config window_shadow on
yabai -m config insert_feedback_color 0xaad75f5f
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 12
yabai -m config bottom_padding 12
yabai -m config left_padding 12
yabai -m config right_padding 12
yabai -m config window_gap 06
# label spaces
yabai -m space 1 --label trading
yabai -m space 2 --label spotify
yabai -m space 3 --label browsing
yabai -m space 4 --label term
yabai -m space 5 --label work
yabai -m space 6 --label empty
# windows settings
yabai -m rule --add app="^System Preferences$" manage=off
echo "yabai configuration loaded.."