From 392fc27de110d3548095e465d5cb38bd8d5730ea Mon Sep 17 00:00:00 2001 From: Kent Daleng Date: Sat, 15 Mar 2025 16:42:05 +0100 Subject: 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 --- wiki/Configuration:-Layer-Rules.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'wiki/Configuration:-Layer-Rules.md') 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. ![Screenshot showing a notification visible normally, but blocked out on OBS.](./img/layer-block-out-from-screencast.png) @@ -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. -- cgit