This commit is contained in:
2026-01-18 23:17:17 +08:00
parent cc988bba6f
commit fd3f507e8c
11 changed files with 103 additions and 454 deletions
+28 -3
View File
@@ -37,16 +37,41 @@
# mouse
yabai -m config mouse_follows_focus off
yabai -m config focus_follows_mouse off
yabai -m config mouse_modifier cmd
yabai -m config mouse_modifier option
yabai -m config mouse_action1 move
yabai -m config mouse_action2 resize
yabai -m config mouse_drop_action swap
# rules
yabai -m rule --add app="^(Genshin Impact|LuLu|Vimac|Calculator|Software Update|Dictionary|VLC|System Preferences|zoom.us|Photo Booth|Archive Utility|Python|LibreOffice|App Store|Steam|Alfred|Activity Monitor)$" manage=off
# rules - apps to ignore (manage=off)
yabai -m rule --add app="^Genshin Impact$" manage=off
yabai -m rule --add app="^LuLu$" manage=off
yabai -m rule --add app="^Vimac$" manage=off
yabai -m rule --add app="^Calculator$" manage=off
yabai -m rule --add app="^Software Update$" manage=off
yabai -m rule --add app="^Dictionary$" manage=off
yabai -m rule --add app="^VLC$" manage=off
yabai -m rule --add app="^System Preferences$" manage=off
yabai -m rule --add app="^zoom.us$" manage=off
yabai -m rule --add app="^Photo Booth$" manage=off
yabai -m rule --add app="^Archive Utility$" manage=off
yabai -m rule --add app="^Python$" manage=off
yabai -m rule --add app="^LibreOffice$" manage=off
yabai -m rule --add app="^App Store$" manage=off
yabai -m rule --add app="^Steam$" manage=off
yabai -m rule --add app="^Alfred$" manage=off
yabai -m rule --add app="^Activity Monitor$" manage=off
yabai -m rule --add app="^Raycast$" manage=off
# Finder dialogs
yabai -m rule --add label="Finder" app="^Finder$" title="(Co(py|nnect)|Move|Info|Pref)" manage=off
# Safari dialogs
yabai -m rule --add label="Safari" app="^Safari$" title="^(General|(Tab|Password|Website|Extension)s|AutoFill|Se(arch|curity)|Privacy|Advance)$" manage=off
# System dialogs
yabai -m rule --add label="About This Mac" app="System Information" title="About This Mac" manage=off
# Inkscape dialogs
yabai -m rule --add label="Select file to save to" app="^Inkscape$" title="Select file to save to" manage=off
'';
executable = true;