add address to lsr

This commit is contained in:
vaxerski 2023-03-17 23:35:17 +00:00
parent 374005365b
commit 282421d785
2 changed files with 7 additions and 6 deletions

View file

@ -145,12 +145,12 @@ More can be found in [Useful Utilities](../../Useful-Utilities).
LayerSurfaces are not windows. These are for example: Your wallpapers,
notification overlays, bars, etc.
If you really want to blur them, use `blurls=`
If you really want to blur them, use a layerrule:
```ini
blurls=NAMESPACE
layerrule = blur,NAMESPACE
# or
blurls=address:0x<ADDRESS>
layerrule = blur,address:0x<ADDRESS>
```
you can get the namespace / address from `hyprctl layers`.
@ -158,9 +158,7 @@ you can get the namespace / address from `hyprctl layers`.
To remove a blurls rule (useful in dynamic situations) use:
```ini
blurls=remove,NAMESPACE
# or
blurls=remove,0x<ADDRESS>
layerrule = unset,<whatever you used before>
```
# Setting the environment

View file

@ -146,8 +146,11 @@ Those have specific rules separate from windows:
```ini
layerrule = rule, namespace
# or
layerrule = rule, address
```
where `rule` is the rule and `namespace` is the namespace regex (find namespaces in `hyprctl layers`)
or `address` is an address in the form of `address:0x[hex]`
## Rules