wiki: Update Firefox window rules to match non-Flatpak
Browse files at this commit88fbc62b1d3cb245453b9ac5a8faae2b9159866aParent: e8027d51 changed file +6 -6
wiki/Configuration:-Window-Rules.mdmodified+6 -6
| @@ -98,12 +98,12 @@ There can be multiple *matchers* in one directive, then the window should match | |||
| 98 | ```kdl | 98 | ```kdl |
| 99 | window-rule { | 99 | window-rule { |
| 100 | // Match Firefox windows with Gmail in title. | 100 | // Match Firefox windows with Gmail in title. |
| 101 | - match app-id="org.mozilla.firefox" title="Gmail" | 101 | + match app-id="firefox" title="Gmail" |
| 102 | } | 102 | } |
| 103 | 103 | ||
| 104 | window-rule { | 104 | window-rule { |
| 105 | // Match Firefox, but only when it is active... | 105 | // Match Firefox, but only when it is active... |
| 106 | - match app-id=r#"^org\.mozilla\.firefox$"# is-active=true | 106 | + match app-id="firefox" is-active=true |
| 107 | 107 | ||
| 108 | // ...or match Telegram... | 108 | // ...or match Telegram... |
| 109 | match app-id=r#"^org\.telegram\.desktop$"# | 109 | 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 | |||
| 248 | // Open Firefox and Telegram (but not its Media Viewer) | 248 | // Open Firefox and Telegram (but not its Media Viewer) |
| 249 | // on a specific monitor. | 249 | // on a specific monitor. |
| 250 | window-rule { | 250 | window-rule { |
| 251 | - match app-id=r#"^org\.mozilla\.firefox$"# | 251 | + match app-id="firefox$" |
| 252 | match app-id=r#"^org\.telegram\.desktop$"# | 252 | match app-id=r#"^org\.telegram\.desktop$"# |
| 253 | exclude app-id=r#"^org\.telegram\.desktop$"# title="^Media viewer$" | 253 | exclude app-id=r#"^org\.telegram\.desktop$"# title="^Media viewer$" |
| 254 | 254 | ||
| @@ -287,7 +287,7 @@ Make the window open as a maximized column. | |||
| 287 | ```kdl | 287 | ```kdl |
| 288 | // Maximize Firefox by default. | 288 | // Maximize Firefox by default. |
| 289 | window-rule { | 289 | window-rule { |
| 290 | - match app-id=r#"^org\.mozilla\.firefox$"# | 290 | + match app-id="firefox$" |
| 291 | 291 | ||
| 292 | open-maximized true | 292 | open-maximized true |
| 293 | } | 293 | } |
| @@ -323,7 +323,7 @@ Make the window open in the floating layout. | |||
| 323 | ```kdl | 323 | ```kdl |
| 324 | // Open the Firefox picture-in-picture window as floating. | 324 | // Open the Firefox picture-in-picture window as floating. |
| 325 | window-rule { | 325 | window-rule { |
| 326 | - match app-id=r#"^org\.mozilla\.firefox$"# title="^Picture-in-Picture$" | 326 | + match app-id="firefox$" title="^Picture-in-Picture$" |
| 327 | 327 | ||
| 328 | open-floating true | 328 | open-floating true |
| 329 | } | 329 | } |
| @@ -391,7 +391,7 @@ window-rule { | |||
| 391 | > ```kdl | 391 | > ```kdl |
| 392 | > window-rule { | 392 | > window-rule { |
| 393 | > // Doesn't quite work! Try to block out the Gmail tab. | 393 | > // Doesn't quite work! Try to block out the Gmail tab. |
| 394 | -> match app-id=r#"^org\.mozilla\.firefox$"# title="- Gmail " | 394 | +> match app-id="firefox$" title="- Gmail " |
| 395 | > | 395 | > |
| 396 | > block-out-from "screencast" | 396 | > block-out-from "screencast" |
| 397 | > } | 397 | > } |