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, 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
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-01 21:30:53 -06:00
assets S018: shell language from the original's catalogues, Language row switches it 2026-12-01 21:22:02 -06:00
crates S020: dead-row test, overview hot corners toggle niri's overview, game mode rows read, unused capture rows hidden 2026-12-01 21:30:53 -06:00
docs S020: dead-row test, overview hot corners toggle niri's overview, game mode rows read, unused capture rows hidden 2026-12-01 21:30:53 -06:00
Plans S020: dead-row test, overview hot corners toggle niri's overview, game mode rows read, unused capture rows hidden 2026-12-01 21:30:53 -06:00
scripts 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
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 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
CLAUDE.md S010: other Nexus pages follow the original: network, audio, apps, about 2026-11-14 18:05:15 -06:00
install.sh Installer rebuilt from the original: install.sh bootstrap, scripts/setup.sh with prereq, build, niri and app-theme steps, uninstall.sh; no terminals/editors installed, no dotfiles for foot/kitty/micro/btop/fish/vesktop 2026-10-31 15:31:15 -05: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: v0.2.0 phase (visualiser, UX sweep, features, installer and release) 2026-11-11 22:37:57 -06:00
README.md 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
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