forge
Explore
Log in

Don't you dare go Hollow

wiki: Improve window rules formatting

Browse files at this commit

f5c97faf4aefc8366c3be7475dde5412a42dbc8fIvan MolodetskikhParent: 8f1bbea
wiki/Configuration:-Window-Rules.mdmodified+11 -7
@@ -117,13 +117,14 @@ window-rule {
117 }117 }
118 ```118 ```
119 119
120-One way to find the window title and app ID is to configure the `wlr/taskbar` module in [Waybar](https://github.com/Alexays/Waybar) to include them in the tooltip:120+> [!TIP]
121-121+> One way to find the window title and app ID is to configure the `wlr/taskbar` module in [Waybar](https://github.com/Alexays/Waybar) to include them in the tooltip:
122-```json122+>
123-"wlr/taskbar": {123+> ```json
124- "tooltip-format": "{title} | {app_id}",124+> "wlr/taskbar": {
125-}125+> "tooltip-format": "{title} | {app_id}",
126-```126+> }
127+> ```
127 128
128 #### `is-active`129 #### `is-active`
129 130
@@ -202,7 +203,10 @@ window-rule {
202 Make the window open as a maximized column.203 Make the window open as a maximized column.
203 204
204 ```205 ```
206+// Maximize Firefox by default.
205 window-rule {207 window-rule {
208+ match app-id=r#"^org\.mozilla\.firefox$"#
209+
206 open-maximized true210 open-maximized true
207 }211 }
208 ```212 ```