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

38 lines
746 B
Markdown
Raw Normal View History

# 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
}
```