mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-23 02:05:33 +07:00
wiki: Expand fullscreen rule example
This commit is contained in:
@@ -220,7 +220,10 @@ window-rule {
|
|||||||
You can also set this to `false` to *prevent* a window from opening fullscreen.
|
You can also set this to `false` to *prevent* a window from opening fullscreen.
|
||||||
|
|
||||||
```
|
```
|
||||||
|
// Make the Telegram media viewer open in windowed mode.
|
||||||
window-rule {
|
window-rule {
|
||||||
|
match app-id=r#"^org\.telegram\.desktop$"# title="^Media viewer$"
|
||||||
|
|
||||||
open-fullscreen false
|
open-fullscreen false
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user