mirror of
https://github.com/hyprwm/hyprland-plugins.git
synced 2026-08-18 11:14:01 +00:00
bars: Update README.md with new windowrule block syntax (#642)
This commit is contained in:
@ -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)
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user