aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2023-11-12 20:19:44 +0400
committerIvan Molodetskikh <yalterz@gmail.com>2023-11-12 20:19:44 +0400
commitf1b6941736893df86a1f13fe1eba9d6c37052331 (patch)
treea1467855cf57d412812ca8df2ccefcc8f337000c
parent00806d1f082d19728381c5a35fc0c04edb71c8dc (diff)
downloadniri-f1b6941736893df86a1f13fe1eba9d6c37052331.tar.gz
niri-f1b6941736893df86a1f13fe1eba9d6c37052331.tar.bz2
niri-f1b6941736893df86a1f13fe1eba9d6c37052331.zip
List dependencies in README.md
-rw-r--r--README.md21
1 files changed, 21 insertions, 0 deletions
diff --git a/README.md b/README.md
index 992da7b6..89a6320f 100644
--- a/README.md
+++ b/README.md
@@ -31,6 +31,27 @@ Every monitor has an independent set of workspaces, and there's always one empty
Niri tries to preserve the workspace arrangement as much as possible upon disconnecting and connecting monitors.
When a monitor disconnects, its workspaces will move to another monitor, but upon reconnection they will move back to the original monitor.
+## Building
+
+First, install the dependencies for your distribution.
+
+- Ubuntu:
+
+ ```sh
+ sudo apt-get install -y software-properties-common
+ sudo add-apt-repository -y ppa:pipewire-debian/pipewire-upstream
+ sudo apt-get update -y
+ sudo apt-get install -y libudev-dev libgbm-dev libxkbcommon-dev libegl1-mesa-dev libwayland-dev libinput-dev libdbus-1-dev libsystemd-dev libseat-dev libpipewire-0.3-dev
+ ```
+
+- Fedora:
+
+ ```sh
+ sudo dnf install gcc libudev-devel libgbm-devel libxkbcommon-devel wayland-devel libinput-devel dbus-devel systemd-devel libseat-devel pipewire-devel clang
+ ```
+
+Next, build niri with `cargo build --release`.
+
## Installation
The recommended way to install and run niri is as a standalone desktop session.