hypr: fix picture in picture window rule

This commit is contained in:
Nico 2026-01-10 02:53:06 +11:00
parent 5eeae56e03
commit 14cb039077
Signed by: nico
SSH key fingerprint: SHA256:XuacYOrGqRxC3jVFjfLROn1CSvLz85Dec6N7O9Gwu/0

View file

@ -27,9 +27,9 @@ windowrule {
float = on float = on
pin = on pin = on
no_initial_focus = on no_initial_focus = on
size = (monitor_w*0.2) size = (monitor_w*0.25) (monitor_h*0.25)
move = ((monitor_w*0.76)) ((monitor_h*0.005)) move = ((monitor_w-window_w)-65) 5
keep_aspect_ratio = on keep_aspect_ratio = false
match:initial_title = (^Picture-in-Picture$) match:initial_title = (^Picture-in-Picture$)
match:initial_class = (^firefox$) match:initial_class = (^firefox$)
} }