mirror of
https://github.com/hyprwm/hyprland-plugins.git
synced 2026-05-07 19:28:00 +02:00
Update README.md with new windowrule block syntax
This commit is contained in:
parent
3e38db916a
commit
71ad6c93a8
1 changed files with 5 additions and 1 deletions
|
|
@ -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)
|
||||
}
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue