diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2024-12-26 19:05:57 +0300 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2024-12-30 20:12:37 +0300 |
| commit | 88fbc62b1d3cb245453b9ac5a8faae2b9159866a (patch) | |
| tree | 140b7190169554c42c9b9056db83759e823d6466 | |
| parent | e8027d571f593c5754eb13ea3060577b6c5394a6 (diff) | |
| download | niri-88fbc62b1d3cb245453b9ac5a8faae2b9159866a.tar.gz niri-88fbc62b1d3cb245453b9ac5a8faae2b9159866a.tar.bz2 niri-88fbc62b1d3cb245453b9ac5a8faae2b9159866a.zip | |
wiki: Update Firefox window rules to match non-Flatpak
| -rw-r--r-- | wiki/Configuration:-Window-Rules.md | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/wiki/Configuration:-Window-Rules.md b/wiki/Configuration:-Window-Rules.md index b34d0469..ccf5bb84 100644 --- a/wiki/Configuration:-Window-Rules.md +++ b/wiki/Configuration:-Window-Rules.md @@ -98,12 +98,12 @@ There can be multiple *matchers* in one directive, then the window should match ```kdl window-rule { // Match Firefox windows with Gmail in title. - match app-id="org.mozilla.firefox" title="Gmail" + match app-id="firefox" title="Gmail" } window-rule { // Match Firefox, but only when it is active... - match app-id=r#"^org\.mozilla\.firefox$"# is-active=true + match app-id="firefox" is-active=true // ...or match Telegram... match app-id=r#"^org\.telegram\.desktop$"# @@ -248,7 +248,7 @@ If the window opens on an output that is not currently focused, the window will // Open Firefox and Telegram (but not its Media Viewer) // on a specific monitor. window-rule { - match app-id=r#"^org\.mozilla\.firefox$"# + match app-id="firefox$" match app-id=r#"^org\.telegram\.desktop$"# exclude app-id=r#"^org\.telegram\.desktop$"# title="^Media viewer$" @@ -287,7 +287,7 @@ Make the window open as a maximized column. ```kdl // Maximize Firefox by default. window-rule { - match app-id=r#"^org\.mozilla\.firefox$"# + match app-id="firefox$" open-maximized true } @@ -323,7 +323,7 @@ Make the window open in the floating layout. ```kdl // Open the Firefox picture-in-picture window as floating. window-rule { - match app-id=r#"^org\.mozilla\.firefox$"# title="^Picture-in-Picture$" + match app-id="firefox$" title="^Picture-in-Picture$" open-floating true } @@ -391,7 +391,7 @@ window-rule { > ```kdl > window-rule { > // Doesn't quite work! Try to block out the Gmail tab. -> match app-id=r#"^org\.mozilla\.firefox$"# title="- Gmail " +> match app-id="firefox$" title="- Gmail " > > block-out-from "screencast" > } |
