hyprland: Use windowrule v3

This commit is contained in:
SebastianStork 2026-01-21 14:50:57 +01:00
parent 581241e860
commit 2449bc2d47
Signed by: SebastianStork
SSH key fingerprint: SHA256:iEM011ogNMG1q8+U500adGu/9rpPuZ2KnFtbdLeqTiI

View file

@ -83,16 +83,16 @@
]; ];
windowrule = [ windowrule = [
# No borders on floating window when it's the only window # No borders on floating window when it's the only window
"bordersize 0, floating:1, onworkspace:w[1]" "border_size 0, match:float 1, match:workspace w[1]"
# No borders on tiled window when it's the only tiled window # No borders on tiled window when it's the only tiled window
"bordersize 0, floating:0, onworkspace:w[t1]" "border_size 0, match:float 0, match:workspace w[t1]"
# No rounding on tiled window when it's the only tiled window on a normal workspace # No rounding on tiled window when it's the only tiled windonoinitialfocus, class:(jetbrains-)(.*), floating:1w on a normal workspace
"rounding 0, floating:0, onworkspace:w[t1]s[false]" "rounding 0, match:float 0, match:workspace w[t1]s[false]"
"idleinhibit fullscreen, class:.*" "idle_inhibit fullscreen, match:class .*"
# Fix flickering in JetBrains-IDEs # Fix flickering in JetBrains-IDEs
"noinitialfocus, class:(jetbrains-)(.*), floating:1" "no_initial_focus on, match:class (jetbrains-)(.*), match:float 1"
]; ];
}; };
}; };