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

View file

@ -70,8 +70,8 @@ For now, the supported fields are:
```ini ```ini
class - class regex class - class regex
title - title regex title - title regex
initialClass - initialClass regex initialclass - initialClass regex
initialTitle - initialTitle regex initialtitle - initialTitle regex
xwayland - 0/1 xwayland - 0/1
floating - 0/1 floating - 0/1
fullscreen - 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. 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 >}} {{< callout type=info >}}
To get more information about a window's class, title, XWayland status or its To get more information about a window's class, title, XWayland status or its