38 lines
746 B
Markdown
38 lines
746 B
Markdown
# Layer Rules — Hyprland 0.48–0.51
|
||
|
||
Layers are non-window surfaces: status bars, wallpapers, launchers, notifications.
|
||
|
||
## Syntax (current: 0.48–0.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
|
||
}
|
||
```
|