A desktop shell for the niri compositor, written in Rust: bar, dashboard, launcher, lock screen and notifications.
  • Rust 94.1%
  • Shell 3.4%
  • Python 1.3%
  • CSS 0.7%
  • HTML 0.3%
  • Other 0.2%
Find a file

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.

The desktop

Dashboard Settings
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: screen sharing and file pickers (portals), a keyring unlocked at login, Qt theming, automount, night light (wlsunset), clipboard history, X11 tray icons, video wallpapers (mpvpaper, off by default) and the lock's PAM file. 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 and takes the default ticks, except the login screen. ./uninstall.sh takes it out again.

Its app pages (terminal, file manager, editor, browser, Discord, music, extras) put apps made to match this shell first, marked recommended and ticked while not installed: Damson (editor), Nacre (browser), Mulberry and Audiphi (music). Each comes from its latest release on Astar Hub and installs into ~/.local with the installer in its archive. They only show when that download answers, so off the hub's network the pages list packages alone.

The lock is the shell's own, but it stays swaylock until you have tried it once with caelestia shell lock preview; the installer offers that at the end when the shell is running.

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
Print 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.

Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-12-02 16:25:55 -06:00
assets S018: shell language from the original's catalogues, Language row switches it 2026-12-01 21:22:02 -06:00
crates S035: nested-niri checks, fix overview corner re-entry, results 2026-12-02 14:36:20 -06:00
docs S036: partial: dock and workspace menu nested checks, results, one bug found 2026-12-02 14:54:41 -06:00
Plans S036: partial: dock and workspace menu nested checks, results, one bug found 2026-12-02 14:54:41 -06:00
scripts Move Astar Hub links to astar76.com 2026-12-02 16:25:55 -06:00
tools S018: shell language from the original's catalogues, Language row switches it 2026-12-01 21:22:02 -06:00
.gitignore Handoff for the next chat: what stands, what is left in order, how to test without touching the user's things, and the prompt in docs/NEXT-CHAT.md. The virtual pointer test tool moves into tools/vptr 2026-11-04 23:26:38 -06:00
Cargo.lock Mod and the arrows snap windows, with chord timing that ignores held keys and slips. A task manager page, QR code popout, and desktop widgets for tasks, colours and QR codes, all on quick toggles. The colour picker gets its key and notification. caelestia.kdl carries the user's keys and niri binds, and caelestia-recommended.kdl their layout, input and animations 2026-11-05 17:56:10 -06:00
Cargo.toml Move Astar Hub links to astar76.com 2026-12-02 16:25:55 -06:00
CLAUDE.md S010: other Nexus pages follow the original: network, audio, apps, about 2026-11-14 18:05:15 -06:00
install.sh Move Astar Hub links to astar76.com 2026-12-02 16:25:55 -06:00
LICENSE caelestia-niri: bar, border and session drawer on niri, CLI with per-app theme switches, Nexus page data extracted from the original 2026-10-30 13:30:22 -05:00
logo.svg caelestia-niri: bar, border and session drawer on niri, CLI with per-app theme switches, Nexus page data extracted from the original 2026-10-30 13:30:22 -05:00
ORCHESTRATOR.md S000: workflow scaffold 2026-11-11 22:28:07 -06:00
PLAN.md plans: test phase S033-S038; S022 and S024 move to 05 Test and release 2026-12-01 22:55:00 -06:00
README.md S027: own apps first and recommended on their installer page, latest release from the hub API 2026-12-01 22:02:48 -06:00
uninstall.sh S019: config, state, data and cache move under the niri folder names, copied once with old-path fallback 2026-12-01 17:39:43 -06:00