From 7b5f391046aeab21020ae490fc0917156daffed2 Mon Sep 17 00:00:00 2001 From: Chenty <78651635+Trap101@users.noreply.github.com> Date: Sun, 31 Mar 2024 02:25:14 +0100 Subject: [PATCH] Update document mistake with initialClass with added warnings (#563) --- pages/Configuring/Window-Rules.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pages/Configuring/Window-Rules.md b/pages/Configuring/Window-Rules.md index 366aad8..7e1b719 100644 --- a/pages/Configuring/Window-Rules.md +++ b/pages/Configuring/Window-Rules.md @@ -70,8 +70,8 @@ For now, the supported fields are: ```ini class - class regex title - title regex -initialClass - initialClass regex -initialTitle - initialTitle regex +initialclass - initialClass regex +initialtitle - initialTitle regex xwayland - 0/1 floating - 0/1 fullscreen - 0/1 @@ -83,6 +83,11 @@ onworkspace - id, name: and name, or workspace selector (see Workspace Rules) Keep in mind that you _have_ to declare at least one field, but not all. +{{< callout type=warning >}} +Please beware that `hyprctl clients` display the field as **initialClass** while the WINDOW field in the configuration uses `initialclass`. + +{{< /callout >}} + {{< callout type=info >}} To get more information about a window's class, title, XWayland status or its