server-desktop-01/docs/hyprland/layer-rules.md

38 lines
746 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Layer Rules — Hyprland 0.480.51
Layers are non-window surfaces: status bars, wallpapers, launchers, notifications.
## Syntax (current: 0.480.51)
```
layerrule = match:namespace ^(regex)$, effect
```
Use `hyprctl layers` to find a layer's namespace.
## Effects
| Effect | Notes |
|--------|-------|
| `no_anim` | Disable animations |
| `blur` | Enable blur |
| `blur_popups` | Blur popups too |
| `dim_around` | Dim everything behind layer |
| `animation style` | Override animation style |
## Our rules
```
layerrule = match:namespace ^(quickshell)$, no_anim
layerrule = match:namespace ^dms:.*, no_anim
```
## 0.52+ block syntax (not yet installed)
```
layerrule {
match:namespace = ^(quickshell)$
no_anim = on
}
```