10 KiB
Plan: finishing the port and switching from DMS
Written 2026-11-05, before work starts. Read docs/HANDOFF.md first: this follows its "Pick up here" list and adds what a
read-only look at the machine and the original turned up. Nothing was changed, stopped or started to write this.
State tonight
- Git: clean at
76d52bc, everything pushed. - Running: DMS (
systemctl --user: active and enabled),dms-gamemode, andquickshell -c caelestia-dash.caelestia-shellis not running. - Lock:
lock-provedis there. Monitors: DP-1 and HDMI-A-1, both 1600x900. - Original: cloned at a0bc311 into the session scratchpad and made read-only.
/tmpmay not survive a reboot; if it is gone, clone again in the background.
First thing tomorrow
- Tell you what is running, then ask before stopping DMS and starting the shell.
- Ask the decisions below. Nothing else depends on the order of the rest until they are answered.
Decisions for you
A. AI Assistant (item 1). The tab is 5,926 lines, plus an 856-line settings page. It is not only Claude Code: the page also has Ollama,
the Claude API, OpenAI, Gemini, OpenRouter and opencode. Two things stand in the way of it today: there is no claude command on PATH
(only the desktop app), and API keys go in the keyring, which isn't installed.
Recommendation: hide the page for the switch, so no dead settings ship, and port it after you are settled on the shell, Claude Code first.
B. Input settings before the switch? The list has the installer (3) ahead of input settings (4), but input settings add a new
caelestia-input.kdl include that the installer must carry. Recommendation: do 4 first, so you install once.
C. Automount: udiskie, or the shell mounting on insert (HANDOFF leaves this open).
D. Night light: wlsunset or gammastep. Neither is installed, and the original's isn't usable here.
Order of work
Each area ends with tests, the fuzz if config or Nexus changed, a commit and a push to origin.
| # | Area | Work | Tested how |
|---|---|---|---|
| 1 | AI Assistant | Decision A | Snapshot if hidden |
| 2 | Settings left to prove | Apps menus, App info, weather search, Startup, Storage, Accessibility, Focus, muted apps, quick toggle wheel, Timers, sounds, inline reply, notification images | Live, on a copy of your config, without the pointer where possible. Anything needing the pointer: I ask first and check the target in the same command. Displays' Apply changes your monitors, so only if you say so |
| 3 | Page check | Compare PageDictionary.qml and all 59 page files with the port. See "New findings" |
Reading, then snapshots |
| 4 | Input settings | Keyboard layout, repeat, mouse speed and touchpad in Connected devices, writing caelestia-input.kdl the way Displays writes its file. Labelled a niri addition |
Test config and niri validate, not your real input until you agree |
| 5 | Installer | The "what has to change" list and the option ticks, each shown in Nexus. PAM file, portals, keyring, Qt, automount, clipboard, recommended settings, uninstall.sh, README |
Temporary HOME with stand-ins, then a nested niri |
| 6 | Bind check | See "New findings": every DMS bind has a Caelestia replacement or a deliberate gap | niri validate on a copy |
| 7 | The switch | Only when you say you are ready. Steps below | Live, with you there |
| 8 | Proof after the switch | Handoff item 5 | Live |
| 9 | Leftovers | Handoff items 6 to 12, in order | As each needs |
| 10 | Clean install | Handoff item 13, on a VM or throwaway user | Real |
Items 8 and 9 assume the original's files stay the reference; niri additions go in docs/AUDIT.md, labelled.
The switch
Each step on your go-ahead. The way back must not depend on the shell, DMS or a working niri session, so step 1 comes before anything changes.
- Back up
~/.config/niriand write a plain rollback script outside the project that restores it and enables DMS, runnable from a text console (Ctrl+Alt+F3). You run it once by hand first, in a harmless mode that only prints what it would do. ./install.sh, reading each tick with you. It asks before anything with sudo. Yourconfig.kdlgets its include line only with your OK.niri validateon the result, before it is loaded.- Deal with
dms/outputs.kdl, or Displays' settings lose to it, and remove the hand-added blur block (backupconfig.kdl.bak-blur-caelestia). - Stop DMS, not disable it. Start the shell. Check Print, volume, Mod+G, the power key, the lock.
- Disable DMS and stop
dms-gamemode, once you say so. Find out first what startsdms-gamemode; nothing checked so far shows it. - Log out and in. This closes the Claude app with everything else, so you reopen it to continue, and the session's scratchpad may be gone. If the desktop doesn't come back, the rollback script is the way out.
DMS stays installed until you say otherwise.
New findings, not in HANDOFF
- Far more binds depend on DMS than Print.
~/.config/niri/dms/binds.kdlhas 39 lines namingdmsorqs, andconfig.kdlhas 7 more: volume, Task Manager, the power menu, Mod+D and others. These are static files, so they keep loading after DMS is off and fail silently. Any key not overridden bycaelestia.kdlstops working. Row 6 lists them all, and proves on a copy that a later include really does override a bind, which HANDOFF assumes. caelestia-dashruns under DMS (its parent is DMS'sqs), and Mod+D and Mod+Shift+D call it. Check whether stopping DMS stops it, and what those two keys should do afterwards.dms/input.kdlanddms/binds.kdlsay they are generated by DMS. With DMS off nothing rewrites them, but your mouse and touchpad settings live there, so input settings must not lose them when they move.- Clipboard is already done: the shell spawns
cliphist storeandwl-clip-persistitself (services.rs). The installer only needs the packages, and an option that doesn't spawn them twice. xembedsniproxyalready runs from yourconfig.kdl, so the installer's option must not start a second one for you.stock-binds.kdlrunscaelestiaby bare name on many binds, not only Super+Alt+L as HANDOFF says.caelestia.kdluses@CAELESTIA@.- Pages to check against the original: a label search found no match for Proxy, Captive portal, Pair New Device, Remote IPC and Rotation, and pages.json's Saved networks, Bezel and Advanced color rows have no Rust text. A name search is weak (HANDOFF says so), so these are leads, not gaps.
- The package list in HANDOFF still holds:
xdg-desktop-portal-gnome,gnome-keyring,qt6ct,udiskie,wlsunsetandgammastepare all missing.arrpcis too, on purpose.
Depending on DMS: the audit (2026-11-05, evening)
The aim: a wiped Arch plus ./install.sh gives a whole desktop, with nothing from DMS.
The repo. No runtime reference to DMS, Quickshell or qs. What's left is comments naming where something came from, a test string, and nexus/niri.rs's comment (do not touch). dms in system24.css means Discord's direct messages.
Fixed, tested in an empty HOME: install, niri validate, a second run, uninstall.
| A clean machine got | Now |
|---|---|
| niri colours never loaded: the include was added only if the file already existed, and themes run after niri | caelestia.kdl includes it |
Game mode's niri half did nothing: gamemode.kdl was written and never included |
Included last |
The power button went to logind instead of the session menu: disable-power-key-handling was only in your config |
In caelestia.kdl. niri's merging of it isn't proved by validate, so check on the real button |
kitty and GTK colours written, never loaded: your configs load DMS's dank-* files |
The app-theme tick adds the line. A niri addition |
GTK counted as not installed without a gtk-* folder |
Detected by gtk-launch and gtk4-launch |
Fresh binds ran caelestia by bare name |
The full path, as in caelestia.kdl |
Uninstall left caelestia-outputs.kdl, caelestia-colors.kdl and lock-proved |
Removed, with the colour lines |
Only on your machine, and gone with a wipe. If you remove DMS instead of wiping: niri.service.wants/{dms,dms-gamemode}.service, dms.service.d, dms-gamemode.service, ~/.local/bin/dms-gamemode, the dms/*.kdl includes, the seven dms/qs binds in config.kdl, dank-* in kitty.conf and gtk.css, the dms-shell and quickshell packages. Keep cava and matugen until checked.
Worth saving before a wipe. Nothing in the repo holds your kitty.conf settings, GTK thunar.css, your ~/.config/caelestia, wallpapers or hub-release-sync.
DMS binds with nothing behind them yet:
| Bind | Was | State |
|---|---|---|
| Ctrl+Shift+Escape, Ctrl+Alt+M, Ctrl+Alt+Delete | Task manager | Not in the shell. Performance popout is the nearest; btop in a terminal is another |
| Mod+Shift+C | Colour picker | Not in the shell. niri has pick-color |
| Mod+Alt+N | Night mode | Not ported |
| Mod+Alt+R | Rename workspace | Not in the shell |
| Mod+Alt+I | Idle inhibit | Keep awake exists; no IPC command |
| Mod+P | Display profile | Not in the shell |
| Ctrl+Volume keys | Player's volume | No command |
| Mod+Shift+W, Mod+Shift+Slash | Window rule, shortcuts list | Nexus has both; only nexus sub binds to them |
Yours to choose for the default binds (DMS key, then what ships now): Mod+V clipboard (Mod+Shift+V; Mod+V floats the window), Mod+X power menu (Mod+Shift+E), Mod+A control centre (none), Mod+M media (maximises), Mod+Y wallpapers (none), Mod+Ctrl+N notifications (Mod+N), Mod+N notepad (sidebar), Mod+Shift+T float (text capture), Mod+Tab overview (none), Mod+F and Mod+Shift+F differ too, and Mod+Shift+1 to 9 moves a column in yours where stock uses Mod+Ctrl+1 to 9.
The recommended niri settings (caelestia-recommended.kdl) are still not shipped: gaps, corners, borders, hotkey-overlay, prefer-no-csd, animations. Your own values are in dms/layout.kdl and config.kdl.
Not checked tonight
No build, test or fuzz ran, so the 69 tests and 871 fuzz cases are from HANDOFF. The shell's behaviour was not looked at. The one difference between the prompt you pasted and docs/NEXT-CHAT.md: the file also has the rule that what a bare niri lacks goes in the installer as options, with input in Connected devices. This plan follows it, since HANDOFF records it as your decision.