hyprland-wiki: `s/windowrule/windowrulev2`

* Replace references to 'windowrule' in the paragraph "Window Rules V2"
  with 'windowrulev2' instead. Clears doubts as seen in hyprwm/Hyprland#874.

* Also fix the syntax for the various examples. Maybe someone should stop
  drinking beer?
   - ^(kitty)$, ^(firefox)$ -> class:^(kitty)$, class^(firefox)$
This commit is contained in:
0x4nt 2022-10-18 22:58:44 +02:00 committed by Antonino Scordino
parent 75ae8c5c9f
commit 3589085292
No known key found for this signature in database
GPG Key ID: F20FDE4C896FC2CB
1 changed files with 3 additions and 3 deletions

View File

@ -74,9 +74,9 @@ Keep in mind you do *not* need to define all of them, but you need to define at
*Examples*:
```ini
windowrule = move 100 100,^(kitty)$
windowrule = animation popin,^(kitty)$
windowrule = noblur,^(firefox)$
windowrulev2 = move 100 100,class:^(kitty)$
windowrulev2 = animation popin,class:^(kitty)$
windowrulev2 = noblur,class:^(firefox)$
```
{{< hint type=tip >}}