Add float and pin rule to firefox PIP windows

This commit is contained in:
Evie Litherland-Smith 2023-07-18 08:07:57 +01:00
parent 405b9ae8c6
commit ca984db42c

View file

@ -147,7 +147,7 @@ bindm = SUPER, mouse:273, resizewindow
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
windowrule = workspace 2,(neovide)
windowrule = workspace 3,(firefox|chromium-browser)
windowrule = workspace 3,(firefox)
windowrule = workspace 4,^(libreoffice).*
windowrule = workspace 4,(Zotero)
windowrule = workspace 5 silent,(Signal)
@ -178,4 +178,5 @@ windowrule = center,(Nxplayer.bin)
windowrulev2 = float,title:^(Zoom|zoom).*
windowrulev2 = workspace 5,title:^(Zoom|zoom).*
windowrulev2 = float,title:(File),class:(firefox|chromium-browser)
windowrulev2 = float,title:(File|Picture-in-Picture),class:(firefox)
windowrulev2 = pin,title:(File|Picture-in-Picture),class:(firefox)