Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions content/Configuring/Window-Rules.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,18 @@ It is not possible to `float` (or any other static rule) a window based on a cha
| content \[none\|photo\|video\|game\] | Sets content type. |
| noclosefor \[ms\] | Makes the window uncloseable with the `killactive` dispatcher for a given amount of ms on open. |

{{< callout type=warning >}}

When using tags with static rules, ensure tags are assigned using `class:` or `title:` matching rather than `initialClass:` or `initialTitle:`. Static rules like `workspace` may be processed before tags assigned via initial properties are available, causing the rule to be ignored.

**Example of problematic configuration:**
```ini
windowrule = workspace 3, tag:myapp
windowrule = tag +myapp, initialClass:^myapp.* # May not work with workspace rule
```

{{< /callout >}}

### Dynamic rules

Dynamic rules are re-evaluated every time a property changes.
Expand Down