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, LayerSurfaces are not windows. These are for example: Your wallpapers,
notification overlays, bars, etc. notification overlays, bars, etc.
If you really want to blur them, use `blurls=` If you really want to blur them, use a layerrule:
```ini ```ini
blurls=NAMESPACE layerrule = blur,NAMESPACE
# or # or
blurls=address:0x<ADDRESS> layerrule = blur,address:0x<ADDRESS>
``` ```
you can get the namespace / address from `hyprctl layers`. 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: To remove a blurls rule (useful in dynamic situations) use:
```ini ```ini
blurls=remove,NAMESPACE layerrule = unset,<whatever you used before>
# or
blurls=remove,0x<ADDRESS>
``` ```
# Setting the environment # Setting the environment

View file

@ -146,8 +146,11 @@ Those have specific rules separate from windows:
```ini ```ini
layerrule = rule, namespace layerrule = rule, namespace
# or
layerrule = rule, address
``` ```
where `rule` is the rule and `namespace` is the namespace regex (find namespaces in `hyprctl layers`) 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 ## Rules