-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathexecutable_dot_yabairc
49 lines (41 loc) · 1.66 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
#!/usr/bin/env sh
# vi: ft=sh
yabai -m signal --add event=dock_did_restart action="sudo yabai --load-sa"
sudo yabai --load-sa
# float system preferences
yabai -m rule --add app='^System Information$' manage=off
yabai -m rule --add app='^System Preferences$' manage=off
yabai -m rule --add title='Preferences$' manage=off
# float apps
yabai -m rule --add title='Telegram$' manage=off
yabai -m rule --add app='Messages$' manage=off
yabai -m rule --add app='Farrago$' manage=off
yabai -m rule --add app='Loopback$' manage=off
yabai -m rule --add app='Battle\.net$' manage=off
yabai -m rule --add app='Spotify' manage=off
yabai -m rule --add app='Discord' manage=off
# general space settings
yabai -m config layout bsp
yabai -m config window_shadow float
yabai -m config window_opacity off
yabai -m config active_window_opacity 1.0
yabai -m config normal_window_opacity 0.95
yabai -m config top_padding 32
yabai -m config bottom_padding 2
yabai -m config left_padding 2
yabai -m config right_padding 2
yabai -m config window_gap 0
# mouse things
# yabai -m config mouse_modifier alt
# yabai -m config mouse_action1 move
# yabai -m config mouse_action2 resize
yabai -m config status_bar off
yabai -m config window_border on
yabai -m config window_border_width 4
yabai -m config window_border_hidpi on
# yabai -m config window_border_radius 10
# yabai -m config window_border_placement inset
yabai -m config active_window_border_color 0xffdd75e6
# yabai -m config active_window_border_color 0xff9147ff
yabai -m config normal_window_border_color 0x55aaaaaa
yabai -m config insert_feedback_color 0xaad75f5f