mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-22 02:01:55 +07:00
wiki: Clarify window rule matching example
This commit is contained in:
@@ -74,6 +74,8 @@ Here is what you can match on.
|
|||||||
These are regular expressions that should match anywhere in the window title and app ID respectively.
|
These are regular expressions that should match anywhere in the window title and app ID respectively.
|
||||||
|
|
||||||
```
|
```
|
||||||
|
// Match windows with title containing "Mozilla Firefox",
|
||||||
|
// or windows with app ID containing "Alacritty".
|
||||||
window-rule {
|
window-rule {
|
||||||
match title="Mozilla Firefox"
|
match title="Mozilla Firefox"
|
||||||
match app-id="Alacritty"
|
match app-id="Alacritty"
|
||||||
|
|||||||
Reference in New Issue
Block a user