mirror of
https://github.com/hyprwm/hyprland-wiki.git
synced 2025-12-20 03:30:02 +01:00
Update Window Rule syntax
Updated the examples to follow the latest spec
This commit is contained in:
parent
03d8861fc2
commit
c5c99919b9
1 changed files with 2 additions and 2 deletions
|
|
@ -247,13 +247,13 @@ windowrule {
|
|||
animation = popin
|
||||
}
|
||||
|
||||
windowrule = no_blur, match:class firefox # Disable blur for firefox
|
||||
windowrule = no_blur on, match:class firefox # Disable blur for firefox
|
||||
windowrule = move (cursor_x-(window_w*0.5)) (cursor_y-(window_h*0.5)), match:class kitty # Move kitty to the center of the cursor
|
||||
windowrule = border_color rgb(FF0000) rgb(880808), match:fullscreen 1 # Set border color to red if window is fullscreen
|
||||
windowrule = border_color rgb(FFFF00), match:title .*Hyprland.* # Set border color to yellow when title contains Hyprland
|
||||
windowrule = opacity 1.0 override 0.5 override 0.8 override, match:class kitty # Set opacity to 1.0 active, 0.5 inactive and 0.8 fullscreen for kitty
|
||||
windowrule = match:class kitty, rounding 10 # Set rounding to 10 for kitty
|
||||
windowrule = match:class (pinentry-)(.*), stayfocused # Fix pinentry losing focus
|
||||
windowrule = match:class (pinentry-)(.*), stay_focused on # Fix pinentry losing focus
|
||||
```
|
||||
|
||||
### Notes
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue