forge
Explore
Log in

Don't you dare go Hollow

Use anchors on the wiki (#1266)

Browse files at this commit

392fc27de110d3548095e465d5cb38bd8d5730eaUnverifiedKent DalengParent: 9e560e7
* 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
.github/workflows/ci.ymlmodified+1 -1
@@ -239,7 +239,7 @@ jobs:
239 with:239 with:
240 lfs: true240 lfs: true
241 show-progress: false241 show-progress: false
242- - uses: Andrew-Chen-Wang/github-wiki-action@86138cbd6328b21d759e89ab6e6dd6a139b22270242+ - uses: Andrew-Chen-Wang/github-wiki-action@b7e552d7cb0fa7f83e459012ffc6840fd87bcb83
243 243
244 rustdoc:244 rustdoc:
245 needs: build245 needs: build
wiki/Application-Issues.mdmodified+2 -2
@@ -21,7 +21,7 @@ window-rule {
21 This empty default column width lets WezTerm pick its own initial width which makes it show up properly.21 This empty default column width lets WezTerm pick its own initial width which makes it show up properly.
22 22
23 There's [another bug](https://github.com/wez/wezterm/issues/6472) in WezTerm that causes it to choose a wrong size when it's in a tiled state, and prevent resizing it.23 There's [another bug](https://github.com/wez/wezterm/issues/6472) in WezTerm that causes it to choose a wrong size when it's in a tiled state, and prevent resizing it.
24-Niri puts windows in the tiled state with `prefer-no-csd`.24+Niri puts windows in the tiled state with [`prefer-no-csd`](./Configuration:-Miscellaneous.md#prefer-no-csd).
25 So if you hit this problem, comment out `prefer-no-csd` in the niri config and restart WezTerm.25 So if you hit this problem, comment out `prefer-no-csd` in the niri config and restart WezTerm.
26 26
27 ### Ghidra27 ### Ghidra
@@ -32,7 +32,7 @@ To fix this, run them with the `_JAVA_AWT_WM_NONREPARENTING=1` environment varia
32 ### rofi-wayland32 ### rofi-wayland
33 33
34 There's a bug in rofi-wayland that prevents it from accepting keyboard input on niri with errors in the output.34 There's a bug in rofi-wayland that prevents it from accepting keyboard input on niri with errors in the output.
35-It's been fixed in rofi, but the fix had not been released yet: https://github.com/davatorium/rofi/discussions/200835+It's been fixed in rofi, but [the fix had not been released yet](https://github.com/davatorium/rofi/discussions/2008).
36 36
37 ### Fullscreen games37 ### Fullscreen games
38 38
wiki/Configuration:-Debug-Options.mdmodified+1 -1
@@ -4,7 +4,7 @@ Niri has several options that are only useful for debugging, or are experimental
4 They are not meant for normal use.4 They are not meant for normal use.
5 5
6 > [!CAUTION]6 > [!CAUTION]
7-> These options are **not** covered by the [config breaking change policy](./Configuration:-Overview.md).7+> These options are **not** covered by the [config breaking change policy](./Configuration:-Overview.md#breaking-change-policy).
8 > They can change or stop working at any point with little notice.8 > They can change or stop working at any point with little notice.
9 9
10 Here are all the options at a glance:10 Here are all the options at a glance:
wiki/Configuration:-Key-Bindings.mdmodified+1 -1
@@ -313,7 +313,7 @@ Actions for taking screenshots.
313 - `screenshot`: opens the built-in interactive screenshot UI.313 - `screenshot`: opens the built-in interactive screenshot UI.
314 - `screenshot-screen`, `screenshow-window`: takes a screenshot of the focused screen or window respectively.314 - `screenshot-screen`, `screenshow-window`: takes a screenshot of the focused screen or window respectively.
315 315
316-The screenshot is both stored to the clipboard and saved to disk, according to the [`screenshot-path` option](./Configuration:-Miscellaneous.md).316+The screenshot is both stored to the clipboard and saved to disk, according to the [`screenshot-path` option](./Configuration:-Miscellaneous#screenshot-path).
317 317
318 <sup>Since: 25.02</sup> You can disable saving to disk for a specific bind with the `write-to-disk=false` property:318 <sup>Since: 25.02</sup> You can disable saving to disk for a specific bind with the `write-to-disk=false` property:
319 319
wiki/Configuration:-Layer-Rules.mdmodified+3 -4
@@ -6,7 +6,7 @@ Layer rules let you adjust behavior for individual layer-shell surfaces.
6 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.6 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.
7 7
8 Layer rules are processed and work very similarly to window rules, just with different matchers and properties.8 Layer rules are processed and work very similarly to window rules, just with different matchers and properties.
9-Please read the [window rules](./Configuration:-Window-Rules.md) wiki page to learn how matching works.9+Please read the [window rules wiki page](./Configuration:-Window-Rules.md) to learn how matching works.
10 10
11 Here are all matchers and properties that a layer rule could have:11 Here are all matchers and properties that a layer rule could have:
12 12
@@ -78,8 +78,7 @@ They will be replaced with solid black rectangles.
78 78
79 This can be useful for notifications.79 This can be useful for notifications.
80 80
81-The same caveats and instructions apply as for the `block-out-from` window rule.81+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.
82-Please read the `block-out-from` section in the [window rules](./Configuration:-Window-Rules.md) wiki page for more details.
83 82
84 ![Screenshot showing a notification visible normally, but blocked out on OBS.](./img/layer-block-out-from-screencast.png)83 ![Screenshot showing a notification visible normally, but blocked out on OBS.](./img/layer-block-out-from-screencast.png)
85 84
@@ -115,7 +114,7 @@ layer-rule {
115 114
116 Override the shadow options for the surface.115 Override the shadow options for the surface.
117 116
118-These rules have the same options as the normal shadow config in the [layout](./Configuration:-Layout.md) section, so check the documentation there.117+These rules have the same options as the normal [`shadow` config in the layout section](./Configuration:-Layout.md#shadow), so check the documentation there.
119 118
120 Unlike window shadows, layer surface shadows always need to be enabled with a layer rule.119 Unlike window shadows, layer surface shadows always need to be enabled with a layer rule.
121 That is, enabling shadows in the layout config section won't automatically enable them for layer surfaces.120 That is, enabling shadows in the layout config section won't automatically enable them for layer surfaces.
wiki/Configuration:-Layout.mdmodified+5 -5
@@ -208,7 +208,7 @@ layout {
208 > `default-column-width {}` causes niri to send a (0, H) size in the initial configure request.208 > `default-column-width {}` causes niri to send a (0, H) size in the initial configure request.
209 >209 >
210 > This is a bit [unclearly defined](https://gitlab.freedesktop.org/wayland/wayland-protocols/-/issues/155) in the Wayland protocol, so some clients may misinterpret it.210 > This is a bit [unclearly defined](https://gitlab.freedesktop.org/wayland/wayland-protocols/-/issues/155) in the Wayland protocol, so some clients may misinterpret it.
211-> Either way, `default-column-width {}` is most useful for specific windows, in form of a [window rule](https://github.com/YaLTeR/niri/wiki/Configuration:-Window-Rules) with the same syntax.211+> Either way, `default-column-width {}` is most useful for specific windows, in form of a [window rule](./Configuration:-Window-Rules.md#default-column-width) with the same syntax.
212 212
213 ### `preset-window-heights`213 ### `preset-window-heights`
214 214
@@ -249,10 +249,10 @@ The difference is that the focus ring is drawn only around the active window, wh
249 > That is, they will show up through semitransparent windows.249 > That is, they will show up through semitransparent windows.
250 > This is because windows using client-side decorations can have an arbitrary shape.250 > This is because windows using client-side decorations can have an arbitrary shape.
251 >251 >
252-> If you don't like that, you should uncomment the `prefer-no-csd` setting at the [top level](./Configuration:-Miscellaneous.md) of the config.252+> If you don't like that, you should uncomment the [`prefer-no-csd` setting](./Configuration:-Miscellaneous.md#prefer-no-csd) at the top level of the config.
253 > Niri will draw focus rings and borders *around* windows that agree to omit their client-side decorations.253 > Niri will draw focus rings and borders *around* windows that agree to omit their client-side decorations.
254 >254 >
255-> Alternatively, you can override this behavior with the `draw-border-with-background` [window rule](https://github.com/YaLTeR/niri/wiki/Configuration:-Window-Rules).255+> Alternatively, you can override this behavior with the [`draw-border-with-background` window rule](./Configuration:-Window-Rules.md#draw-border-with-background).
256 256
257 Focus ring and border have the following options.257 Focus ring and border have the following options.
258 258
@@ -312,7 +312,7 @@ Similarly to colors, you can set `active-gradient` and `inactive-gradient`, whic
312 312
313 Gradients are rendered the same as CSS [`linear-gradient(angle, from, to)`](https://developer.mozilla.org/en-US/docs/Web/CSS/gradient/linear-gradient).313 Gradients are rendered the same as CSS [`linear-gradient(angle, from, to)`](https://developer.mozilla.org/en-US/docs/Web/CSS/gradient/linear-gradient).
314 The angle works the same as in `linear-gradient`, and is optional, defaulting to `180` (top-to-bottom gradient).314 The angle works the same as in `linear-gradient`, and is optional, defaulting to `180` (top-to-bottom gradient).
315-You can use any CSS linear-gradient tool on the web to set these up, like [this one](https://www.css-gradient.com/).315+You can use any CSS linear-gradient tool on the web to set these up, like [css-gradient.com](https://www.css-gradient.com/).
316 316
317 ```kdl317 ```kdl
318 layout {318 layout {
@@ -388,7 +388,7 @@ These will also remove client-side shadows if the window draws any.
388 388
389 `inactive-color` lets you override the shadow color for inactive windows; by default, a more transparent `color` is used.389 `inactive-color` lets you override the shadow color for inactive windows; by default, a more transparent `color` is used.
390 390
391-Shadow drawing will follow the window corner radius set with the `geometry-corner-radius` [window rule](https://github.com/YaLTeR/niri/wiki/Configuration:-Window-Rules).391+Shadow drawing will follow the window corner radius set with the [`geometry-corner-radius` window rule](./Configuration:-Window-Rules.md#geometry-corner-radius).
392 392
393 > [!NOTE]393 > [!NOTE]
394 > Currently, shadow drawing only supports matching radius for all corners. If you set `geometry-corner-radius` to four values instead of one, the first (top-left) corner radius will be used for shadows.394 > Currently, shadow drawing only supports matching radius for all corners. If you set `geometry-corner-radius` to four values instead of one, the first (top-left) corner radius will be used for shadows.
wiki/Configuration:-Miscellaneous.mdmodified+2 -3
@@ -40,7 +40,7 @@ Add lines like this to spawn processes at niri startup.
40 40
41 `spawn-at-startup` accepts a path to the program binary as the first argument, followed by arguments to the program.41 `spawn-at-startup` accepts a path to the program binary as the first argument, followed by arguments to the program.
42 42
43-This option works the same way as the `spawn` key binding action, so please read about all its subtleties on the [key bindings](./Configuration:-Key-Bindings.md) page.43+This option works the same way as the [`spawn` key binding action](./Configuration:-Key-Bindings.md#spawn), so please read about all its subtleties there.
44 44
45 ```kdl45 ```kdl
46 spawn-at-startup "waybar"46 spawn-at-startup "waybar"
@@ -170,5 +170,4 @@ hotkey-overlay {
170 }170 }
171 ```171 ```
172 172
173-You can customize which binds the hotkey overlay shows using the `hotkey-overlay-title` property.173+You can customize which binds the hotkey overlay shows using the [`hotkey-overlay-title` property](./Configuration:-Key-Bindings.md#custom-hotkey-overlay-titles).
174-Check the [key bindings](./Configuration:-Key-Bindings.md) wiki page for details.
wiki/Configuration:-Outputs.mdmodified+1 -1
@@ -143,7 +143,7 @@ You can check whether an output supports VRR in `niri msg outputs`.
143 > [!NOTE]143 > [!NOTE]
144 > Some drivers have various issues with VRR.144 > Some drivers have various issues with VRR.
145 >145 >
146-> If the cursor moves at a low framerate with VRR, try setting the `disable-cursor-plane` [debug flag](./Configuration:-Debug-Options.md) and reconnecting the monitor.146+> If the cursor moves at a low framerate with VRR, try setting the [`disable-cursor-plane` debug flag](./Configuration:-Debug-Options.md#disable-cursor-plane) and reconnecting the monitor.
147 >147 >
148 > If a monitor is not detected as VRR-capable when it should, sometimes unplugging a different monitor fixes it.148 > If a monitor is not detected as VRR-capable when it should, sometimes unplugging a different monitor fixes it.
149 >149 >
wiki/Configuration:-Overview.mdmodified+1 -1
@@ -131,7 +131,7 @@ output "eDP-1" {
131 ### Defaults131 ### Defaults
132 132
133 Omitting most of the sections of the config file will leave you with the default values for that section.133 Omitting most of the sections of the config file will leave you with the default values for that section.
134-A notable exception is `binds {}`: they do not get filled with defaults, so make sure you do not erase this section.134+A notable exception is [`binds {}`](./Configuration:-Key-Bindings.md): they do not get filled with defaults, so make sure you do not erase this section.
135 135
136 ### Breaking Change Policy136 ### Breaking Change Policy
137 137
wiki/Configuration:-Switch-Events.mdmodified+1 -1
@@ -16,7 +16,7 @@ switch-events {
16 ```16 ```
17 17
18 The syntax is similar to key bindings.18 The syntax is similar to key bindings.
19-Currently, only the `spawn` action are supported.19+Currently, only the [`spawn` action](./Configuration:-Key-Bindings.md#spawn) are supported.
20 20
21 > [!NOTE]21 > [!NOTE]
22 > In contrast to key bindings, switch event bindings are *always* executed, even when the session is locked.22 > In contrast to key bindings, switch event bindings are *always* executed, even when the session is locked.
wiki/Configuration:-Window-Rules.mdmodified+9 -9
@@ -481,7 +481,7 @@ You can block out windows from xdg-desktop-portal screencasts.
481 They will be replaced with solid black rectangles.481 They will be replaced with solid black rectangles.
482 482
483 This can be useful for password managers or messenger windows, etc.483 This can be useful for password managers or messenger windows, etc.
484-For layer-shell notification pop-ups and the like, you can use a `block-out-from` [layer rule](./Configuration:-Layer-Rules.md).484+For layer-shell notification pop-ups and the like, you can use a [`block-out-from` layer rule](./Configuration:-Layer-Rules.md#block-out-from).
485 485
486 ![Screenshot showing a window visible normally, but blocked out on OBS.](./img/block-out-from-screencast.png)486 ![Screenshot showing a window visible normally, but blocked out on OBS.](./img/block-out-from-screencast.png)
487 487
@@ -547,7 +547,7 @@ Opacity is applied to every surface of the window individually, so subsurfaces a
547 547
548 Also, focus ring and border with background will show through semitransparent windows (see `prefer-no-csd` and the `draw-border-with-background` window rule below).548 Also, focus ring and border with background will show through semitransparent windows (see `prefer-no-csd` and the `draw-border-with-background` window rule below).
549 549
550-Opacity can be toggled on or off for a window using the [`toggle-window-rule-opacity`](./Configuration:-Key-Bindings.md) action.550+Opacity can be toggled on or off for a window using the [`toggle-window-rule-opacity`](./Configuration:-Key-Bindings.md#toggle-window-rule-opacity) action.
551 551
552 ```kdl552 ```kdl
553 // Make inactive windows semitransparent.553 // Make inactive windows semitransparent.
@@ -657,7 +657,7 @@ window-rule {
657 657
658 Set a scroll factor for all scroll events sent to a window.658 Set a scroll factor for all scroll events sent to a window.
659 659
660-This will be multiplied with the scroll factor set for your input device in the [input](/wiki/Configuration:-Input.md) section.660+This will be multiplied with the scroll factor set for your input device in the [input section](/wiki/Configuration:-Input.md#pointing-devices).
661 661
662 ```kdl662 ```kdl
663 // Make scrolling in Firefox a bit slower.663 // Make scrolling in Firefox a bit slower.
@@ -693,7 +693,7 @@ window-rule {
693 693
694 Override the focus ring and border options for the window.694 Override the focus ring and border options for the window.
695 695
696-These rules have the same options as the normal focus ring and border config in the [layout](./Configuration:-Layout.md) section, so check the documentation there.696+These rules have the same options as the normal [`focus-ring` and `border` config in the layout section](./Configuration:-Layout.md#focus-ring-and-border), so check the documentation there.
697 697
698 However, in addition to `off` to disable the border/focus ring, this window rule has an `on` flag that enables the border/focus ring for the window even if it was otherwise disabled.698 However, in addition to `off` to disable the border/focus ring, this window rule has an `on` flag that enables the border/focus ring for the window even if it was otherwise disabled.
699 The `on` flag has precedence over the `off` flag, in case both are set.699 The `on` flag has precedence over the `off` flag, in case both are set.
@@ -720,7 +720,7 @@ window-rule {
720 720
721 Override the shadow options for the window.721 Override the shadow options for the window.
722 722
723-This rule has the same options as the normal shadow config in the [layout](./Configuration:-Layout.md) section, so check the documentation there.723+This rule has the same options as the normal [`shadow` config in the layout section](./Configuration:-Layout.md#shadow), so check the documentation there.
724 724
725 However, in addition to `on` to enable the shadow, this window rule has an `off` flag that disables the shadow for the window even if it was otherwise enabled.725 However, in addition to `on` to enable the shadow, this window rule has an `off` flag that disables the shadow for the window even if it was otherwise enabled.
726 The `on` flag has precedence over the `off` flag, in case both are set.726 The `on` flag has precedence over the `off` flag, in case both are set.
@@ -742,7 +742,7 @@ window-rule {
742 742
743 Override the tab indicator options for the window.743 Override the tab indicator options for the window.
744 744
745-Options in this rule match the same options as the normal tab indicator config in the [layout](./Configuration:-Layout.md) section, so check the documentation there.745+Options in this rule match the same options as the normal [`tab-indicator` config in the layout section](./Configuration:-Layout.md#tab-indicator), so check the documentation there.
746 746
747 ```kdl747 ```kdl
748 // Make KeePassXC tab have a dark red inactive color.748 // Make KeePassXC tab have a dark red inactive color.
@@ -762,7 +762,7 @@ window-rule {
762 Set the corner radius of the window.762 Set the corner radius of the window.
763 763
764 On its own, this setting will only affect the border and the focus ring—they will round their corners to match the geometry corner radius.764 On its own, this setting will only affect the border and the focus ring—they will round their corners to match the geometry corner radius.
765-If you'd like to force-round the corners of the window itself, set `clip-to-geometry true` in addition to this setting.765+If you'd like to force-round the corners of the window itself, set [`clip-to-geometry true`](#clip-to-geometry) in addition to this setting.
766 766
767 ```kdl767 ```kdl
768 window-rule {768 window-rule {
@@ -803,7 +803,7 @@ window-rule {
803 }803 }
804 ```804 ```
805 805
806-Enable border, set `geometry-corner-radius` and `clip-to-geometry`, and you've got a classic setup:806+Enable border, set [`geometry-corner-radius`](#geometry-corner-radius) and `clip-to-geometry`, and you've got a classic setup:
807 807
808 ![](./img/border-radius-clip.png)808 ![](./img/border-radius-clip.png)
809 809
@@ -834,7 +834,7 @@ Informs the window that it is tiled.
834 Usually, windows will react by becoming rectangular and hiding their client-side shadows.834 Usually, windows will react by becoming rectangular and hiding their client-side shadows.
835 Windows that snap their size to a grid (e.g. terminals like [foot](https://codeberg.org/dnkl/foot)) will usually disable this snapping when they are tiled.835 Windows that snap their size to a grid (e.g. terminals like [foot](https://codeberg.org/dnkl/foot)) will usually disable this snapping when they are tiled.
836 836
837-By default, niri will set the tiled state to `true` together with [`prefer-no-csd`](./Configuration:-Miscellaneous.md) in order to improve behavior for apps that don't support server-side decorations.837+By default, niri will set the tiled state to `true` together with [`prefer-no-csd`](./Configuration:-Miscellaneous.md#prefer-no-csd) in order to improve behavior for apps that don't support server-side decorations.
838 You can use this window rule to override this, for example to get rectangular windows with CSD.838 You can use this window rule to override this, for example to get rectangular windows with CSD.
839 839
840 ```kdl840 ```kdl
wiki/Animation-Timing.md → wiki/Development:-Animation-Timing.mdrenamed+0 -0
wiki/Design-Principles.md → wiki/Development:-Design-Principles.mdrenamed+0 -0
wiki/Developing-niri.md → wiki/Development:-Developing-niri.mdrenamed+0 -0
wiki/Fractional-Layout.md → wiki/Development:-Fractional-Layout.mdrenamed+0 -0
wiki/Redraw-Loop.md → wiki/Development:-Redraw-Loop.mdrenamed+0 -0
wiki/Example-systemd-Setup.mdmodified+1 -1
@@ -2,7 +2,7 @@ When starting niri from a display manager like GDM, or otherwise through the `ni
2 This provides the necessary systemd integration to run programs like `mako` and services like `xdg-desktop-portal` bound to the graphical session.2 This provides the necessary systemd integration to run programs like `mako` and services like `xdg-desktop-portal` bound to the graphical session.
3 3
4 Here's an example on how you might set up [`mako`](https://github.com/emersion/mako), [`waybar`](https://github.com/Alexays/Waybar), [`swaybg`](https://github.com/swaywm/swaybg) and [`swayidle`](https://github.com/swaywm/swayidle) to run as systemd services with niri.4 Here's an example on how you might set up [`mako`](https://github.com/emersion/mako), [`waybar`](https://github.com/Alexays/Waybar), [`swaybg`](https://github.com/swaywm/swaybg) and [`swayidle`](https://github.com/swaywm/swayidle) to run as systemd services with niri.
5-In contrast to the `spawn-at-startup` config option, this lets you easily monitor their status and output, and restart or reload them.5+In contrast to [`spawn-at-startup`](./Configuration:-Miscellaneous.md#spawn-at-startup), this lets you easily monitor their status and output, and restart or reload them.
6 6
7 1. Install them, i.e. `sudo dnf install mako waybar swaybg swayidle`7 1. Install them, i.e. `sudo dnf install mako waybar swaybg swayidle`
8 2. Create a `niri.service.wants` folder: `mkdir -p ~/.config/systemd/user/niri.service.wants`8 2. Create a `niri.service.wants` folder: `mkdir -p ~/.config/systemd/user/niri.service.wants`
wiki/FAQ.mdmodified+4 -4
@@ -1,6 +1,6 @@
1 ### How to disable client-side decorations/make windows rectangular?1 ### How to disable client-side decorations/make windows rectangular?
2 2
3-Uncomment the `prefer-no-csd` setting at the [top level](./Configuration:-Miscellaneous.md) of the config, and then restart your apps.3+Uncomment the [`prefer-no-csd` setting](./Configuration:-Miscellaneous.md#prefer-no-csd) at the top level of the config, and then restart your apps.
4 Then niri will ask windows to omit client-side decorations, and also inform them that they are being tiled (which makes some windows rectangular, even if they cannot omit the decorations).4 Then niri will ask windows to omit client-side decorations, and also inform them that they are being tiled (which makes some windows rectangular, even if they cannot omit the decorations).
5 5
6 Note that currently this will prevent edge window resize handles from showing up.6 Note that currently this will prevent edge window resize handles from showing up.
@@ -8,14 +8,14 @@ You can still resize windows by holding <kbd>Mod</kbd> and the right mouse butto
8 8
9 ### Why is the border/focus ring showing up through semitransparent windows?9 ### Why is the border/focus ring showing up through semitransparent windows?
10 10
11-Uncomment the `prefer-no-csd` setting at the [top level](./Configuration:-Miscellaneous.md) of the config, and then restart your apps.11+Uncomment the [`prefer-no-csd` setting](./Configuration:-Miscellaneous.md#prefer-no-csd) at the top level of the config, and then restart your apps.
12 Niri will draw focus rings and borders *around* windows that agree to omit their client-side decorations.12 Niri will draw focus rings and borders *around* windows that agree to omit their client-side decorations.
13 13
14 By default, focus ring and border are rendered as a solid background rectangle behind windows.14 By default, focus ring and border are rendered as a solid background rectangle behind windows.
15 That is, they will show up through semitransparent windows.15 That is, they will show up through semitransparent windows.
16 This is because windows using client-side decorations can have an arbitrary shape.16 This is because windows using client-side decorations can have an arbitrary shape.
17 17
18-You can also override this behavior with the `draw-border-with-background` [window rule](./Configuration:-Window-Rules.md).18+You can also override this behavior with the [`draw-border-with-background` window rule](./Configuration:-Window-Rules.md#draw-border-with-background).
19 19
20 ### How to enable rounded corners for all windows?20 ### How to enable rounded corners for all windows?
21 21
@@ -28,7 +28,7 @@ window-rule {
28 }28 }
29 ```29 ```
30 30
31-For more information, check [this wiki section](https://github.com/YaLTeR/niri/wiki/Configuration:-Window-Rules#geometry-corner-radius).31+For more information, check the [`geometry-corner-radius` window rule](./Configuration:-Window-Rules.md#geometry-corner-radius).
32 32
33 ### How to hide the "Important Hotkeys" pop-up at the start?33 ### How to hide the "Important Hotkeys" pop-up at the start?
34 34
wiki/Gestures.mdmodified+1 -1
@@ -12,7 +12,7 @@ Also see the [gestures configuration](./Configuration:-Gestures.md) wiki page.
12 12
13 You can move windows by holding <kbd>Mod</kbd> and the left mouse button.13 You can move windows by holding <kbd>Mod</kbd> and the left mouse button.
14 14
15-You can customize the look of the window insertion preview in the `insert-hint` [layout config](./Configuration:-Layout.md) section.15+You can customize the look of the window insertion preview in the [`insert-hint` layout config](./Configuration:-Layout.md#insert-hint).
16 16
17 <sup>Since: 25.01</sup> Right click while moving to toggle between floating and tiling layout to put the window into.17 <sup>Since: 25.01</sup> Right click while moving to toggle between floating and tiling layout to put the window into.
18 18
wiki/Important-Software.mdmodified+3 -3
@@ -2,7 +2,7 @@ Since niri is not a complete desktop environment, you will very likely want to r
2 2
3 ### Notification Daemon3 ### Notification Daemon
4 4
5-Many apps need one. For example, [mako](https://github.com/emersion/mako) works well. Use [a systemd setup](./Example-systemd-Setup.md) or `spawn-at-startup`.5+Many apps need one. For example, [mako](https://github.com/emersion/mako) works well. Use [a systemd setup](./Example-systemd-Setup.md) or [`spawn-at-startup`](./Configuration:-Miscellaneous.md#spawn-at-startup).
6 6
7 ### Portals7 ### Portals
8 8
@@ -14,7 +14,7 @@ Portals **require** [running niri as a session](./Getting-Started.md), which mea
14 * `xdg-desktop-portal-gnome`: required for screencasting support.14 * `xdg-desktop-portal-gnome`: required for screencasting support.
15 * `gnome-keyring`: implements the Secret portal, required for certain apps to work.15 * `gnome-keyring`: implements the Secret portal, required for certain apps to work.
16 16
17-Then systemd should start them on-demand automatically. These particular portals are configured in `niri-portals.conf` which [must be installed](https://github.com/YaLTeR/niri/wiki/Getting-Started#installation) in the correct location.17+Then systemd should start them on-demand automatically. These particular portals are configured in `niri-portals.conf` which [must be installed](./Getting-Started.md#manual-installation) in the correct location.
18 18
19 Since we're using `xdg-desktop-portal-gnome`, Flatpak apps will read the GNOME UI settings. For example, to enable the dark style, run:19 Since we're using `xdg-desktop-portal-gnome`, Flatpak apps will read the GNOME UI settings. For example, to enable the dark style, run:
20 20
@@ -24,7 +24,7 @@ dconf write /org/gnome/desktop/interface/color-scheme '"prefer-dark"'
24 24
25 ### Authentication Agent25 ### Authentication Agent
26 26
27-Required when apps need to ask for root permissions. Something like `plasma-polkit-agent` works fine. Start it [with systemd](./Example-systemd-Setup.md) or with `spawn-at-startup`.27+Required when apps need to ask for root permissions. Something like `plasma-polkit-agent` works fine. Start it [with systemd](./Example-systemd-Setup.md) or with [`spawn-at-startup`](./Configuration:-Miscellaneous.md#spawn-at-startup).
28 28
29 Note that to start `plasma-polkit-agent` with systemd on Fedora, you'll need to override its systemd service to add the correct dependency. Run:29 Note that to start `plasma-polkit-agent` with systemd on Fedora, you'll need to override its systemd service to add the correct dependency. Run:
30 30
wiki/Tabs.mdmodified+1 -1
@@ -24,7 +24,7 @@ Unlike regular columns, tabbed columns can go full-screen with multiple windows.
24 Tabbed columns show a tab indicator on the side.24 Tabbed columns show a tab indicator on the side.
25 You can click on the indicator to switch tabs.25 You can click on the indicator to switch tabs.
26 26
27-See the `tab-indicator` section in the [layout](./Configuration:-Layout.md) options to configure it.27+See the [`tab-indicator` section in the layout section](./Configuration:-Layout.md#tab-indicator) to configure it.
28 28
29 By default, the indicator draws "outside" the column, so it can overlay other windows or go off-screen.29 By default, the indicator draws "outside" the column, so it can overlay other windows or go off-screen.
30 The `place-within-column` flag puts the indicator "inside" the column, adjusting the window size to make space for it.30 The `place-within-column` flag puts the indicator "inside" the column, adjusting the window size to make space for it.
wiki/Xwayland.mdmodified+2 -2
@@ -17,7 +17,7 @@ env DISPLAY=:0 flatpak run com.valvesoftware.Steam
17 17
18 ![xwayland-satellite running Steam and Half-Life.](https://github.com/user-attachments/assets/57db8f96-40d4-4621-a389-373c169349a4)18 ![xwayland-satellite running Steam and Half-Life.](https://github.com/user-attachments/assets/57db8f96-40d4-4621-a389-373c169349a4)
19 19
20-You can also automatically run it at startup, and set `DISPLAY` by default for all apps by adding it to the `environment` section of the niri config:20+You can also automatically run it at startup, and set `DISPLAY` by default for all apps by adding it to the [`environment`](./Configuration:-Miscellaneous.md#environment) section of the niri config:
21 21
22 ```kdl22 ```kdl
23 spawn-at-startup "xwayland-satellite"23 spawn-at-startup "xwayland-satellite"
@@ -31,7 +31,7 @@ environment {
31 31
32 > [!NOTE]32 > [!NOTE]
33 > If the `:0` DISPLAY is already taken (for example, by some other Xwayland server like `xwayland-run`), `xwayland-satellite` will try the next DISPLAY numbers in order: `:1`, `:2`, etc. and tell you which one it used in its output.33 > If the `:0` DISPLAY is already taken (for example, by some other Xwayland server like `xwayland-run`), `xwayland-satellite` will try the next DISPLAY numbers in order: `:1`, `:2`, etc. and tell you which one it used in its output.
34-> Then, you will need to use that DISPLAY number for the `env` command or for the niri `environment` block.34+> Then, you will need to use that DISPLAY number for the `env` command or for the niri [`environment`](./Configuration:-Miscellaneous.md#environment) section.
35 >35 >
36 > You can also force a specific DISPLAY number like so: `xwayland-satellite :12` will start on `DISPLAY=:12`.36 > You can also force a specific DISPLAY number like so: `xwayland-satellite :12` will start on `DISPLAY=:12`.
37 37
wiki/_Sidebar.mdmodified+5 -5
@@ -28,8 +28,8 @@
28 * [Debug Options](./Configuration:-Debug-Options.md)28 * [Debug Options](./Configuration:-Debug-Options.md)
29 29
30 ## Development30 ## Development
31-* [Design Principles](./Design-Principles.md)31+* [Design Principles](./Development:-Design-Principles.md)
32-* [Developing niri](./Developing-niri.md)32+* [Developing niri](./Development:-Developing-niri.md)
33-* [Fractional Layout](./Fractional-Layout.md)33+* [Fractional Layout](./Development:-Fractional-Layout.md)
34-* [Redraw Loop](./Redraw-Loop.md)34+* [Redraw Loop](./Development:-Redraw-Loop.md)
35-* [Animation Timing](./Animation-Timing.md)35+* [Animation Timing](./Development:-Animation-Timing.md)