forge
Explore
Log in

Don't you dare go Hollow

List dependencies in README.md

Browse files at this commit

f1b6941736893df86a1f13fe1eba9d6c37052331Ivan MolodetskikhParent: 00806d1
README.mdmodified+21 -0
@@ -31,6 +31,27 @@ Every monitor has an independent set of workspaces, and there's always one empty
31 Niri tries to preserve the workspace arrangement as much as possible upon disconnecting and connecting monitors.31 Niri tries to preserve the workspace arrangement as much as possible upon disconnecting and connecting monitors.
32 When a monitor disconnects, its workspaces will move to another monitor, but upon reconnection they will move back to the original monitor.32 When a monitor disconnects, its workspaces will move to another monitor, but upon reconnection they will move back to the original monitor.
33 33
34+## Building
35+
36+First, install the dependencies for your distribution.
37+
38+- Ubuntu:
39+
40+ ```sh
41+ sudo apt-get install -y software-properties-common
42+ sudo add-apt-repository -y ppa:pipewire-debian/pipewire-upstream
43+ sudo apt-get update -y
44+ 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
45+ ```
46+
47+- Fedora:
48+
49+ ```sh
50+ sudo dnf install gcc libudev-devel libgbm-devel libxkbcommon-devel wayland-devel libinput-devel dbus-devel systemd-devel libseat-devel pipewire-devel clang
51+ ```
52+
53+Next, build niri with `cargo build --release`.
54+
34 ## Installation55 ## Installation
35 56
36 The recommended way to install and run niri is as a standalone desktop session.57 The recommended way to install and run niri is as a standalone desktop session.