CorrosionWM is a blazing fast Wayland compositor written in Rust.
Join our Discord!
- Can display simple applications
- Can launch from display manager (WIP)
- NVIDIA support (will be buggy due to this (see "NVIDIA"), and will likely need nouveau drivers)
- Can launch popups
- Can launch from TTY (kind of)
To contribute your own code, start by forking this project and installing the necessary dependencies listed below.
After installing the dependencies, you can build the project with cargo build --release
.
NOTE: A few packages will be downloaded and installed, so the first time may take significantly longer than subsequent builds.
The binary will be created in ./target/release/
, named corrosionwm
.
๐ก You can also use
cargo run --release
to run the project!
You can now edit the source code and rebuild the project.
Test your changes by running the corrosionwm
file.
When you have finished making all of your changes, commit them using Git and create a pull request.
sudo apt install libudev-dev libdbus-1-dev pkg-config libsystemd-dev libwayland-dev libseat-dev xcb libinput-dev libxkbcommon-dev libglvnd-dev
NOTE! This has not been tested yet! If we missed one please let us know!
sudo pacman -Syu wayland wayland-protocols libinput libxkbcommon libglvnd seatd dbus-glib
The dependencies are provided in shell.nix, and you can easily make a nix-shell environment with the dependenices installed by executing the following command in the cloned repository directory:
nix-shell