- correcting jetbrain xwayland window rules following post found in https://github.com/hyprwm/Hyprland/issues/4257

This commit is contained in:
2026-02-12 09:47:40 +01:00
parent e3ac345b1e
commit ee20ccb003

View File

@@ -330,8 +330,24 @@ windowrule {
float = off float = off
} }
#jetbrain xwayland fixes. see https://github.com/hyprwm/Hyprland/issues/4257
windowrule { windowrule {
name = tiled_xwayland name = windowrule-jb-tag
match:xwayland = 1 tag = +jb
float = off match:class = ^jetbrains-.+$
match:float = 1
} }
windowrule {
name = windowrule-jb-focus
stay_focused = on
no_initial_focus = on
match:tag = jb
}
windowrule {
name = windowrule-jb-focus2
focus_on_activate = on
match:class = ^jetbrains-(?!toolbox)"
}