mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-21 02:01:55 +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.
|
||||
|
||||
```
|
||||
// Make the Telegram media viewer open in windowed mode.
|
||||
window-rule {
|
||||
match app-id=r#"^org\.telegram\.desktop$"# title="^Media viewer$"
|
||||
|
||||
open-fullscreen false
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user