From 8ff188b3fae0ae35106fc6ce3f7197fa87b19820 Mon Sep 17 00:00:00 2001 From: antistereov Date: Thu, 26 Feb 2026 10:18:59 +0100 Subject: [PATCH] feat(yabai): update rules --- yabai/yabairc | 45 +++++++++++++++++++++++++++------------------ 1 file changed, 27 insertions(+), 18 deletions(-) diff --git a/yabai/yabairc b/yabai/yabairc index e36b01c..56a3250 100644 --- a/yabai/yabairc +++ b/yabai/yabairc @@ -21,24 +21,33 @@ yabai -m rule --add title='^Archive Utility$' manage=off yabai -m rule --add app="^IntelliJ IDEA$" title="^Welcome to IntelliJ IDEA$" manage=off yabai -m rule --add app="^WebStorm$" title="^Welcome to WebStorm$" manage=off -yabai -m rule --add app="^(IntelliJ IDEA|WebStorm)$" title="^Add File to Git$" manage=off -yabai -m rule --add app="^(IntelliJ IDEA|WebStorm)$" title="^Delete$" manage=off -yabai -m rule --add app="^(IntelliJ IDEA|WebStorm)$" title="^Push Commits" manage=off -yabai -m rule --add app="^(IntelliJ IDEA|WebStorm)$" title="^Update Project$" manage=off -yabai -m rule --add app="^(IntelliJ IDEA|WebStorm)$" title="^New Project$" manage=off -yabai -m rule --add app="^(IntelliJ IDEA|WebStorm)$" title="^Clone Repository$" manage=off -yabai -m rule --add app="^(IntelliJ IDEA|WebStorm)$" title="^Project Structure$" manage=off -yabai -m rule --add app="^(IntelliJ IDEA|WebStorm)$" title="^Settings$" manage=off -yabai -m rule --add app="^(IntelliJ IDEA|WebStorm)$" title="^Run/Debug Configurations$" manage=off -yabai -m rule --add app="^(IntelliJ IDEA|WebStorm)$" title="^Data Sources and Drivers$" manage=off -yabai -m rule --add app="^(IntelliJ IDEA|WebStorm)$" title="^Choose Plugins to Install or Enable$" manage=off -yabai -m rule --add app="^(IntelliJ IDEA|WebStorm)$" title="^Create New Branch$" manage=off -yabai -m rule --add app="^(IntelliJ IDEA|WebStorm)$" title="^Copy$" manage=off -yabai -m rule --add app="^(IntelliJ IDEA|WebStorm)$" title="^Rename$" manage=off -yabai -m rule --add app="^(IntelliJ IDEA|WebStorm)$" title="^Rename Branch" manage=off -yabai -m rule --add app="^(IntelliJ IDEA|WebStorm)$" title="^Rollback Changes$" manage=off -yabai -m rule --add app="^(IntelliJ IDEA|WebStorm)$" title="^Copy Files/Directory$" manage=off -yabai -m rule --add app="^(IntelliJ IDEA|WebStorm)$" title="^Choose Package$" manage=off +jetbrains_dialogs=( + "^Add File to Git$" + "^Delete$" + "^Push Commits" + "^Update Project$" + "^New Project$" + "^Clone Repository$" + "^Project Structure$" + "^Settings$" + "^Run/Debug Configurations$" + "^Data Sources and Drivers$" + "^Choose Plugins to Install or Enable$" + "^Create New Branch$" + "^Copy$" + "^Rename$" + "^Rename Branch" + "^Rollback Changes$" + "^Copy Files/Directory$" + "^Choose Package$" + "^Move Package$" + "^Move$" +) + +for title in "${jetbrains_dialogs[@]}"; do + yabai -m rule --add app="^(IntelliJ IDEA|WebStorm)$" title="$title" manage=off +done + # float settings windows yabai -m rule --add title='Settings$' manage=off