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

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*: *Examples*:
```ini ```ini
windowrule = move 100 100,^(kitty)$ windowrulev2 = move 100 100,class:^(kitty)$
windowrule = animation popin,^(kitty)$ windowrulev2 = animation popin,class:^(kitty)$
windowrule = noblur,^(firefox)$ windowrulev2 = noblur,class:^(firefox)$
``` ```
{{< hint type=tip >}} {{< hint type=tip >}}