aboutsummaryrefslogtreecommitdiff
path: root/wiki/Getting-Started.md
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2025-01-11 08:59:22 +0300
committerIvan Molodetskikh <yalterz@gmail.com>2025-01-11 08:59:39 +0300
commit2261fcb63108b77ec6cdbe251f747505802b5917 (patch)
tree01ef5e7bb31a4fcf556f19ffcb3a2ba1d3aa42d4 /wiki/Getting-Started.md
parent279c8b6aa29e8e5692aa6f56f0721a11134ca42b (diff)
downloadniri-2261fcb63108b77ec6cdbe251f747505802b5917.tar.gz
niri-2261fcb63108b77ec6cdbe251f747505802b5917.tar.bz2
niri-2261fcb63108b77ec6cdbe251f747505802b5917.zip
wiki: Add Packaging niri page
Diffstat (limited to 'wiki/Getting-Started.md')
-rw-r--r--wiki/Getting-Started.md20
1 files changed, 1 insertions, 19 deletions
diff --git a/wiki/Getting-Started.md b/wiki/Getting-Started.md
index 22a5b907..6637de0c 100644
--- a/wiki/Getting-Started.md
+++ b/wiki/Getting-Started.md
@@ -1,6 +1,6 @@
The easiest way to get niri is to install one of the distribution packages.
Here are some of them: [Fedora COPR](https://copr.fedorainfracloud.org/coprs/yalter/niri/) and [nightly COPR](https://copr.fedorainfracloud.org/coprs/yalter/niri-git/) (which I maintain myself), [NixOS Flake](https://github.com/sodiboo/niri-flake), and some more from repology below.
-See the [Building](#building) section if you'd like to compile niri yourself.
+See the [Building](#building) section if you'd like to compile niri yourself and the [Packaging niri](./Packaging-niri.md) page if you want to package niri.
[![Packaging status](https://repology.org/badge/vertical-allrepos/niri.svg)](https://repology.org/project/niri/versions)
@@ -160,24 +160,6 @@ 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
```
-### Packaging
-
-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.
-
-| File | Destination |
-| ---- | ----------- |
-| `target/release/niri` | `/usr/bin/` |
-| `resources/niri-session` | `/usr/bin/` |
-| `resources/niri.desktop` | `/usr/share/wayland-sessions/` |
-| `resources/niri-portals.conf` | `/usr/share/xdg-desktop-portal/` |
-| `resources/niri.service` (systemd) | `/usr/lib/systemd/user/` |
-| `resources/niri-shutdown.target` (systemd) | `/usr/lib/systemd/user/` |
-| `resources/dinit/niri` (dinit) | `/usr/lib/dinit.d/user/` |
-| `resources/dinit/niri-shutdown` (dinit) | `/usr/lib/dinit.d/user/` |
-
-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.