mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-23 02:05:33 +07:00
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
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user