default-config: Make Firefox PiP floating

This commit is contained in:
Ivan Molodetskikh
2024-12-24 12:56:21 +03:00
parent 88116b9fb1
commit befc399506

View File

@@ -250,6 +250,15 @@ window-rule {
default-column-width {}
}
// Open the Firefox picture-in-picture player as floating by default.
window-rule {
// This app-id regular expression will work for both:
// - host Firefox (app-id is "firefox")
// - Flatpak Firefox (app-id is "org.mozilla.firefox")
match app-id=r#"firefox$"# title="^Picture-in-Picture$"
open-floating true
}
// Example: block out two password managers from screen capture.
// (This example rule is commented out with a "/-" in front.)
/-window-rule {