From 91075778f65b9544f5eeeebb9763fffb53b85043 Mon Sep 17 00:00:00 2001 From: pips Date: Fri, 28 Mar 2025 20:56:34 +0100 Subject: [PATCH] feat(niri): group window rules --- private_dot_config/niri/config.kdl | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/private_dot_config/niri/config.kdl b/private_dot_config/niri/config.kdl index 6719050..570a75f 100644 --- a/private_dot_config/niri/config.kdl +++ b/private_dot_config/niri/config.kdl @@ -455,13 +455,6 @@ window-rule { // - 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 -} - -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-nightly$"# title="^Picture-in-Picture$" open-floating true } @@ -474,6 +467,12 @@ window-rule { open-maximized true } +window-rule { + match app-id=r#"org.freedesktop.Xwayland$"# + open-floating true + open-fullscreen true +} + // Example: block out two password managers from screen capture. // (This example rule is commented out with a "/-" in front.) window-rule {