diff options
| author | Kent Daleng <lolexplode@gmail.com> | 2025-03-15 16:42:05 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-15 15:42:05 +0000 |
| commit | 392fc27de110d3548095e465d5cb38bd8d5730ea (patch) | |
| tree | c465f8975db4e6f90c9f875cb6e7722af175901f /wiki/Configuration:-Layer-Rules.md | |
| parent | 9e560e7e607638da4f47b6dfef5a83b18711f75d (diff) | |
| download | niri-392fc27de110d3548095e465d5cb38bd8d5730ea.tar.gz niri-392fc27de110d3548095e465d5cb38bd8d5730ea.tar.bz2 niri-392fc27de110d3548095e465d5cb38bd8d5730ea.zip | |
Use anchors on the wiki (#1266)
* wiki testing
* wiki updates
* use .md with anchors, revert sidebar
* bump wiki action
* add some more anchors, fix some language
* change links to be more descriptive by themselves
Diffstat (limited to 'wiki/Configuration:-Layer-Rules.md')
| -rw-r--r-- | wiki/Configuration:-Layer-Rules.md | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/wiki/Configuration:-Layer-Rules.md b/wiki/Configuration:-Layer-Rules.md index ac99ac5a..84a8f7d6 100644 --- a/wiki/Configuration:-Layer-Rules.md +++ b/wiki/Configuration:-Layer-Rules.md @@ -6,7 +6,7 @@ Layer rules let you adjust behavior for individual layer-shell surfaces. They have `match` and `exclude` directives that control which layer-shell surfaces the rule should apply to, and a number of properties that you can set. Layer rules are processed and work very similarly to window rules, just with different matchers and properties. -Please read the [window rules](./Configuration:-Window-Rules.md) wiki page to learn how matching works. +Please read the [window rules wiki page](./Configuration:-Window-Rules.md) to learn how matching works. Here are all matchers and properties that a layer rule could have: @@ -78,8 +78,7 @@ They will be replaced with solid black rectangles. This can be useful for notifications. -The same caveats and instructions apply as for the `block-out-from` window rule. -Please read the `block-out-from` section in the [window rules](./Configuration:-Window-Rules.md) wiki page for more details. +The same caveats and instructions apply as for the [`block-out-from` window rule](./Configuration:-Window-Rules.md#block-out-from), so check the documentation there.  @@ -115,7 +114,7 @@ layer-rule { Override the shadow options for the surface. -These rules have the same options as the normal shadow config in the [layout](./Configuration:-Layout.md) section, so check the documentation there. +These rules have the same options as the normal [`shadow` config in the layout section](./Configuration:-Layout.md#shadow), so check the documentation there. Unlike window shadows, layer surface shadows always need to be enabled with a layer rule. That is, enabling shadows in the layout config section won't automatically enable them for layer surfaces. |
