Update document mistake with initialClass with added warnings (#563)

This commit is contained in:
Chenty 2024-03-31 02:25:14 +01:00 committed by GitHub
parent 7f825b51a6
commit 7b5f391046
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 2 deletions

View File

@ -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