Fix windowrule sizing changes

This commit is contained in:
David Heinemeier Hansson
2026-01-03 13:31:50 -08:00
parent 941e1c2dd8
commit fdee76e2d2
3 changed files with 3 additions and 3 deletions

View File

@@ -13,7 +13,7 @@ windowrule = stay_focused on, match:tag jetbrains
windowrule = border_size 0, match:tag jetbrains
# For some reason tag:jetbrains does not work for size rule
windowrule = size >50% >50%, match:class ^(jetbrains-.*), match:title ^()$, match:float 1
windowrule = min_size (monitor_w*0.5) (monitor_h*0.5), match:class ^(jetbrains-.*), match:title ^()$, match:float 1
# Disable window flicker when autocomplete or tooltips appear
windowrule = no_initial_focus on, match:class ^(jetbrains-.*)$, match:title ^(win.*)$, match:float 1

View File

@@ -6,4 +6,4 @@ windowrule = size 600 338, match:tag pip
windowrule = keep_aspect_ratio on, match:tag pip
windowrule = border_size 0, match:tag pip
windowrule = opacity 1 1, match:tag pip
windowrule = move 100%-w-40 4%, match:tag pip
windowrule = move (monitor_w-window_w-40) (monitor_h*0.04), match:tag pip

View File

@@ -3,4 +3,4 @@ windowrule = float on, match:title WebcamOverlay
windowrule = pin on, match:title WebcamOverlay
windowrule = no_initial_focus on, match:title WebcamOverlay
windowrule = no_dim on, match:title WebcamOverlay
windowrule = move 100%-w-40 100%-w-40, match:title WebcamOverlay # There's a typo in the hyprland rule so 100%-w on the height param is actually correct here
windowrule = move (monitor_w-window_w-40) (monitor_h-window_h-40), match:title WebcamOverlay