Delete yabai config which can only be enabled by addition

This commit is contained in:
Gbanyan 2024-03-24 02:49:23 +08:00
parent f43c0b97e1
commit 1b9b1a2a14

View File

@ -1,5 +1,4 @@
#!/usr/bin/env sh
# yabairc configuration by Gbanyan, 2022/12/11
# some options need script addition to enable
## global settings
@ -13,25 +12,9 @@ yabai -m config window_placement second_child
## Windows layout and management
yabai -m config layout bsp
yabai -m config window_topmost on
yabai -m config window_animation_duration 0.5
yabai -m config window_shadow off
yabai -m config insert_feedback_color 0xffd75f5f
yabai -m config auto_balance on
yabai -m config split_ratio 0.50
## Windows_opacity
yabai -m config window_opacity off
yabai -m config window_opacity_duration 0.4
yabai -m config active_window_opacity 1.0
yabai -m config normal_window_opacity 0.2
## Windows border
yabai -m config window_border off # (on | off)
yabai -m config window_border_width 6
yabai -m config window_border_hidpi on
yabai -m config active_window_border_color 0xff775759
yabai -m config normal_window_border_color 0xff555555
## Windows gap
yabai -m config top_padding 8
yabai -m config bottom_padding 8
@ -77,11 +60,6 @@ yabai -m rule --add app="^Fate/GO$" manage=off
yabai -m rule --add app="^Microsoft Remote Desktop$" manage=off
yabai -m rule --add app="^NoMachine$" manage=off
## If I close the active window, focus on any other visible window.
yabai -m signal --add event=window_destroyed action="bash ~/.config/yabai/scripts/windowFocusOnDestroy.sh"
# yabai -m signal --add event=space_changed action="export CUR_ACTIVE_APP=\"iTerm2\""
echo "yabai configuration loaded.."
#END