feat(niri): group window rules

This commit is contained in:
pips 2025-03-28 20:56:34 +01:00
parent c919bebd8a
commit 91075778f6

View file

@ -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 {