bars: Update README.md with new windowrule block syntax (#642)

This commit is contained in:
cobalt2763
2026-04-20 16:33:53 +00:00
committed by GitHub
parent 6059aca0cc
commit 6acc0738f2

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)
}
```