diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2024-12-24 12:56:21 +0300 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2024-12-30 20:12:37 +0300 |
| commit | befc399506a1e8f946b4c93c128ee76314bebbe5 (patch) | |
| tree | 609e0d8d8917949e539e7c69399ee2e70b937065 | |
| parent | 88116b9fb1f93d6175a58a36c6fdd1fb8b240a3f (diff) | |
| download | niri-befc399506a1e8f946b4c93c128ee76314bebbe5.tar.gz niri-befc399506a1e8f946b4c93c128ee76314bebbe5.tar.bz2 niri-befc399506a1e8f946b4c93c128ee76314bebbe5.zip | |
default-config: Make Firefox PiP floating
| -rw-r--r-- | resources/default-config.kdl | 9 |
1 files changed, 9 insertions, 0 deletions
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 { |
