forge
Explore
Log in

Don't you dare go Hollow

wiki: Expand fullscreen rule example

Browse files at this commit

8f1bbea863e3ff101f50b9b7f835ddd0951b5ee6Ivan MolodetskikhParent: 5e7eafb
wiki/Configuration:-Window-Rules.mdmodified+3 -0
@@ -220,7 +220,10 @@ window-rule {
220 You can also set this to `false` to *prevent* a window from opening fullscreen.220 You can also set this to `false` to *prevent* a window from opening fullscreen.
221 221
222 ```222 ```
223+// Make the Telegram media viewer open in windowed mode.
223 window-rule {224 window-rule {
225+ match app-id=r#"^org\.telegram\.desktop$"# title="^Media viewer$"
226+
224 open-fullscreen false227 open-fullscreen false
225 }228 }
226 ```229 ```