Update README.md with new windowrule block syntax

This commit is contained in:
mahaswinp-a11y 2026-04-17 11:26:14 +00:00 committed by GitHub
parent 3e38db916a
commit 71ad6c93a8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -66,5 +66,9 @@ Hyprbars supports the following _dynamic_ [window rules](https://wiki.hypr.land/
Example:
```bash
# Sets the bar color in red for all windows that have 'myClass' as a class
windowrule = plugin:hyprbars:bar_color rgb(ff0000), class:^(myClass)
windowrule {
name = myClass-red-bars
match:class = ^(myClass)$
hyprbars:bar_color = rgb(ff0000)
}
```