mirror of
https://github.com/hyprwm/hyprland-wiki.git
synced 2026-01-06 20:10:11 +01:00
parent
d043d75c0c
commit
3b830049b6
4 changed files with 19 additions and 41 deletions
|
|
@ -140,33 +140,6 @@ To set a wallpaper, use a wallpaper utility like
|
|||
|
||||
More can be found in [Useful Utilities](../../Useful-Utilities).
|
||||
|
||||
## Blurring layerSurfaces
|
||||
|
||||
Layer surfaces are not windows. These are, for example: wallpapers,
|
||||
notification overlays, bars, etc.
|
||||
|
||||
If you want to blur them, use a layer rule:
|
||||
|
||||
```ini
|
||||
layerrule = blur, NAMESPACE
|
||||
# or
|
||||
layerrule = blur, address:0x<ADDRESS>
|
||||
```
|
||||
|
||||
You can get the namespace / address from `hyprctl layers`.
|
||||
|
||||
To remove a layer rule (useful in dynamic situations) use:
|
||||
|
||||
```ini
|
||||
layerrule = unset, <whatever you used before>
|
||||
```
|
||||
|
||||
For example:
|
||||
|
||||
```ini
|
||||
layerrule = unset, NAMESPACE
|
||||
```
|
||||
|
||||
## Setting the environment
|
||||
|
||||
> [!NOTE]
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ general {
|
|||
allow_tearing = true
|
||||
}
|
||||
|
||||
windowrule = immediate, class:^(cs2)$
|
||||
windowrule = match:class cs2, immediate yes
|
||||
```
|
||||
|
||||
> [!WARNING]
|
||||
|
|
|
|||
|
|
@ -247,13 +247,13 @@ windowrule {
|
|||
animation = popin
|
||||
}
|
||||
|
||||
windowrule = noblur, match:class firefox # Disable blur for firefox
|
||||
windowrule = move cursor -50% -50%, match:class kitty # Move kitty to the center of the cursor
|
||||
windowrule = bordercolor rgb(FF0000) rgb(880808), match:fullscreen 1 # Set bordercolor to red if window is fullscreen
|
||||
windowrule = bordercolor rgb(FFFF00), match:title .*Hyprland.* # Set bordercolor 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 = no_blur, 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 bordercolor to red if window is fullscreen
|
||||
windowrule = border_color rgb(FFFF00), match:title .*Hyprland.* # Set bordercolor 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
|
||||
```
|
||||
|
||||
### Notes
|
||||
|
|
|
|||
|
|
@ -38,10 +38,15 @@ the same effect. See
|
|||
more information. For example:
|
||||
|
||||
```ini
|
||||
windowrule = opacity 0.0 override, class:^(xwaylandvideobridge)$
|
||||
windowrule = noanim, class:^(xwaylandvideobridge)$
|
||||
windowrule = noinitialfocus, class:^(xwaylandvideobridge)$
|
||||
windowrule = maxsize 1 1, class:^(xwaylandvideobridge)$
|
||||
windowrule = noblur, class:^(xwaylandvideobridge)$
|
||||
windowrule = nofocus, class:^(xwaylandvideobridge)$
|
||||
windowrule {
|
||||
name = xwayland-video-bridge-fixes
|
||||
match:class = xwaylandvideobridge
|
||||
|
||||
no_initial_focus = true
|
||||
no_focus = true
|
||||
no_anim = true
|
||||
no_blur = true
|
||||
max_size = 1 1
|
||||
opacity = 0.0
|
||||
}
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue