fix: Update keybind syntax and add jetbrains window rules

This commit is contained in:
2026-03-11 12:14:34 +11:00
parent 7fff956fbe
commit daf3952b7b
2 changed files with 42 additions and 3 deletions

View File

@@ -23,9 +23,8 @@ bind = $mainMod, V, exec, [float] kitty --class float-80 -e $clipboard
# Layout
bind = $mainMod, J, togglesplit, # Split direction
bind = $mainMod, code:35, togglesplit, # Split direction
bind = $mainMod SHIFT, J,swapsplit # Swap master and secondary in dwindle
bind = $mainMod, J, layoutmsg, togglesplit # Split direction
bind = $mainMod, code:35, layoutmsg, togglesplit # Split direction
# Move focus with mainMod + arrow keys
bind = $mainMod, left, movefocus, l

View File

@@ -241,4 +241,44 @@ windowrule {
center = on
border_size = 0
match:class = ^(Autodesk Fusion)$
}
# Intelij
# input.follow_mouse = 2
# find in files
# windowrulev2=noinitialfocus,class:jetbrains-toolbox, floating:1
# windowrulev2=noinitialfocus, class:(jetbrains-)(.*), title:^$, initialTitle:^$, floating:1
windowrule {
name = jb-find-in-files-floating
float = on
no_initial_focus = on
match:class = ^jetbrains-toolbox$
}
windowrule {
name = jb-find-in-files-floating-2
float = on
no_initial_focus = on
match:class = ^(jetbrains-)(.*)$
match:title = ^$
match:initial_title = ^$
}
# other dialogs
# windowrulev2=center, class:(jetbrains-)(.*), title:^$, initialTitle:^$, floating:1
# windowrulev2=center, class:(jetbrains-)(.*), initialTitle:(.+), floating:1
windowrule {
name = jb-other-dialogs
float = on
center = on
match:class = ^(jetbrains-)(.*)$
match:title = ^$
match:initial_title = ^$
}
windowrule {
name = jb-other-dialogs
float = on
center = on
match:class = ^(jetbrains-)(.*)$
}