- Rust 94.1%
- Shell 3.4%
- Python 1.3%
- CSS 0.7%
- HTML 0.3%
- Other 0.2%
caelestia-niri
A desktop shell for the niri compositor, written in Rust. It is a port of caelestia-kde, itself a port of caelestia-dots/shell: the bar, drawers, dashboard, launcher, lock screen, notifications and settings, with colours taken from your wallpaper.
| Dashboard | Settings |
|---|---|
![]() |
![]() |
What is in it
- Bar and panels: workspaces, tray, status icons, media, and panels of your own, floating or attached to the border.
- Dashboard: calendar, media with lyrics, performance, weather, notes and a small terminal.
- Launcher: apps, clipboard history, calculator, schemes, and a row of wallpapers.
- Nexus: the settings app. No other settings app is needed.
- Windows: Mod and the arrows snap windows on niri's own layout, and four corners make a 2×2 grid.
- Screen capture: region, window, screen, scrolling capture, text, GIF and recording.
- Also: notifications and toasts, a lock screen, desktop widgets and icons, game mode, task manager, colour picker, QR codes, Discord presence.
Install
Arch is the tested system. Fedora and Debian package names are best effort.
git clone forgejo:astar76/caelestia-niri.git
cd caelestia-niri
./install.sh --dry-run # go through every screen, nothing is changed
./install.sh # the real thing
The installer is a full-screen list of ticks: packages, keybinds, a terminal setup of kitty, fish, fastfetch and starship,
and what a bare niri lacks, such as portals, a keyring and Qt theming. A file it replaces is kept as .bak-caelestia.
Everything installs in one go after one password, and by default it removes the build tools it added when it is done.
./install.sh --yes asks nothing. ./uninstall.sh takes it out again.
Keys
| Keys | Does |
|---|---|
| Mod+Space | Launcher |
| Mod+D, Mod+A, Mod+N | Dashboard, utilities, notifications |
| Mod+Comma | Settings |
| Mod+V, Mod+Y | Clipboard history, wallpapers |
| Mod+X | Session menu |
| Mod+Alt+L | Lock |
| Mod and the arrows | Snap a window. Two arrows make a corner, and opposite arrows centre it |
| Mod+Wheel | Move between windows |
| Mod+Ctrl+Escape | Force quit the window |
| Ctrl+Shift+Escape | Task manager |
| Mod+Shift+C | Colour picker |
| Screen capture |
All of them are in ~/.config/niri/caelestia.kdl, and Nexus has a page to change them.
Where the files are
| What | Where |
|---|---|
Settings (shell.json, cli.json, templates) |
~/.config/niri/caelestia/ |
niri includes (caelestia.kdl, caelestia-binds.kdl, caelestia-windowrules.kdl, ...) |
~/.config/niri/, next to config.kdl |
State (scheme.json, wallpaper, notifications, lock proof) |
~/.local/state/niri-caelestia/ |
| Your data (desktop layout) | ~/.local/share/niri-caelestia/ |
| Cache (lyrics, covers, notification images) | ~/.cache/niri-caelestia/ |
The first start copies an older ~/.config/caelestia, ~/.local/state/caelestia and ~/.local/share/caelestia into these places. The old folders are never changed or deleted, and are read while the new ones are missing. The CLI keeps writing scheme.json to the old state folder too, for apps that read the palette there.
Building by hand
cargo build --release
./target/release/caelestia niri install
./target/release/caelestia shell
Design and status notes are in docs/HANDOFF.md and docs/AUDIT.md.
GPL-3.0-or-later.
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
|
||
| assets | ||
| crates | ||
| docs | ||
| Plans | ||
| scripts | ||
| tools | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| CLAUDE.md | ||
| install.sh | ||
| LICENSE | ||
| logo.svg | ||
| ORCHESTRATOR.md | ||
| PLAN.md | ||
| README.md | ||
| uninstall.sh | ||


