mirror of
https://github.com/YaLTeR/niri.git
synced 2024-10-03 23:43:26 +03:00
Add install location instructions for manual installation (#489)
* wiki: Update install location instructions Provide file install destinations for both packages and manual installations. * wiki: split install instructions into two sections * Update wiki/Getting-Started.md Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com> * Update wiki/Getting-Started.md Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com> * Update wiki/Getting-Started.md Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com> * Update wiki/Getting-Started.md Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com> * Update wiki/Getting-Started.md Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com> --------- Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
This commit is contained in:
parent
105938df0b
commit
c681198179
@ -164,9 +164,9 @@ If you're not on NixOS, you may need [NixGL](https://github.com/nix-community/ni
|
|||||||
nix run --impure github:guibou/nixGL -- ./results/bin/niri
|
nix run --impure github:guibou/nixGL -- ./results/bin/niri
|
||||||
```
|
```
|
||||||
|
|
||||||
### Installation
|
### Packaging
|
||||||
|
|
||||||
The recommended way to install and run niri is as a standalone desktop session.
|
The recommended way to package niri is so that it runs as a standalone desktop session.
|
||||||
To do that, put files into the correct directories according to this table.
|
To do that, put files into the correct directories according to this table.
|
||||||
|
|
||||||
| File | Destination |
|
| File | Destination |
|
||||||
@ -180,5 +180,20 @@ To do that, put files into the correct directories according to this table.
|
|||||||
|
|
||||||
Doing this will make niri appear in GDM and other display managers.
|
Doing this will make niri appear in GDM and other display managers.
|
||||||
|
|
||||||
|
### Manual Installation
|
||||||
|
|
||||||
|
If installing directly without a package, the recommended file destinations are slightly different.
|
||||||
|
In this case, put the files in the directories indicated in the table below.
|
||||||
|
These may vary depending on your distribution.
|
||||||
|
|
||||||
|
| File | Destination |
|
||||||
|
| ---- | ----------- |
|
||||||
|
| `target/release/niri` | `/usr/local/bin/` |
|
||||||
|
| `resources/niri-session` | `/usr/local/bin/` |
|
||||||
|
| `resources/niri.desktop` | `/usr/local/share/wayland-sessions/` |
|
||||||
|
| `resources/niri-portals.conf` | `/usr/local/share/xdg-desktop-portal/` |
|
||||||
|
| `resources/niri.service` | `/etc/systemd/user/` |
|
||||||
|
| `resources/niri-shutdown.target` | `/etc/systemd/user/` |
|
||||||
|
|
||||||
[Alacritty]: https://github.com/alacritty/alacritty
|
[Alacritty]: https://github.com/alacritty/alacritty
|
||||||
[fuzzel]: https://codeberg.org/dnkl/fuzzel
|
[fuzzel]: https://codeberg.org/dnkl/fuzzel
|
||||||
|
Loading…
Reference in New Issue
Block a user