From 35890852921d23cffaad466431b244c1ab4fa515 Mon Sep 17 00:00:00 2001 From: 0x4nt Date: Tue, 18 Oct 2022 22:58:44 +0200 Subject: [PATCH] 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)$ --- pages/Configuring/Window-Rules.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pages/Configuring/Window-Rules.md b/pages/Configuring/Window-Rules.md index 7584046..83a13f2 100644 --- a/pages/Configuring/Window-Rules.md +++ b/pages/Configuring/Window-Rules.md @@ -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 >}}