Skip to content

Commit

Permalink
List dependencies in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
YaLTeR committed Nov 12, 2023
1 parent 00806d1 commit f1b6941
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit f1b6941

Please sign in to comment.