From befc399506a1e8f946b4c93c128ee76314bebbe5 Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Tue, 24 Dec 2024 12:56:21 +0300 Subject: default-config: Make Firefox PiP floating --- resources/default-config.kdl | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/resources/default-config.kdl b/resources/default-config.kdl index ca612fc1..4e53ef9d 100644 --- a/resources/default-config.kdl +++ b/resources/default-config.kdl @@ -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 { -- cgit