Skip to content

Commit

Permalink
optimize transparency
Browse files Browse the repository at this point in the history
  • Loading branch information
brightpuddle committed May 19, 2022
1 parent a67c2d0 commit 23685a7
Showing 1 changed file with 23 additions and 20 deletions.
43 changes: 23 additions & 20 deletions .yabairc
Original file line number Diff line number Diff line change
Expand Up @@ -24,35 +24,38 @@ yabai -m signal --add event=dock_did_restart action="sudo yabai --load-sa"
# borders
yabai -m config window_border off
yabai -m config normal_window_border_color 0xff343d46
yabai -m config active_window_border_color 0xff65737e
yabai -m config active_window_border_color 0xffab7967
yabai -m config window_border_width 6
yabai -m config window_shadow float
yabai -m config active_window_opacity 1
yabai -m config normal_window_opacity 0.8

# opacity
yabai -m config window_opacity on
yabai -m config active_window_opacity 0
yabai -m config normal_window_opacity 0.9
yabai -m config window_opacity_duration 0.0

# global settings
yabai -m config mouse_follows_focus off
yabai -m config focus_follows_mouse off
yabai -m config window_shadow float
yabai -m config window_placement second_child
yabai -m config window_topmost on
yabai -m config window_opacity on
abai -m config window_opacity_duration 0.0
# yabai -m config split_ratio 0.4
yabai -m config auto_balance on
yabai -m config layout float

yabai -m config active_window_opacity 1.0
yabai -m config normal_window_opacity 0.8
yabai -m config split_ratio 0.50
yabai -m config auto_balance off
# mouse
yabai -m config mouse_modifier alt
yabai -m config mouse_action1 resize
yabai -m config mouse_action2 move
yabai -m config mouse_follows_focus off
yabai -m config focus_follows_mouse autofocus

# general space settings
yabai -m config layout float
yabai -m config top_padding 8
yabai -m config bottom_padding 8
yabai -m config left_padding 8
yabai -m config right_padding 8
yabai -m config window_gap 8
# padding and gaps
yabai -m config top_padding 16
yabai -m config bottom_padding 16
yabai -m config left_padding 16
yabai -m config right_padding 16
yabai -m config window_gap 16

# app exclusions
yabai -m rule --add app="^Tomato 2$" manage=off
yabai -m rule --add app="^System Preferences$" manage=off
yabai -m rule --add app="^QuickTime Player$" opacity=1.0
yabai -m rule --add app="^VLC$" opacity=1.0

0 comments on commit 23685a7

Please sign in to comment.