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 {
117117 }
118118 ```
119119
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:
121-
122-```json
123-"wlr/taskbar": {
124- "tooltip-format": "{title} | {app_id}",
125-}
126-```
120+> [!TIP]
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+>
123+> ```json
124+> "wlr/taskbar": {
125+> "tooltip-format": "{title} | {app_id}",
126+> }
127+> ```
127128
128129 #### `is-active`
129130
@@ -202,7 +203,10 @@ window-rule {
202203 Make the window open as a maximized column.
203204
204205 ```
206+// Maximize Firefox by default.
205207 window-rule {
208+ match app-id=r#"^org\.mozilla\.firefox$"#
209+
206210 open-maximized true
207211 }
208212 ```