diff options
| -rw-r--r-- | wiki/Configuration:-Window-Rules.md | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/wiki/Configuration:-Window-Rules.md b/wiki/Configuration:-Window-Rules.md index 4b6028d8..d68b85b3 100644 --- a/wiki/Configuration:-Window-Rules.md +++ b/wiki/Configuration:-Window-Rules.md @@ -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 } ``` |
