-
Notifications
You must be signed in to change notification settings - Fork 0
/
.yabairc
executable file
·62 lines (55 loc) · 2.57 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
#!/usr/bin/env sh
#
# for this to work you must configure sudo such that
# it will be able to run the command without password
#
# see this wiki page for information:
# - https://github.com/koekeishiya/yabai/wiki/Installing-yabai-(latest-release)#configure-scripting-addition
yabai -m signal --add event=dock_did_restart action="sudo yabai --load-sa"
sudo yabai --load-sa
# global settings
yabai -m config \
mouse_follows_focus off \
focus_follows_mouse off \
window_origin_display default \
window_placement second_child \
window_zoom_persist on \
window_topmost off \
window_shadow on \
window_animation_duration 0.0 \
window_animation_frame_rate 120 \
window_opacity_duration 0.0 \
active_window_opacity 1.0 \
normal_window_opacity 0.90 \
window_opacity off \
insert_feedback_color 0xffd75f5f \
active_window_border_color 0xffDCD7BA \
normal_window_border_color 0xff6e6a86 \
window_border_width 2 \
window_border_radius 12 \
window_border_blur off \
window_border_hidpi on \
window_border on \
split_ratio 0.50 \
split_type auto \
auto_balance off \
top_padding 27 \
bottom_padding 8 \
left_padding 8 \
right_padding 8 \
window_gap 06 \
layout bsp \
mouse_modifier fn \
mouse_action1 move \
mouse_action2 resize \
mouse_drop_action swap
yabai -m rule --add app="^Emacs$" manage=on
yabai -m rule --add app="^System Settings$" manage=off
yabai -m rule --add app="^Alfred Preferences$" manage=off
yabai -m rule --add app="^NeatDownloadManager$" manage=off
yabai -m rule --add app="^AppCleaner$" manage=off
yabai -m rule --add app="^Music$" manage=off
yabai -m rule --add app="^IINA$" manage=off
yabai -m rule --add app="^System Information$" manage=off
yabai -m rule --add app="^App Store$" manage=off
echo "yabai configuration loaded.."