feat(niri): group window rules
This commit is contained in:
parent
c919bebd8a
commit
91075778f6
1 changed files with 6 additions and 7 deletions
|
|
@ -455,13 +455,6 @@ window-rule {
|
||||||
// - host Firefox (app-id is "firefox")
|
// - host Firefox (app-id is "firefox")
|
||||||
// - Flatpak Firefox (app-id is "org.mozilla.firefox")
|
// - Flatpak Firefox (app-id is "org.mozilla.firefox")
|
||||||
match app-id=r#"firefox$"# title="^Picture-in-Picture$"
|
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$"
|
match app-id=r#"firefox-nightly$"# title="^Picture-in-Picture$"
|
||||||
open-floating true
|
open-floating true
|
||||||
}
|
}
|
||||||
|
|
@ -474,6 +467,12 @@ window-rule {
|
||||||
open-maximized true
|
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.
|
// Example: block out two password managers from screen capture.
|
||||||
// (This example rule is commented out with a "/-" in front.)
|
// (This example rule is commented out with a "/-" in front.)
|
||||||
window-rule {
|
window-rule {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue