Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Relationship to niri

Atrium is a permanent fork of niri, not a tracking branch. Upstream fixes are cherry-picked into the parts that are niri’s; the parts that are Atrium’s own diverge for good.

niri’s: cherry-pick fixes

src/backend/, src/handlers/, src/render_helpers/, src/protocols/, src/utils/. The compositor plumbing. Atrium modifies them only for a bug upstream has not fixed yet, and takes the upstream fix when it lands.

Atrium’s own

src/layout/ (workspace model, TilingLayout, five algorithms), src/ui/, atrium-config/, atrium-ipc/, resources/.

Adapted: touched carefully

src/atrium.rs, src/input/mod.rs, src/ipc/. The bridge between upstream code and the layout. Changes here are surgical: add the action dispatch, do not restructure.

Grafting

Each niri release is triaged commit by commit into four buckets: take (cherry-pick with -x for auditability), adapt (a bug idea that applies to Atrium’s rewritten code, ported by hand), skip (scrolling-layout features, systemd and dinit integration, packaging, CI), or batch. A ledger records the cursor and the standing skips. Selective grafting does not imply that Atrium tracks every current upstream feature or commit.

Smithay

Atrium pins its Smithay fork by revision, including robust-context support for GPU recovery and selected input fixes. The compositor’s Cargo manifest owns the exact pins. A graft that changes the Smithay base must keep the dependency entries consistent and qualify the carried changes.

Names that stay niri’s

Shader uniforms (niri_scale, niri_progress, and the rest) are a public API for custom shaders and are not renamed. Comments citing GitHub issues on niri are historical references and stay. Everything else is atrium: the crate, the Atrium state struct, ATRIUM_* environment variables, ~/.config/atrium/.

Version string

atrium --version identifies the selected executable; atrium msg version queries the running compositor and reports CLI/compositor mismatches. Source builds derive identity from the Cargo package version and commit unless ATRIUM_BUILD_VERSION_STRING supplies an explicit build identity. Do not infer an upstream base or a published release from an example version string.