caelestia-niri/docs/AUDIT.md
2026-12-03 10:22:44 -06:00

101 KiB

Audit: Rust port vs caelestia-kde

Reference: ladybug-me/caelestia-kde at a0bc311. Closeness: exact / close / different / missing. "Before" is the state at 1ae8ee5, when this audit started. Sections are updated as areas are redone.

Shared foundations

Area Original Ours (before) Closeness Differences
Clipping Qt item clip, nested draw.rs single mask different set_clip_path/set_clip(None) replaced the outer clip. A cover or profile picture lifted the dashboard's clip, so the rest of the tab drew outside it during the slide (the reported bug). S004: the dashboard view now cuts its tabs' hit areas to the view too; --snapshot … --dashboard --tab A --switch-to B writes the slide frame by frame with the panel's rectangle, for a pixel check.
Text height font ascent + descent (Qt) draw.rs measure: 1.25 × px different Every layout built on measure is off. Icons are about 25% too tall, which changes button and card sizes.
Default text size StyledText = body.small, 12pt often 14pt different Tab labels, uptime, artist and others were 14pt.
Anim tokens 12 curves, 10 durations, Anim.Type 5 curves, 2 durations close Effects curves, standard/emphasized sizes and slow spatial missing.
Text swap StyledText.animate fade and scale none missing Title, artist, album, weather and lyric labels snap.
StateLayer hover 8%, radial ripple static hover different No ripple, no hover fade.
ButtonBase radius morph, shapeMorph, ButtonRow relayout flat pill different Buttons never morph; neighbours never give way.
CircularProgress gap, arcRadius, wavy, thickness stroke_arc by hand close Wavy missing, thickness ignored, so cover sizes were wrong.
StyledSlider, WavyLine wavy fill, handle press, end dot flat bar different
SplitButton, Menu full missing missing Player and disk selectors.
LoadingIndicator shape morph on a spring missing missing
Icon fill (FILL axis) variable font none missing cosmic-text 0.19 exposes no variations, so filled icons draw outlined.

Dashboard

Area Original files Our files (before) Closeness Differences
Drawer, tabs Wrapper, Content, Tabs dashboard.rs close Tab font 14pt not 12pt; 20px not 16px view rounding; no icon fill; no state layer; wheel on the bar only; no drag-flick between tabs; indicator width from text only.
Dashboard tab grid Dash.qml dashboard.rs close Row 1 height computed from hand-tuned numbers.
User card dash/User.qml dashboard.rs close Icon sizes; no hover on the picture (scrim, diamond, person_edit); click does nothing; no splash text.
Small weather dash/SmallWeather.qml dashweather.rs close Check against 1.6 × extraLarge icon, headline 28pt.
Date and time dash/DateTime.qml dashboard.rs close showClockSeconds ignored.
Calendar CalendarMonth, CalendarMonthSlide, dash/Calendar dashboard.rs close Month name 16pt not title.small; no slide; middle click missing; marked Sunny not animated; event dots missing; indicator size from wrong cell.
Resources dash/Resources.qml dashboard.rs close No value animation; wrong arc radius.
Media card dash/Media.qml, dash/MediaShapes.qml dashmedia.rs different Cover 156 not 132 (thickness 18 not 6); cover is a circle not a spinning Cookie12; arc not wavy; no progress animation; gif ignores bpm; useMediaShapes missing; title/album/artist fonts wrong; 44px fixed buttons.
Media tab Media.qml, media/* dashmedia.rs different No drifting shapes, ambient glow, visualiser, Cookie9 cover, wavy slider, lyrics, lyric info panel or player SplitButton. Had a made-up "Players" panel and a progress ring around the cover the original does not have.
Performance Performance.qml, performance/* dashperf.rs close Fonts and thickness wrong, GPU card stretched, show* toggles ignored, no placeholder, no disk selector, no battery tank, card radii and hero height differ, no value animations, no indeterminate bar, shape not morphing.
Weather tab WeatherTab.qml dashweather.rs close Audited in S004: the hourly card is the popout's HourStrip, 12 hours, gliding on EmphasizedLarge. With it open the tab is 892 px tall (§3.23).
Notes tab NotesTab.qml dashnotes.rs close Audited in S004. Audio notes play with ffplay (pause is SIGSTOP), record with ffmpeg -f pulse -i default to note-<id>.m4a, uploads copy into `notes/audio
Terminal tab TerminalTab.qml dashterm.rs close Audited in S004: 36 px input with a 1 px primary border, mono.small 12 pt, padding.small output inset. "Run a command" placeholder: niri addition.
Wallhaven tab WallhavenTab.qml none missing Not reachable from Content.qml at this revision (no tab entry).

Not audited yet

nexus rows, background, launcher, osd, bar, popouts, tray, services, plugin C++, config defaults, installer.

Done since the first pass (2026-11-03)

Area Original Ours Closeness Notes
Right edge drawers/Interactions.qml, Panels.qml wl.rs right_edge exact logic OSD hover per monitor; drag opens session, then sidebar; panels sit beside each other. A sideways drag on an OSD slider also starts it (asked for; the original's slider keeps the press).
Desktop menu DesktopContextMenu, ContextMenuStore, ContextMenuPage ctxmenu.rs, nexus/ctxpage.rs close Saved in ~/.config/caelestia/context_menu.json. Dropped: Edit Plasma Widgets, System Settings (KDE), Paste, Arrange Icons, Desktop Icons (no desktop icons). Blob seams with the screen edge not drawn. Group order dialog missing.
App browser AppBrowser*, AppTile, CategoryButton, Categories launcher/browse.rs close Default, Simple, Compact. Missing: nameOverflow shrink and flip, tooltips, scrollbars.
App menu AppContextMenu wl.rs open_app_menu close "Add to desktop" missing (no icons); App info opens the .desktop file (was kmenuedit).
OSD slider FilledSlider osd.rs exact motion Value glides, percentage after a change for 500 ms.
Game mode GameMode.qml wl.rs set_game_mode replaced KWin config writes become ~/.config/niri/gamemode.kdl plus load-config-file.
Config loading - config.rs merge_typed ours One mistyped key no longer resets everything.

Not 1:1 inside the rebuilt dashboard

  • Blob smoothing between the lyrics button and its panel: two overlapping rounded rects.
  • Indeterminate progress bar: not drawn.
  • User card: the speech bubble's slnt axis and two-line splash (§3.18).
  • Variable font axes other than FILL, wght, opsz (ROND, GRAD, slnt, wdth) are not applied.
  • Lyrics.offset buttons step by 100 in the service's seconds although the label says ms: kept from the original.
  • Ambient glow fades in without the bloom's scale.
  • Frame time on the Media tab: 8.5 ms paint at 1544x820, plus 1.5 ms copy and 0.6 ms blur region.

Desktop widgets (2026-11-03)

Area Original Ours Closeness Notes
Widgets desktopicons/widgets/*, WidgetCatalog, WidgetGallery, BigItem deskwidgets.rs, background.rs close All nine types, gallery, add, remove, lock, min and max sizes. While editing (S008): click and Ctrl+click select, Ctrl+A, Ctrl+C and Ctrl+V copy type, size and config to new cards beside the selection, Delete removes, Escape closes the gallery or leaves the mode. Missing: blurred card backing, scrollbars and drag and drop in Folder View, file right-click menu. Note saves when typing ends, not on a timer. Multi-line note cursor is end of text only.
Font rows AppearancePage.qml nexus/mod.rs close Presets only; "Choose system font" missing.

Blur, transparency and bar items (2026-11-03)

Area Original Ours Closeness Notes
Blur ContentWindow BackgroundEffect.blurRegion, BlurMask, BlurCorners blur.rs, wl.rs draw close Same protocol (ext-background-effect, niri 26.04). The region is read from the frame's alpha, like the original's Hyprland ignore_alpha rule, in 2 px steps. Needs background-effect { xray false; } on the layer, in caelestia.kdl: niri's default blurs its backdrop, not what is behind.
Transparency Colours.layer, wallLuminance ui.rs layer_of, background::luminance exact logic Port-only "Solid drawers" removed.
Bar items modules/bar/components/* ui.rs close Drawn: media, weather, notes, shortcuts, notifications, keyboard layout, six pills, performance. Missing: title swap animation, per-app volume on the media wheel. GitHub not ported.
Trimmed Overview, Window Switcher, window previews, special workspaces, per-monitor workspaces add_niri_pages removed niri does these itself or has no equivalent.

CPU, measured live (2026-11-04)

Real niri session, DMS stopped, music playing in Mulberry unless noted, test copies of the user's config, 12 to 15 s each, % of one core. GPU is gpu_busy_percent. Numbers come from a small harness reading /proc/<pid>/stat, the counters top shows. The base "before" is the mean of two clean runs; two earlier base runs read 66 to 68% because a dashboard was open (dirty from the dash_open branch in their logs). Blur on against off after the fixes: shell 16% both, niri 16% against 15%, GPU 7.4% against 5.4%, so blur now costs GPU and little CPU.

Case Shell before Shell after niri before niri after GPU before GPU after
Base (no panel open) 32% 16% 18% 16% 7.6% 7.4%
Dashboard on Media tab 88% (36 fps) 74% (57 fps) 25% 24% 16.4% 5.8%
Stat pills on 51% 34% 24% 19% 16.7% 5.8%
Visualiser off 16% 9% 15.5% 14% 5.5% 4.8%
Now Playing off 21% 15.5 to 17% 14% 14% 5.6% 6.5%
Blur off 43% (one noisy run, no clean repeat) 16% 19% 15% 9.8% 5.4%

Frame times after: background 4 to 5 ms total (was 7 to 10), Now Playing's bars 0.05 ms (was 1.2), Media tab paint 8.5 ms plus 1.5 copy and 0.6 blur (was 14 to 18). A repaint with no panel 1.4 to 2.4 ms (was 5.8).

What forced the repaints: Msg::Players every 500 ms, the stat pills' fill animation, and any open dashboard. draw and draw_bars took a new wl_buffer per commit, so niri re-imported the whole texture. Both now reuse buffers and damage changed tiles only. Biggest single cost left: the background visualiser at 25 to 30 frames a second, as in the original.

Game mode: a niri addition (2026-11-04)

The original's own settings do what they did. On top, while game mode is on, on every monitor and whatever the game's window looks like, this port stops everything below. This is not in GameMode.qml. Wakeups are per-thread counts from /proc, measured. CPU figures marked "with music" are worked out from CAELESTIA_PROF rows and the base runs above, not from switching each thing off alone in game mode.

Thing Cost while running In game mode Back when off
Audio tap and pw-record 2% with music, 94 wakeups/s; pw-record 0.4% stopped, process gone yes, seen live
Beat tracker in the tap stopped yes
Visualisers (background, bar) about 15%, with music off yes
Blur region 2 to 7% GPU removed yes
Shell animations per frame off, so panels snap yes
Background and shapes, lyrics widgets 14% with music static yes
Stats sampler 7 wakeups/s idle parked yes
Media polling 8+ wakeups/s through zbus blocked, commands still work yes, at once
Status poll every 3 s only on pactl events yes
Backlight poll 4 wakeups/s blocked yes
Weather every 15 min blocked yes
Lyrics on track change no track given yes
Discord polling 4 wakeups/s only when windows change yes
Tray poll 10 wakeups/s gone, in and out of game mode n/a
Slideshow, file watch, 750 ms tick 1.3 wakeups/s timer dropped unless a panel, notification, Nexus or recording needs it yes
Stat pills full repaints frozen on the last reading unless the dashboard is open yes

Measured with no game and music paused: 56 wakeups/s before, about 4 after, and 0.0 to 0.1% CPU. With the shell at rest the old game mode was already near 0.2%, so the gain there is threads and wakeups. The large gain is with music playing, not yet measured in game mode.

Kept on purpose: the clock timer (once a minute, so with seconds on the bar shows minutes-old seconds), notifications, the niri event stream, IPC, pactl subscribe, and the blocking pool inside zbus (4 idle wakeups/s, 0.0%). Opening the dashboard or a Media or Performance popout during a game brings its data back while open. The media title on the bar is stale until game mode ends. disableVisualizer has no extra effect now that the visualiser is always off in game mode, and disableDesktopLyrics likewise.

Also fixed: niri validate no longer blocks the switch. State survives a restart in ~/.local/state/caelestia/gamemode, with auto or manual. gameMode toggle|enable|disable over IPC are the original's. isEnabled is not, because our IPC only answers "ok".

Bar popouts (2026-11-04)

Area Original Ours Closeness Notes
Weather popouts/Weather.qml, WeatherCards dashweather.rs paint_popout, hour_strip close Curve, dots, cells, gliding scroll. The Weather tab still has the plain strip.
Media popouts/Media.qml, dash/Media.qml popouts.rs, paint_small with extra close Player menu opens upwards (original: down). The wheel changes the sink volume, not the player's stream.
Performance popouts/Performance.qml dashperf.rs with compact exact logic Shares the dashboard's state.
Shortcuts popouts/Shortcuts.qml, cards/Toggles utilities.rs paint_toggles_card close The tune button's menu does not open here.
Notes popouts/Notes.qml dashnotes.rs paint_popout close Shares the tab's editor, so fonts follow the tab. Missing: audio, file pickers, list scrollbars, editor switch animation, per-row hover and radius animation.
Right-click menus BarComponentContext.qml popouts.rs paint_menu, Action::bar_menu close Logo, greeter, clock, status icons, workspaces, tray, media, performance, weather, capture, keep awake, notes and shortcuts. The dock background's menu not ported. The row hover radius is 8, not 12.
Clock calendar CalendarPopout.qml, CalendarMonth.qml popouts.rs paint_clock, dashboard.rs paint_month close Day picking, month chevrons, wheel. The agenda always shows the "no calendars" hint: calendar_events.py and CalendarEvents are not ported. The hover's 150 ms delay is not ported.
Dock menu DockContext.qml, scripts/recents.py popouts.rs paint_dock_menu, popdata.rs recents close Show all windows opens niri's overview, unfiltered. End task asks the windows to close: niri.rs gives no pid here and is not to be touched. Pin, New window and End task were not clicked in testing.

Tested live with a real pointer: hover, close on leave, right-click, the menu staying while the pointer crosses the bar, clicking and typing in Notes.

Dead keys, badges and live settings rows (2026-11-04)

Area Original Ours Closeness Notes
Workspace text Workspace.qml ui.rs close displayType: text with capitalisation and labels. The default active label is a Nerd Font Pac-Man, as in the original. Font is sans, not Tokens.font.workspaces.
Recolour ColouredIcon, Colouriser, ImageAnalyser draw.rs colourised close Tray and dock. Commonest colour quantised to 4 bits a channel.
Dock badges LauncherEntry, Dock.qml badges.rs, paint_badge exact logic Count, dot at 0, 1k, 9k+, dropped when the sender leaves. Progress bars on dock items not ported.
Keep awake chip KeepAwakeWidget.qml ui.rs close Under the button, so a bottom bar puts it off screen, as the original's anchors do. Not seen live.
Name overflow AppTile.qml, Tooltip.qml browse.rs close Tooltip after 500 ms, Shrink, Flip, tested live. The flip and shrink snap; the original animates them.
Clipboard clear launcher/Content.qml launcher/mod.rs close Delete button and dialog. Tested against a fake cliphist. The "cleared" toast is not ported.
Live rows NetworkPage, BluetoothPage, AudioPage, AppVolumes nexus/livepage.rs close Real data; live: keys in the store. Shown only, not clicked, in testing, so switching Wi-Fi, Bluetooth, volume or a device is unverified. App volumes never seen with a stream playing.

Also fixed: bar.popouts.clock defaulted to false, the original's is true. bar.greeter.inverted was read from shell.json on every paint of a vertical greeter. The dashboard calendar's chevrons and "today" were dead: the card's wheel area sat over them.

Added panels: a niri addition (2026-11-04)

Not in the original. bar.panels in shell.json; config::Panel. Each panel is a pill of bar items that sizes to its contents and floats inside the frame, drawn by the bar's own item painters (ui.rs paint_panels). Popouts from a panel float off it (Popouts::anchor) rather than joining an edge.

Area Notes
Settings Toggle & Rearrange: an "Editing" picker over the unchanged page (Taskbar, each panel, New panel). A panel has one list, "On this panel", beside the Library; its options follow below, built by livepage::panel_rows.
Options Name, show, monitor, edge, alignment, distance from edge, shift along edge, thickness, dock icon size, item spacing, padding, corner rounding, background (surface, container, accent, none), opacity, shadow, border, auto hide, keep windows clear.
One place per item Items hold state (workspace indicator, tray width, Now Playing's bars), so an item is on the taskbar or one panel. Adding it moves it.
Limits Items keep their own size: thickness gives them room, and only the dock follows Dock icon size. Keep windows clear takes the whole edge, which is how niri's exclusive zones work. The taskbar still reserves its edge.
Tested live Bottom, top and right panels, auto hide with a real pointer, a monitor filter, popouts off a panel, the picker, adding, real drag to reorder, New panel, Delete, the saved file. Left edge and every arrangement of values in a paint test only.

Crash on a notification click (2026-11-04)

pressed was an index into hits, which every repaint rebuilds. A toast timing out between press and release left it past the end of the list and edge_gestures panicked. It could also have pointed at another control. Screen::press now remembers the action and keep_press finds it again after each repaint. Not related to the user's dotfiles. A main-thread panic now goes to ~/.local/state/caelestia/crash.log and the shell re-executes itself, three times a minute at most, tested with a real panic.

Lock and idle: niri replacements (2026-11-04)

Area Original Ours Notes
Lock screen KDE's, styled by the original swaylock, in the scheme's colours over the wallpaper Not tied to the shell, so a shell crash cannot unlock. caelestia shell lock, Mod+Alt+L, the launcher's Lock through loginctl lock-session. Fingerprint, profile picture, session icons, blur: rows removed, swaylock has none of them.
Idle KDE swayidle started by the shell, lock.idleLock, idleScreenOff, idleSuspend in minutes Added rows under Lock Screen. Locks before suspend. Keep Awake and game mode hold it off through the idle inhibitor.
Polkit KDE's agent the shell starts polkit-gnome, polkit-kde or mate-polkit if installed DMS carried its own.

Tested with recording stand-ins only: real swaylock, swayidle and polkit-gnome are not installed yet.

appearance.islands is gone from Appearance: nothing here read it, and the user does not want it.

Panels pages against the originals (2026-11-04)

Every key on Dashboard, Taskbar, Launcher, Sidebar, Quick toggle and the taskbar's sub-pages was checked for a reader in the shell: a name match, not a behaviour test of each row.

Area Original Ours Closeness Notes
Toggle rows cards/Toggles.qml QuickToggleRow (ButtonRow) utilities.rs exact logic Each row shares its own width, so a short row stretches.
Toggle list quickToggles, builtIn quick_toggles close Adds Overview, Restart Shell, Audio Visualiser, Keep Awake. Left out with no backend here: Hotspot, VPN, Quick Share, Pause Wallpaper, Night Light, EasyEffects. Restart re-executes the shell.
ListEditor nexus/common/ListEditor.qml nexus/listedit.rs close Drag, switch, remove (red delete after the switch), rows switched off at half strength, the held row raised (Elevation 3, large corners); used by Quick toggles, Status icons and the tray (S009). The original's overshoot damping and displacement animation are not ported: rows jump on drop.
Tray icons list BarTray.qml, services/TrayRegistry.qml, trayicons.js listedit::tray_entries, ui::tray_state close Running and remembered icons, drag order, Always visible / Collapse / Hidden, Forget for icons not running; the bar follows order and shows always-visible icons while compact. Keys are icon:<name> or the id; the proc: alias (needs the item's pid) is not ported.
Reset buttons controls/SettingResetButton.qml nexus::reset_button, Store::reset close On every toggle, stepper and slider with a default (S009). Nexus defaults fall back to assets/defaults/shell.json. The original's "latched" state after a change is not ported.
Theme & Effects header AppearancePage.qml headerActions appearance_actions close Restart Shell (reopens Nexus on Appearance), Reset settings (asks "Sure?" for 3 s, clears appearance and border).
Page layout Quick toggle under Panels, Utilities panel and Quick toggles under Utilities all under Panels → Quick toggle changed The user's request. Quick Share's card row removed.
Enable component BarWidgets.setEnabled live:entry: keys exact logic Greeter and Dock.
Custom logo SysInfo Qt settings general.logoTint, general.logoSize close Kept in shell.json.

Not ported: GitHub. Sidebar tab rows, removed until the AI and News tabs exist.

Screen capture: a niri addition on the original's selector (2026-11-04)

The user asked for this. capture.rs (overlay, options, saving), stitch.rs (scrolling capture), Recorder in utilities.rs. Print opens it. Options live in ~/.local/state/caelestia/capture.json.

Area Original Ours Closeness Notes
Frozen selector regionSelector/RegionSelection.qml, RectCornersSelectionDetails, CursorGuide capture.rs close Same dim (black 0.6), 1 px secondary border at 0.9, W x H label, aim lines, guide pill. On every monitor, not only the cursor's. Saves on release, as the original does. Circle selection, the Post phase and the guide's fade are not ported.
Toolbar Toolbar, ToolbarTabBar, OptionsToolbar Capture::toolbar niri addition Same sizes (56 high, tabs 36), at the top instead of the bottom, shown only while capturing, and holding modes the original does not have. A narrow screen keeps only the chosen tabs' labels. Google Lens left out: it uploads the picture to a public host.
Saving ScreenshotAction.qml capture::deliver exact logic Name, folder, clipboard, notification with Open and Open Folder. Right button annotates: satty, then swappy (the original's). name-1 when two land in one second.
Text ScreenshotAction CharRecognition capture::recognise exact logic Grey, stretched, 300%, every tesseract language, notification.
GIF caelestia-record Recorder::stop close Same filter chain, 720 and 30 by default, but a region narrower than the width is not stretched up.
Window snipWindow, TargetRegion outlines list, niri msg pick-window, screenshot-window --id replaced niri gives positions for floating windows only, so outlines cannot be drawn. niri's pick finds nothing through a layer, so the overlay closes for it. niri always copies to the clipboard here, even with Copy off.
Recording caelestia-record, portal gpu-screen-recorder on the output or -region replaced No ScreenCast portal on niri here, KMS capture instead. Sound and mic share one track. One window cannot be recorded for the same reason, so Record and GIF offer Region and Screen.
Drawer CaptureCard.qml SplitButton utilities.rs changed The user's request: Start and Capture open the overlay and the menu is gone. The bar item too, which opened a popout in the original. Its icon is now the original's photo_camera.

From the DMS screenCaptureToolbar plugin: delay (3, 5, 10 s), option rows, scrolling capture, the small pill while something runs. stitch.rs is scroll_capture.py in Rust with the same matchers and thresholds; the FFT is realfft. Its pill stays out of the frames: above or below the region, or on the other monitor.

Binds: the original's defaults, screenshot Meta+Shift+S and screenRecording Meta+Ctrl+S, now reach the tool, and the recording bind stops a recording, or resumes a paused one, as Shortcuts.qml does. capture <what> toggles. The Shortcuts tab's action list still offers niri's own screenshot actions: they are real niri actions and that tab is left alone.

Keeping controls out of recordings: gpu-screen-recorder reads the finished picture from the graphics card, so niri's block-out-from has no effect on it. Instead the REC chip never shows on the recorded screen, and the pill goes on the other monitor for a whole screen, or outside a region. Hide controls in the Record and GIF options shows neither, and Print stops it: the only clean way on one monitor. Checked live on a frame of the recorded DP-1: no chip, no pill, while HDMI-A-1 showed both.

Print: opens it, ends a recording or scrolling capture, cancels a countdown. caelestia shell capture [region|window|screen|scroll|text|record|gif|stop]. Ctrl+Print and Alt+Print skip the overlay.

Tested How
Region on release, exact sizes, both monitors; Screen by click and Space on both; keyboard after clicking the other monitor; click without a drag takes nothing; options panels; Record, GIF, sound plus mic, Pause not clicked; pill Stop; Print stops; Print cancels a countdown; drawer's Capture; pointer option Live, real niri, DP-1 and HDMI-A-1, virtual pointer, test config
Window list, Alt+Print, pick, text, scrolling capture (225 lines, OCR read no repeats and no jumps backwards), delay, JPG, right button opening satty Nested niri with stand-in kitty windows, because niri writes window shots to the clipboard
Not tested Saving an edit from satty, swappy, Copy to clipboard and notifications with Open (off in tests), Pause, Ctrl+Print's file was overwritten before the name fix and not retaken, the bar item's click, a real browser page in scrolling capture

Discord presence (2026-11-04)

Area Original Ours Closeness Notes
Service services/DiscordRPC.qml, DiscordIpc rpc.rs exact logic Handshake, targets, labels, Steam, Caelestia info, reconnect. idle and the variant were never sent: both are now. Idle uses ext-idle-notify, as IdleMonitor does.
Page services/ArpcPage.qml, WindowPickerRow.qml livepage.rs arpc close Key in the keyring, pickers, target labels, hidden games, manual fields that wait for Save, the stepper in minutes. Target rows show no app icon. The key field saves when it loses focus, not on a save button.

arRPC server: a niri addition. With presence on and no Discord socket, the shell starts arrpc if it is installed, and stops it when presence goes off. Vesktop's built-in arRPC needs nothing.

Tested against a stand-in Discord socket: handshake, target label, Caelestia info, clearing on idle in a nested niri, stand-in arrpc started. Real Discord, Vesktop and arRPC are not installed here, so never run against them. Steam detection and SteamGridDB: not exercised. The page's lists and Save are covered by a unit test.

System look: a niri addition (2026-11-04)

KDE's settings did this for the original. Appearance, System look, in syslook.rs: icon theme, cursor theme and size, system and monospace font and size. A change goes to gsettings, gtk-3.0 and gtk-4.0/settings.ini, qt5ct and qt6ct conf, ~/.icons/default/index.theme, and niri/caelestia-cursor.kdl, which caelestia.kdl includes. Kept in those places, not in shell.json.

Tested live with a stand-in gsettings and a temporary HOME and config: each row wrote the right lines. Real themes were not changed, so a real GTK or Qt app picking them up and niri changing its cursor are not seen. Qt apps need qt6ct and QT_QPA_PLATFORMTHEME=qt6ct; neither is set up here.

Choose system font: AppearancePage.qml's dialog, in nexus/mod.rs. Tested live on the shell font and the system font. Rows are in the shell's font, not each family's own. Nexus menus now scroll with the wheel and widen to fit their names.

Per-monitor bar position (2026-11-04)

Area Original Ours Closeness Notes
Rows TaskbarPanel.qml Repeater livepage.rs exact logic Every monitor when there are several, Overridden or Using global, Use global position only on an override.
Storage GlobalConfig.forScreen overrides bar.monitorPosition in shell.json different The original can override any option per screen; here only this one exists.

Tested live on both monitors with a test config: DP-1 top, HDMI-A-1 left and back to global from the page, windows moving out of the bar's edge, the weather popout on each. Hover zones on a moved bar were not driven with a pointer.

Desktop icons (2026-11-04)

Area Original Ours Closeness Notes
Files, positions FileEntry.qml, DesktopLayout.qml deskicons.rs exact logic f/<name> items in desktop_layout.json, so saved positions carry over. Launcher names by locale, icons by type.
Tiles IconTile.qml, EntryIcon.qml paint_tile close Sizes, rounded corners, two line label with outline. The tile's appear animation is not ported.
Selection DesktopIcons.qml Icons::press, motion, release close Click, Ctrl+click, Shift+click and Ctrl+Shift+click ranges from the anchor, rubber band, double click opens.
Moving LayoutEngine.js plan, drag_to, compact, refit close Moves the selection, or reorders when arranging, with the live preview (drop cells, the others moved aside, the held tiles faded). A drop on a folder moves the files into it (gio move). Dragging onto another monitor works: while the button is held the pointer stays with the first surface, so desk_point maps it through niri's output layout.
Menus DesktopIconContextMenu.qml, ContextMenuStore open_icon_menu close Open, Show in File Manager, Pin to dock (launchers, id from the file name), Rename, Copy, Cut, Move to Trash. Paste and Arrange Icons are on the desktop menu.
Keys handleKey icon_key close Arrows (LayoutEngine.navigate), Home, End, Shift with any of them, type-ahead, Delete, F2, Enter, Escape, Ctrl+A, C, X, V, Ctrl+plus/minus, Menu and Shift+F10, with the focus ring. No Ctrl+G (groups). Ctrl+scroll and keys need a click on the desktop first, which is when it gets the keyboard.
Material You icons bundled monochrome set set_icon, tinted close Looks in <data>/icons/yet-another-monochrome-icon-set as FileEntry.iconSource does. The set is a separate repository and not bundled yet, so the theme's icon, tinted, stands in (niri addition).

Not ported: groups, large folders, dragging files to or from other apps (no wl_data_device in the shell), the Rounded icon corners switch (the setting is honoured), the Desktop Icons menu row. bg_layer now takes keyboard focus on demand, so clicking the wallpaper takes focus from the window, as in the original.

Tested in a nested niri with stand-in files, gio, xdg-open and wl-copy: drawing, double click on a file and a launcher, drag, rubber band, rename, trash, sort, icon size, Ctrl+A, new files appearing. Paste, Cut, Copy's real clipboard format, and arranging automatically were not run. On the real session only: the user's four Desktop files were placed in the layout file; no file was changed.

Installer (2026-11-04)

Area Original Ours Notes
Look installer/tui (C++), data/theme.json scripts/lib/log.sh Same palette, splash and glyphs, in bash so nothing needs building first. Numbered steps, a spinner with ~/.cache/caelestia-niri/install.log for the build, keyboard checklists for packages and themes. Plain lines without a terminal.
Fresh niri - niri_install With no config.kdl, the stock binds go in first: an include alone stops niri writing its defaults and leaves no way to move or close a window.
Dependencies installer/distro package-sets.sh gio added. wl-clip-persist is built with cargo where no package exists. arrpc is not listed: it is AUR or npm, and Vesktop has its own.

Tested on a real terminal (a pty) in a temporary HOME with stand-in pacman, sudo and systemctl: all four steps, ticking and unticking, the niri prompt, the summary. That config boots in a nested niri with the shell autostarted, default wallpaper and colours, and the binds in niri's hotkey list. Not tested: a real clean machine or throwaway user, real package installs, Fedora and Debian package names (best effort, nothing here can check them), the cargo fallback.

Appearance and Desktop, by behaviour (2026-11-04)

Each row was rendered with its setting changed and compared with the baseline, against the noise of the clock and visualiser, instead of checking that a name is read. That found what the name check had passed.

Row Was Now
Corner radius, spacing and padding scale constants, the rows did nothing Every size token reads its scale, cut to a whole pixel as AppearancePadding does. tokens::configure sets them on load and reload. The fuzz sweeps them.
Blur deform no reader Removed: it shapes KWin's blur mask, and here the region comes from alpha.
Material You, Vibrant icons no reader Tint the theme's icons (draw::colourised). The original tints a bundled monochrome set from a git submodule, not ported, so the shapes differ.
Mode, Automatic light and dark no reader autoscheme.rs, ported from AutoScheme.qml and solartime.js. Sunrise and sunset need "lat,lon" in services.weatherLocation; the original also uses the weather service's location.
Smart color scheme, Color intensity no reader Hidden. They need caelestia-color, not ported.

Lock Screen rows without a reader were already hidden, because swaylock has none of it. Video Wallpapers rows: read since S014 (mpvpaper). Animations and the wallpaper rows have no effect a still picture shows; they were checked by reading the code.

Notifications (2026-11-05)

Area Original Ours Closeness Notes
Service services/Notifs.qml, NotifData.qml, notifquery.js notifs.rs, notif_arrived and neighbours in wl.rs exact logic History in ~/.local/state/caelestia/notifs.json, muted apps, isSilenced, named quiet holds, sound, cap, replaces in place, images saved to ~/.cache/caelestia/notifimagecache, inline replies. A notification from the saved history has no sender left, so its action only closes it. The port's "critical stays" and desktop-entry icon were inventions and are gone.
Fullscreen Kwin.hasFullscreenOn refresh_fullscreen different niri's IPC does not say fullscreen: a window the exact size of its output counts. A maximised column with gaps or a bar does not.
Popups modules/notifications/* notifcard.rs close Every position, expanded and collapsed, drag sideways and down, middle click, hover pause, mute, close and copy, links, progress ring. Popups that may show over fullscreen move the surface to the overlay layer, as the original does. S006: shouldPush (pushed off the edge the stack floats: the original's blob shapes are not ported), the removal slide, the move/displaced glide, height easing, ExtraIndicator (bottom only: the stack does not scroll). Bodies draw StyledText's bold, italics, underline and links; s and code keep their words, as StyledText does.
Toasts Toaster, Toasts.qml, ToastItem.qml, corner.js toasts.rs close Timeouts, corners, insets, fullscreen rule, transparency. S006: the stack slides up when one closes, toasts grow from 0 (initAnim), messages are StyledText, and general.battery.warnLevels raise BatteryMonitor's warnings. Events: DND, game mode, audio devices, caps and num lock, keyboard layout, now playing, charger, config loaded, clipboard. Lock keys are read from the keyboards' LEDs: niri tells only the focused client. Trimmed with no backend: Night light, VPN, keyboard layout limit.
Sidebar NotifDock, NotifGroup, Notif, NotifActionList, NotifSwipeDelegate sidebar.rs close Search, reply fields, action row, right press expands, middle closes, drag down expands. A click no longer invokes or expands: the original's does neither.
Dino game DinoGame.qml, dinogame.cpp dino.rs exact logic Same numbers, 16 ms step, high score file. Caelestia mode is gone at the user's request, with dino.gif. kurukuru.gif stays: it is paths.sessionGif's default, not the mode's.
Pages services/*Page.qml, audio/NotificationSilencingPage.qml, FocusPage.qml add_niri_pages, livepage.rs close pages.json predates these: Corner, Muted notification apps and Focus sessions were missing and are added. Timeouts and osd.hideDelay are seconds over milliseconds (Row::scale). App pickers list names seen here, not every installed app. Follow the calendar is left out: no calendar sources.
Streams PipewireStreamWatcher, StreamMonitor.qml services::watch_video_streams different pw-dump every 5 s, held off in game mode, not a live PipeWire registry.

Tested live: the shell runs this code, no notification was sent to it on purpose. Tested in a nested niri on a private D-Bus: notify-send arrives, sidebar, Dino scene, game start by Space. By snapshot: popups, expanded popups, four toast types, sidebar. Unit tests: text cleaning, links, history, focus schedules, corners, positions. Not exercised: real images, inline reply from a real app, sound playback, Focus starting at its time, DND while streaming.

The stuck OSD: the hide timer started only when the OSD was closed, so a hover-opened or held OSD with a wheel change had a deadline and nothing checking it. Reproduced on the old binary and gone on the new one, on the same nested test with a stand-in wpctl.

Lock screen (2026-11-05)

The user asked for the original's. This replaces swaylock and lifts the old decision to keep the lock out of the shell.

Area Original Ours Closeness Notes
Layout LockScreenUi.qml lockscreen.rs close Sizes, ratios and both layouts as written, blurred plate, card colours by alterColour. Compared with assets/lockscreen-screenshot.png.
Cards WeatherCard, CaelestiafetchCard, MediaCard, ClockWidget, ProfileAvatar, GreetingPill, Session, ResourcesCard, NotifDock same file close Live data from the shell's own services. Colour dots follow the original's rule, so they hide below centerScale 0.85, as on a 900 tall screen.
Password PasswordPill, AuthHandler same file, auth.rs close Shapes per character, reveal, shake, spinner, messages, PAM service caelestia-lock, else swaylock, else login. No grace period, lockout text, fingerprint or Howdy.
Locking KDE's kscreenlocker ext-session-lock in the shell replaced If the shell dies niri stays locked; $XDG_RUNTIME_DIR/caelestia-niri.locked makes the next start lock again. niri's log confirmed the takeover of a dead lock. caelestia shell lock preview unlocks itself after 45 s.

Tested in a nested niri with a test-only build: lock, wrong password stays locked, right password unlocks (niri logged it), a killed locker stays locked, restart relocks, password unlocks; a flood of pointer motion; the Wayland connection cut while locked, after which the shell restarted, relocked, refused a wrong password and took the right one. Snapshot against the screenshot.

The first live preview on 2026-11-05 trapped the user: the right password was refused, because pam_acct_mgmt on the swaylock service falls through to /etc/pam.d/other and is denied, then niri dropped the shell, and the preview's unlock timer, inside the shell, died too. The second preview, as an overlay, showed the refusal plainly and Escape left it. pam_acct_mgmt is gone, as in swaylock. Changes: input only marks what changed and one paced timer draws; a frame is about 10 ms from a cached backdrop; PAM runs in a child, --pam-check, killed after 20 s, with PAM_REFRESH_CRED as swaylock uses; a lost connection while locked restarts the shell, three times a minute at most; the marker holds niri's socket, so a new session ignores it; the preview is an overlay, not a session lock; swaylock remains the lock until a preview unlocks. The cause (a repaint per pointer event) fits the logs but was not reproduced: a stall under a motion flood did not get a nested shell dropped. The third preview passed with the real password and keyboard, on the overlay, through the PAM child. The real session lock then locked and unlocked on both real monitors with the real password. Not tested on the real session: recovery after a lost connection, and the idle lock firing by itself.

The number pad: the original has no keypad code; Qt's field takes the key's text, so Num Lock off types nothing there. Here the pad enters its digit or symbol either way, a niri addition. Unit test only.

Displays: a niri addition (2026-11-05)

The user asked for it: KDE's Display Configuration did this. Nexus → Displays, under Audio & Sound, nexus/displaypage.rs.

KDE Here Notes
Drag to arrange, snapping canvas Catches edges within 96 px, pushed out of overlaps, top left kept at 0,0.
Enable, primary, resolution, refresh, scale, orientation, adaptive sync rows Primary is focus-at-startup. The last screen cannot be turned off. Scale is 50 to 300%.
Identify row Each monitor shows its name for 3 s.
Apply, then keep or go back in 15 s rows Changes wait in a draft. Kept settings go to ~/.config/niri/caelestia-outputs.kdl, included by caelestia.kdl.
Mirroring, HDR, colour profile, overscan, RGB range none niri has none of these.

By snapshot and unit test (logical size, snapping, overlap, commands, KDL), with niri msg output --help checked. Apply was not run on the real monitors, and nothing was dragged live: it changes real state. Until ./install.sh runs, kept settings are not loaded at the next start, because dms/outputs.kdl is.

Utilities and Session (2026-11-05)

Area Original Ours Closeness Notes
Timers services/Timers.qml, duration.js, TimersCard.qml timers.rs, paint_timers close Ends are stored, so restarts lose nothing. Pin, cancel, presets, typed durations, a notification when one ends. Tested by unit test and snapshot only.
Quick toggles Toggles.qml WheelHandler toggle_wheel exact logic The wheel turns pages, with its 400 ms wait. Not verified: the live try missed the drawer, which had closed.
Session page SessionPage.qml add_niri_pages exact logic The empty Icons and Commands sections now have their fields. session.enabled stops the menu opening.
Session keys Content.qml press_key exact logic Up and Down; Tab and Ctrl+J, N, K, P only with Vim keybinds. Was hjkl always, and Space, which the original does not take.
Quick Share services/QuickShare.qml none removed Trimmed: nothing here to drive it.
Sound effects Audio.qml sfx, audio::play_sound close Lock, unlock, camera, charging, recording, notification, by pw-play. assets/sounds is the original's. The tick plays on switches and on releasing the Audio popout's, Nexus Audio's and Sound effect volume sliders; low battery is never played, as in the original (its playLowBattery has no caller). Niri addition (S006): a Notification sound picker on Sound effects, which plays the pick.

Apps, Services, Language, About, and the missing pages (2026-11-05)

pages.json lacked Startup, Storage, Accessibility and Calendar, and its AppsPage keys were wrong: the Force toggle was keyed to general.apps.audio, which is what wrote the stray boolean into the user's shell.json. The original also has a Displays page in the same place as ours (per-monitor modes, scale, rotation, HDR, from kscreen-doctor); ours came from KDE's behaviour and covers it, with the canvas added.

Area Original Ours Closeness Notes
Apps AppsPage, AllApps, AppInfo nexus/syspages.rs close Defaults are menus of installed apps, All apps opens App info, and pin, favourite and hidden work. The web search engine row is left out: the launcher's web search is not ported. Icons in the lists are not drawn.
Default apps used (S028) Config.general.apps config::Apps::open, wl.rs open_in / open_path close Every open goes through the chosen app: notification links and the portal sign-in page → browser; recordings → playback; folders (recordings/screenshots folder, the screenshot notification's Open Folder, desktop icons and widgets that point at a folder, the popout's recent files when a folder, Nexus wallpaper folder) → explorer. A setting that is xdg-open or empty falls back to xdg-open <target> (the browser default's about:blank is dropped then). Kept on xdg-open, no setting fits: screenshots (images), plain files on the desktop and in recent files, an app's .desktop file. audio and terminal already run as they are. Force toggle: turning it off gives back the choices it replaced (niri addition; with none, the original's fallbacks pavucontrol, mpv, thunar). The original's AppsPage.qml was not re-read (clone failed: disk quota).
Services ServicesPage.qml add_niri_pages exact logic Steppers now show the original's units (Row::scale). System stats and Media refresh drive the samplers. GPU offers Auto and None: only cards with a busy file can be read. Wi-Fi rescan is hidden: nothing rescans on a timer.
Language & region LanguageAndRegion.qml syspages::language close Weather location search through open-meteo's geocoder, typed and picked. Temperature, sensors, data sizes and clock now store real values, and sensors and data sizes are read (units.rs). Shell language is hidden: translations are not ported.
About AboutPage.qml add_niri_pages changed The user's request: Quickshell and Qt are gone; Processor, Graphics, Memory, Uptime and niri added. Export writes shell.yaml. Uninstall names ./uninstall.sh. Plugins and Debug Mode are gone.
Startup AutostartPage, autostart.py syspages close XDG entries, on and off, remove, add. niri runs none of these, so the shell starts the user's own entries once a login: a niri addition. System entries are listed but are not started.
Storage StoragePage, Disks.qml syspages::storage close lsblk, udisksctl mount, unmount and eject. System mounts cannot be switched. Mounting was not clicked.
Accessibility AccessibilityPage syspages::accessibility close Font scale, Reduce motion, Orca's status. KDE's text size and KWin's three effects have no counterpart.

Wired while here: GIF Recorder, Rotate profile picture, Volume tick on switches. Volume sliders do not tick yet.

Tested live, real session, copy of the config, real notifications Result
notifs.position all six, toast corners all four 10 of 10, on HDMI-A-1
maxPopups 0, mutedApps, defaultExpireTimeout, expire off, Do Not Disturb pass
clockFormat, showTimers, reload reloads without harm; their display not measured

Nothing here moved the pointer. Not tested live: the new pages' rows by click, Apps' menus, mounting, Startup on a real login, weather search, Displays' Apply, every other page. By snapshot and unit test only.

Colours in kitty and GTK: a niri addition (2026-11-05)

KDE's theming did this for the original, whose installer only writes the colour files. The app-theme tick in 04-app-themes.sh now adds include themes/Matugen.conf to kitty.conf and @import url("colors.css"); to the top of each gtk.css, and uninstall.sh removes them. Tested in an empty HOME with reruns and an existing gtk.css; not seen in a real kitty or GTK app. caelestia.kdl also carries disable-power-key-handling, a niri addition: KDE's PowerDevil took the button.

Window snapping, task manager, colour picker, QR: niri additions (2026-11-05)

The user asked for all of these. KWin's quick tiling and KDE's System Monitor did the first two. The colour picker is the original's (ColorPicker.qml, Meta+Shift+C): it now copies, notifies as the original does, has a key and an IPC command, and keeps recent colours for its widget.

Area Ours Notes
Snapping snap.rs, Mod and the arrows Nothing floats, and a floating window comes back to the tiling. Left and right are 50% columns at the ends. A corner stacks the window in the end column, above or below what is there, so four corners are two columns of two. Up or down alone does that on the window's own side. Up with down, or left with right, centres its column. With two columns both go to 50%, so the right one reaches the screen's edge. niri holds a lone column at the top left, so a window alone on its workspace floats for the right half and the corners other than top left; Left or a full stack brings it back. repeat=false, so a held key does not fire again. Keys within 200 ms are one chord. A key of the chord just done, pressed again within 300 ms, does nothing. Unit tests cover chords and slips.
Task manager procs.rs, Nexus Task Manager page under Services Programs grouped by name with their processes together, windows first as Apps, the rest as Background. Summary, search, sort by CPU, memory or name. niri, systemd and the shell are not listed. End task needs two clicks within 4 s and sends SIGTERM to the whole group. Quick toggle, Ctrl+Shift+Escape.
Force quit procs::kill_focused, Mod+Ctrl+Escape SIGKILL to the focused window's process, no question asked, and it works past a game holding the keyboard. niri, systemd and the shell are refused. Closes nothing else in that app's process tree.
QR qr.rs, popout A code of the clipboard's text. Black on white with a quiet zone. Scans a clipboard only when asked. Quick toggle, popout qr.
Widgets deskwidgets.rs Task Manager, Color Picker (recent colours, click to copy), QR Code (click takes the clipboard, kept in the layout).
Keys assets/niri/caelestia.kdl The user's DMS keys, mapped to the shell, and their niri binds. caelestia-recommended.kdl holds their layout, input and animations. Text capture moved to Mod+Alt+T, because Mod+Shift+T floats a window.

Not covered by a shell command: workspace rename and Night mode, so those keys are unbound.

Services, Language, Game Mode targets, sub-pages (2026-11-05)

Checked against ServicesPage.qml, LanguageAndRegion.qml, GameModeTargetsPage.qml. A test, audit_rows (--ignored), lists rows with nothing behind them.

Area Now Still different
Default player The menu lists running players (syspages::services). Default is Auto, a change: the original ships "Spotify". playerAliases are not read.
Services Wi-Fi rescan restored and drives nmcli while Wi-Fi lists show. Max volume reaches 200%, was clamped at 150%. Printers opens system-config-printer. GPU has no NVIDIA entry: there is no nvidia-smi reader. Calendars not ported, needs calendar_events.py. On-screen keyboard has no niri counterpart. System accessibility is our Accessibility page.
Language & region Search, Searching and No matching rows, pick, Apply location, Use auto-detect, as the original's flow. Apply and auto-detect are rows, not filled buttons. Shell language stays hidden: translations are not ported.
Game Mode targets Custom regex and Add, running windows menu, the list with remove. It was blank before. Rows are Nexus rows; list entries use a generic icon, not the app's.
Dead links BarWeather's Location goes to Language, Pick custom logo opens a file dialog. Gone, nothing behind them: greeter media rows, Add VPN provider, the lock's own wallpaper row.

AI Assistant, its settings, ai defaults and the sidebar's tab rows are removed at the user's request.

Installer and stock dotfiles (2026-11-05): niri additions

scripts/lib/tui.sh is the original's full-screen installer in bash: steps, ticks with what each does, review, install. ./install.sh --dry-run goes through it all and only reads the system. Tested through a pty: every screen, nothing written. 05-extras.sh was run in a sandbox HOME with stand-in pacman; a sudo step reached the real pkexec, which was refused, so the PAM steps are unproven.

assets/dots holds the user's kitty, fish and fastfetch configs as stock, without their server alias. starship-colors.toml is their two-line prompt, rebuilt from a screenshot because 04-app-themes.sh had overwritten their only copy: installed mode now skips opt-in apps, so that cannot recur, and 05-extras.sh backs a starship.toml up first.

Weather location (2026-11-05)

Weather::setLocation, ported: the weather thread read its location once at start, so a saved place did nothing until a restart, and the auto-detected city stayed. weather::set_location wakes it with the place and its name. An ignored test, a_new_location_reaches_the_readings, runs it against the real services: a reading follows with no restart, and auto-detect comes back. The field now searches as it is typed; results repaint when they arrive, and a click no longer starts the search again. Searching and No matching are on the field, so rows do not jump, and results show their timezone, as the original's do.

Scrolling in Nexus (2026-11-05)

The original's pages are StyledFlickables. Nexus now scrolls by dragging anywhere: 8 px makes a press a drag, controls that drag keep their press, and a flick runs on at up to 3000 px/s, slowing at Qt's 1500 px/s². It covers pages, the side list, menus and the font dialog. A wheel notch moves 60 px, was 15. The launcher and sidebar lists are still wheel only. A unit test covers click against drag and the flick; the real feel is the user's to judge.

The session menu beside an open sidebar: its background ignored the sidebar's offset, and the sidebar's click-outside covered its buttons. Fixed in ui.rs.

Bluetooth, Wi-Fi errors, wallpaper row, Terminal tab (2026-11-05)

Area Original Ours Notes
Bluetooth Quickshell.Bluetooth bluetooth.rs, BlueZ over D-Bus Was one-shot bluetoothctl with its output thrown away, so failures vanished and no one answered a confirmation. An agent is registered only during a pairing the user started, so nothing pairs by itself. Scanning stops first. Success and failure show as toasts in plain words. Devices that want a typed PIN are refused with a message. Tested against the real BlueZ with a device that does not exist: agent registers, readable error. Pairing a real device is not tested.
Wi-Fi Quickshell.Networking nmcli, reported The same fault: every action now runs off the main thread and shows nmcli's error. The user has no Wi-Fi adapter, so none of it has run against one.
Processes - popdata::spawn Children were never waited on, leaving a zombie per action.
Wallpapers WallpaperList.qml, WallpaperItem.qml Launcher::paint_walls PathView along a line: odd count, middle full size, the rest at 0.8, wraps round, opens on the current one. Left, Right, wheel, typing, click. Not ported: the live preview on the desktop after 500 ms, category tabs, video thumbnails. Mod+Y and the quick toggle lost the mode to opened clearing the search: fixed.
Terminal tab TerminalTab.qml dashterm.rs Runs fish -c, cd, clear, colours, history, Tab completes with fish's own. Ctrl+C stops, Ctrl+L clears. Typing goes to it whenever the tab is showing. By unit test and snapshot; not typed into live.

Added panels: list saving and Attach to the border (2026-11-05)

Store::set replaced any list on a key's path with an object, so one option turned bar.panels into {"0": {...}}, the config ignored it, and the panel and its items were gone. A list is now walked by index, and a number with no list writes nothing. Store::reload drops the bad value left in a file. A unit test covers it.

Attach to the border (a niri addition, the user's request): Panel.attached draws the panel in the drawers' shape, flared into the frame on any edge, with no margin, shadow or border line. Hiding draws it back into the frame.

Installer: footprint and bulk install (2026-11-05)

The first real install added 26 packages, 386 MB, of which rust was 309 MB though ~/.cargo already had a compiler. Three failed (gpu-screen-recorder, xdg-desktop-portal-gnome, bibata-cursor-theme), and the reason is unknown: stderr was thrown away. yay then pacman ran per package, each with its own prompts.

Now everything goes in one transaction after one password, then AUR packages in one yay call, one at a time only if that fails, with the output in the install log. Unused packages left the lists, from a search of the code: playerctl, jq, aubio, libcava, slurp, mpv, bibata-cursor-theme, upower, lm_sensors, ddcutil, imagemagick, trash-cli. These became Setup ticks: recording, text capture, screenshot editing, portals, keyring, Qt, and CJK fonts, off by default. 06-cleanup.sh, on a tick, removes the build tools this run added and target/. A compiler already present is kept and a release's bin/ needs none. Tested with stand-in tools in a sandbox; not run on a real clean system since these changes.

Also in the installer: an Apps page offers a terminal, file manager, editor and browser, only for kinds the system has none of, the first of each ticked. caelestia apps default records what the keybinds open, without replacing a choice. On Arch, ensure_yay builds yay-bin when there is no AUR helper. The Material cursor ships in assets/cursors (GPL-2.0-or-later, from varlesh/material-cursors), because the AUR package needs Inkscape to build. Login screen installs caelestia-sddm-locklike-git and writes /etc/sddm.conf.d/zz-caelestia.conf, which sorts last so it beats any other file there.

Installer apps: scripts/lib/apps.sh holds seven pages (terminal, file manager, editor, browser, Discord, music, extras). Any number can be picked, each page has None, and what is already here shows as installed and cannot be toggled. Names were checked against pacman and the AUR. Own apps (niri addition, S027): Damson (editor), Nacre (browser), Mulberry and Audiphi (music) come first on their page, are marked recommended and are ticked while not installed; the package star then loses its mark. own_url asks the Forgejo API (/api/v1/repos/astar76/<Repo>/releases/latest) for the *-Linux-x86_64.tar.gz asset, falling back to the release known at S027; install_own runs the archive's own install.sh --user (binary, desktop file, icons in ~/.local). An own app shows only when its download answers (HUB_URL overrides the hub), so machines off the tailnet never see it. Islet (iPhone only) and Dezio (Discord bot, no release) are left out. The dock's default pin is thunar (org.kde.dolphin and firefox before), and the chosen file manager and browser are pinned.

SDDM: caelestia now renders ~/.config/caelestia/templates to state/theme, has scheme get, and runs postHook from cli.json, as caelestia-cli does. A text colour maps to onBackground. The installer runs the theme's first sync, and on its own tick adds a sudoers line for that one script and the two hooks.

OSD: brightness on desktop monitors needs ddcutil, as Brightness.qml uses. Not ported, so external monitors have no brightness slider. The microphone slider shows only when there is a default source.

Monitor brightness over DDC (2026-11-05)

ddc.rs ports Brightness.qml's ddcutil path: detect --brief, getvcp 10, setvcp 10, at most one write per half second per monitor, newest value only. Brightness is now per monitor, so the slider shows on a screen with DDC or a backlight, and a key acts on the focused screen. Not ported: the original's verify-after-write, hotplug re-detection, and Apple displays. Parsing is unit tested and detection reads the real monitors: HDMI-A-1 answers, DP-1 says it has no DDC/CI, so it has no slider.

Game mode: autoEnableRegexes defaults to ^steam_app_.*$, a change at the user's request. The original's list is empty and shows that pattern as the field's placeholder.

Dock (2026-11-06)

Pins and windows resolve through apps::find: an exact desktop id or window class first, then the rest. Bulk Rename also runs thunar and sorts first, so the pin thunar showed it, and unpinning looked for the wrong id. Drag to reorder is Dock.qml's: past 6 px the icon follows the pointer along the bar at 80%, passing another swaps them, and the drop saves pinned apps in that order. Unpinned running apps keep their place for the session only, as in the original. Not ported: the drag's slide animation between slots. Unit tested; no real pointer drag was run.

Installer window rules: assets/niri/caelestia-windowrules.kdl is the file Nexus's Window Rules page manages, written once with the recommended settings, so its rules show there. Steam games open fullscreen; no output is set, as names differ per machine. Steam's notification toasts float at the bottom right and do not take focus. The settings page keeps what it has no field for, such as the position. Validated with niri; no real Steam popup was seen.

Audio tap: stuck bars (S001, 2026-11-13)

pw-record ... - (pipewire 1.6) writes an AU file to a pipe: a 24-byte .snd header and big-endian samples. The tap decoded S16LE, so cava saw loud broadband noise whose level only roughly followed the sound: a loud test tone moved the bars, browsers and system sounds barely did, and the shape stayed the same. --raw gives native S16LE, as AudioCollector.cpp's PipeWire stream. The stream is now node.passive like the original's, so the tap alone no longer keeps the sink awake. Also fixed: a window covering a screen skipped its background before the visualiser's autoHide fade ran, freezing the last bars in the gaps (now it fades first); turning the beat tracker on or off restarted the whole tap and reset cava's sensitivity (now a flag, as the original's separate BeatTracker and CavaProvider); Restart Shell's exec left the old image's children as zombies, and every pw-play sound left one (now reaped). Per-chunk work is Bars::feed / decode, tested by audio::tests::sine_lifts_its_own_bar.

Restart side effects: tray and the music player (S002, 2026-11-13)

The original gets its tray from Quickshell's SystemTray; ours is its own watcher and host (tray.rs), so this is ours alone. The watcher took org.kde.StatusNotifierWatcher and only then put its object on the bus. zbus drops a method call that arrives before the object server runs, with no reply, and ksni (Mulberry's tray) calls RegisterStatusNotifierItem the moment the name changes owner, holding its tray lock until the reply. So after a restart some items were missing, and an app whose UI thread updates its tray (Mulberry's play state) froze until that shell exited: 5.2 s blocks in a stand-in, for ever on the live shell. Now the watcher is served before the name is asked for, the name is queued rather than given up, a new watcher re-scans org.kde.StatusNotifierItem-* / org.freedesktop.StatusNotifierItem-* names (items that never register again), entries are kept by owner and path so a re-scanned item that registers again stays one icon, and the host registers again with any new watcher. Calls to items time out after 2 s, to players after 1 s (zbus waits for ever by default). The tray's > vanished with the items; hovering an empty tray no longer collapses it, so a list refilled under the pointer comes back expanded. Restart Shell (exec) also stops the last image's helpers (marked by CAELESTIA_HELPER in their environment) and reaps each inherited child on its own, and fire-and-forget commands (wpctl, caelestia, udisksctl, autostart, ...) go through services::detach, which reaps them. Tests: tray::tests.

Motion pace and the motion mode (S026, 2026-11-13): a niri addition

Every moving part, how it is paced, and its frame rate before S026. Nested niri (772x815, 60 Hz), test copy of the config, a test tone on a null sink with a stand-in MPRIS player, CAELESTIA_PROF=1, 5 s windows; the lock is counted from WAYLAND_DEBUG commits (it had no profile row). Load average 2 to 5 (another session builds on this machine).

Part Paced by (before) fps before
Desktop visualiser, shapes, desktop lyrics (background layer) frame callback, at most one per 25 ms while bars arrive; nothing woke it when the 25 ms ran out, so it waited for the next audio burst 19.3
Bar now-playing bars own repaint, one per 50 ms (wl.rs "20 a second are enough") 13.5 to 13.9
Panels, dashboard, launcher, sidebar, OSD, toasts, popups, notifications frame callback while animating() 36 to 50 (dashboard Media tab)
Lock screen (password shapes, shake, spinner, dino) 33 ms timer, no frame callbacks, full repaint 24.3 while typing
Nexus flick 16 ms timer, a fixed 16 ms step whatever the real gap about 60, slower than real time when late
Dino (sidebar, lock) the surface's pace; the game steps in fixed 16 ms ticks by elapsed time follows its surface
Time-based values (Anim, bars easing, media cover, wave, shapes) elapsed time; shapes capped a step at 50 ms, which slows them under 20 fps follows their surface

Lyrics: the dashboard list and the desktop lyrics already move at the original's speed (LyricList.qml highlightMoveDuration large, 600 ms; DesktopLyrics.qml 200 ms OutCubic; index read every mediaUpdateInterval). The desktop slide ran on the 19 fps background, which is what looked slow. The dashboard list read the last polled position, up to 500 ms old; it now carries it forward like the desktop lyrics.

appearance.motionMode (pace.rs, Nexus Appearance, Theme & Effects, "Motion", under Animations): one pacing rule for the panels, both bar layers, the background, the lock and Nexus. A part with its own pace own (zero means every frame callback) draws at most every gap(own): Normal min(own, 25 ms), Smooth zero, Performance max(own, 66.7 ms). A part held back schedules one loop wake for when it may draw, so it never waits for an unrelated event. Frame callbacks are still requested only while something moves, so idle stays at 0 frames in every mode. The capture overlay and its pill are not paced: they follow the pointer. Game mode is unchanged: it turns animations and the visualiser off, whatever the mode.

After S026, same setup (nested niri, test tone, load 2 to 5; frame rates per second, 5 s windows):

Part Before Normal Smooth Performance
Bar now-playing bars 13.5 35 to 38 31 to 33 13.8 to 14.6
Desktop layer with bars (visualiser, shapes, desktop lyrics) 19.3 33 to 34 42 to 44 13.2 to 13.6
Dashboard Media tab (panels layer) 36 to 50 40 to 41 65 14.8
Lock, typing (shapes, shake) 24.3 38 46 not measured: the nested window was out of view
Idle desktop, idle lock (no player) 0 0 (one clock repaint)

Smooth stays under the nested window's rate when one frame's work (5 to 9 ms for the panels plus the background) misses a callback. The dashboard Media tab never idles, before or after: its shape spins slowly when nothing plays (dashmedia.rs draw_material_shape, as dash/MediaShapes.qml). CPU, % of one core, desktop with music: 13% before, 16 to 17% Normal, 21 to 22% Smooth, 9 to 10% Performance; dashboard Media tab 39 to 44% before, 40 to 41% Normal, 61 to 67% Smooth, 16 to 18% Performance. The previous phase's live table: base 16%, dashboard 74%. Game mode: the audio tap stops (no pw-record child) and the background layer paints once in 5 s with no animation running, in the old build and the new one. One visible nested run showed 38 background frames a second at 0.3 ms each with game mode on, not reproduced: left for the live check.

Bar items and popouts sweep (S003, 2026-11-13)

Compared file by file with modules/bar/components/** and modules/bar/popouts/** at a0bc311; findings are §3.1–§3.15 in ISSUES.

Area Original Ours Closeness Notes
Media bars Media.qml ui.rs paint_media_bars exact logic Heights ease 50 ms OutQuad (anim::OUT_QUAD), parked at 3 px with animations off; the bars keep repainting on their own path while they ease.
Keep awake KeepAwakeWidget.qml ui.rs close Inner-width button, secondaryContainer / surfaceContainerHigh, autoHide read. The chip's fade and scale are not ported. Its popout (KeepAwake.qml) is not ported: a click toggles, as the button inside does.
Power, show desktop Power.qml, ShowDesktop.qml wl.rs exact logic Right-click opens Nexus on Session and Desktop. The arrow turns over FastSpatial.
Keyboard layout KbLayoutIndicator.qml ui.rs close Right-click menu. The label is a short form of niri's layout name (niri gives names, not codes).
Shortcuts, clock ShortcutsWidget.qml, Clock.qml wl.rs toggle_popout exact logic A click toggles the popout; the shortcuts icon turns onSecondaryContainer while its popout or menu is open. The clock's 150 ms hover delay is still not ported.
Status icons StatusIcons.qml ui.rs status_hover close The icons spread by spacing.small while hovered (DefaultEffects). Per-device Bluetooth icons are not ported (§3.9).
Workspaces OccupiedBg.qml, GapMarkers.qml ui.rs paint_workspaces close Occupied strip with joined neighbours, gap hairlines; their fades are not ported.
Popouts Content.qml, BarComponentContext.qml popouts.rs close Inset padding.large; menu row hover rounding.medium. Not ported: the cross-fade between popouts (§3.13) and the preview scales (§3.14). Hover bridge checked on all four edges by snapshot.

Lock screen sweep (S007, 2026-11-14)

Compared with src/kde/shells/caelestia.desktop/contents/lockscreen/** at a0bc311; findings are §3.56–§3.68 in ISSUES.

Area Original Ours Closeness Notes
Power buttons Session.qml wl.rs lock_pointer exact logic Run by the shell, not niri's spawn, which niri ignores while locked: that is why only Sleep worked. Commands from session.commands as the session menu. Hover colour, 1.05/0.88 scale and the label fade; actions fire on release. Switch User is left out (D-009).
Password shapes PasswordPill.qml delegate lockscreen.rs typed_look, gone_look exact logic Pop in, slot 1.3 wide, morph to a circle at 360 ms (shapes::Morph, 350 ms FastSpatial), shrink to 2/3; a deleted shape fades to 0.5 in place over 120 ms. The queue is the original's, offset per lock instead of shuffled.
Pill and enter button PasswordPill.qml password_pill exact logic Width 300 ms OutCubic; Circle↔Arrow morph, colour, scale (0.6 pressed) and glyph fade. The first frame starts settled.
Refusal AuthHandler.qml, LockScreenUi.qml LockUi::failed, settle, status exact logic 3 s grace with the field shut ("Please wait...", error colours), then cleared; the message pops in, flashes twice, leaves after 5 s; a new attempt clears it. No lockout countdown (KDE's faillock text).
Portrait layout button LockScreenUi.qml KeyboardLayoutSwitcher layout_button close Material keyboard glyph for the theme icon input-keyboard; niri's layout name; SwitchLayout Next, which niri allows while locked.
Wallpaper row LockScreenPage.qml NavRow + FileDialog add_niri_pages, PopAct::PickLockWallpaper close Writes lock.wallpaperPath (the original writes kscreenlockerrc). Shown with Sync off; shows the file's name.
Profile shape ProfileAvatar.qml profile exact logic Random other shape every 3.5 s, 800 ms morph.
Left out fingerprint, Howdy, Switch User D-009.
Not ported ResourcesCard.qml level ease, NotifDock.qml motion, MediaCard.qml fade §3.67–§3.69.

--snapshot out.png --lock [--typed] [--wrong] [--frames N] draws the lock; --wrong refuses the typed password, --frames N keeps N frames 40 ms apart as out-NN.png.

Launcher, sidebar, utilities, OSD and session sweep (S005, 2026-11-14)

Area Original Ours Closeness Notes
Empty state ContentList.qml empty launcher/mod.rs empty_text exact logic Extra-large icon beside title and hint, per mode; an empty clipboard no longer adds its own row. Its fade and scale are not ported.
>emoji EmojiItem.qml, Emojis.qml, emojidb.cpp launcher/emoji.rs close, niri addition for the data Ranking, 30 results, favourites (launcher.favouriteEmojis, the heart), emoji-frequencies.json, copy and toast. KDE's dictionary is replaced by Unicode's emoji-test.txt (unicode-emoji, now in the installer's Arch and Fedora tools); emojis.txt in the config or data folder is still read. No trigram index: a plain scan of ~3,800 names.
>keybinds KeybindsList.qml, KeybindItem.qml nexus::keybinds, Entry::Keybind close, niri addition The binds come from niri's config through the Shortcuts page's reader (read only); Enter runs the bind with niri msg action. The original only runs command(...) binds.
Not ported >animations, wallpaper filters and folder tabs, window carousel, scheme preview, mode cross-fade §3.31–§3.35; >search is S017's; KRunner is KDE-only.
Sidebar sidebar/Content.qml sidebar.rs AI tab removed at the user's request; News tab and the tab header open (§3.39).
Recording delete RecordingDeleteModal.qml, DrawerConfirmModal.qml utilities.rs paint_delete_modal close Scrim over the drawer, card with Elevation 3 (the toasts' shadow), Cancel and Delete text buttons; screenshots ask in the row as ScreenshotList.qml does. The card's scale-in is not ported. --snapshot … --utilities [--capture] --confirm ROW shows it.
Keep Awake card (bar popout KeepAwake.qml) utilities.rs paint_awake niri addition Not in the original drawer; kept because the bar's popout is not ported (§3.41). Its switch now ticks.
OSD osd/Content.qml, FilledSlider.qml osd.rs close Microphone slider runs to maxVolume like the volume one. No tick, as in the original. Hover elevation and the WrappedLoader motion are not ported (§3.44, §3.45).
Tick sound Audio.playEffectTick units::tick close Now also on the bar Audio popout's output slider release and the Keep Awake switch.
Session session/Content.qml ui.rs paint_session close Icon over label (label small, 11 pt), height from content plus padding.medium.

Tested by snapshot only (stand-in cliphist, a copied niri config, a test emojis.txt): every launcher mode, the utilities drawer with both delete prompts, OSD, session menu, sidebar. No pointer, no live shell, no sound heard.

Network, Audio, Notifications, Apps, Services, About, Displays sweep (S010, 2026-11-14)

Checked against PageDictionary.qml and the page files at a0bc311; §3.97–§3.123.

  • Network follows NetworkList.qml, NetworkPage.qml, EthernetSection.qml and EthernetDetailPage.qml: security subtitles, the active network opens its details, "Show all networks" past nexus.maxNetworksShown, the Ethernet header with data usage (nmcli statistics), device chips, Connect/Disconnect. Niri change: the captive portal row opens the sign-in page by asking networkcheck.kde.org with curl and xdg-open on the redirect; the result comes as a toast, not an inline status.
  • Audio follows AudioPage.qml, AudioDeviceList.qml, AppVolumes.qml: slider icons, sliders rest while muted, chips, check, sorted lists, placeholders. The per-app mute switches are gone (the original has none; muting an app is its volume at 0).
  • Notifications: Sound effects and Toasts rows rest with their switches, Related settings header, Focus sessions "Running until".
  • Apps: AllApps icons, favourite heart and chevron; AppInfo hero, subtexts, regex-held switches greyed with the list named (live:appRegex:).
  • Services: GPU type Auto/Generic/None. About: logo card with the version, Export/Uninstall icons. Displays: Enabled subtitle, greyed on the last enabled screen (niri addition page).
  • Left out: Quick Share, Plugins, Debug mode, on-screen keyboard, system accessibility (KDE only). Open: Proxy (§3.104), Show inactive devices (§3.109), Ethernet link button and IP/DNS columns (§3.100).

Connected devices: Bluetooth states and input pages (2026-11-18, S011)

Area Original Here Status Notes
Saved devices BluetoothPage.qml livepage.rs BluetoothPage/ItemList, popdata::read_bluetooth close Bonded devices (was Paired), connected first then by name, "Connected • N%" or "Saved", icon chip primary when connected. No Connecting/Disconnecting state.
Pairing list BluetoothPairing.qml BluetoothPairing/ItemList close Every device not bonded, the pairing one first, address under the name, "Pairing...", back to the list once paired. Niri addition: a Forget button on each row, so a device BlueZ remembers without a bond can be dropped and found again.
Pairing Quickshell pair() bluetooth::pair close Niri addition: turns the adapter's Pairable on before pairing; with it off the adapter is not bondable and the device is left trusted but unpaired (the user's iPhone and AirPods). Errors mention forgetting the computer on the device.
Device page BtDeviceInfo.qml bt_info close Wake allowed row (bluetoothctl wake); status reads Connected/Paired.
Input DisplayPage.qml Input section (opens kcm_touchpad, kcm_keyboard) nexus/inputpage.rs niri addition Keyboard (layout, variant, repeat delay and rate, Num Lock) and Mouse & touchpad (speed, acceleration profile, natural scrolling, tap, disable while typing) pages, opened from Connected devices and from Displays. They write ~/.config/niri/caelestia-input.kdl; niri validate checks it before load-config-file, else the old file goes back. Tested in nested niri: the repeat rate stepper, the layout field (niri msg -j keyboard-layouts then listed German) and the tap switch.

Popouts: keyboard layouts and Night Light (2026-11-18, S012)

Area Original Here Status Notes
Keyboard layouts popout bar/popouts/kblayout/KbLayout.qml, KbLayoutModel.qml popouts.rs kb_layout close 320 wide: "Keyboard Layouts", the other layouts as "US - English (US)" (code and short description from /usr/share/X11/xkb/rules/base.xml, as _buildXmlMap/_pretty), a divider, the active one with a keyboard icon in primary. A click runs niri's SwitchLayout { Index } (was qdbus6 org.kde.keyboard setLayout). Rows past the fourth grey out as in the original, but niri itself lists at most four. No hover layer, list animations or the active row's pop-in. Tested in nested niri: German clicked, niri msg -j keyboard-layouts went from current_idx 0 to 1, the bar read "de" and the layout toast came.
Layout status icon StatusIcons.qml kblayoutComp, KbLayout.qml shortLabel ui.rs status_icons, kb_layout close Mono text, lower case, the XKB code ("us", "de"); KbLayoutIndicator upper-cases it (it read "GER" for German before). Opens the popout on hover.
Keyboard layout limit toast KbLayoutModel.qml _rebuildVisible wl.rs hover_popout close On opening the popout with more than four layouts, if utilities.toasts.kbLimit; niri caps the list at four, so it rarely fires.
Night Light popout bar/popouts/NightLight.qml popouts.rs night_light close Auto/Manual button (primaryContainer while Auto), Daylight (Auto only) and Nightlight/Temperature sliders, 2000 to 6500 K. The label follows the drag; the temperature is set on release. Not ported: KWin's live preview while dragging (restarting wlsunset would flash), the wheel steps.
Night Light service services/HyprSunset.qml, NightColorBridge.cpp (KWin Night Color) services::night_light_args, wl.rs sync_night_light niri addition wlsunset as a services::helper child, restarted when its settings change, collected if it quits (a toast says so; nested niri offers no gamma control and it quits there). New keys services.nightLight{Enabled,Auto,DayTemperature,NightTemperature,Sunrise,Sunset}. Auto: day/night by the weather location's sun (-l/-L), else the fixed times; Manual holds the night temperature (-t T -T T+1). Tested in nested niri with a stand-in wlsunset: on/off by settings reload, Auto button and slider restart it with new arguments, none left after SIGTERM or SIGKILL of the shell. Real gamma only on the live session.
Night Light toggle, icon, toast Toggles.qml nightlight, StatusIcons.qml nightlightComp, HyprSunset.qml nightLightToast utilities.rs, ui.rs, wl.rs close Quick toggle bedtime (built-in after Audio Visualiser), status icon while wlsunset runs. The original defines nightLightToast but never calls it; here it says "Night Light turned on/off" under utilities.toasts.nightLightChanged.
Night Light settings KDE System Settings → Night Light nexus/displaypage.rs night_light_rows niri addition Displays → Night Light: on, Automatic, day and night temperature steppers, sunrise and sunset fields. Toast events now show "Night light changes" and "Keyboard layout limit".

Popouts: Privacy and Greeter (2026-11-18, S013)

Area Original Here Status Notes
Privacy tracker services/Privacy.qml, Audio.qml captureStreams, PipewireStreamWatcher.cpp services::classify, watch_streams close Microphone: every Stream/Input/Audio node by application.name (else description, node name), once per app, not the shell's own capture. Video: Stream/Input/Video and Video/Source nodes that looksLikeShare (no shell previews, plasma-screencast-*, cameras or V4L2 inputs), counted after 5 s. Read with pw-dump Node every 5 s and at once when the shell's one pactl subscribe reports a source-output event; no new long-lived process (the original binds PipeWire directly). The same read still drives do not disturb while streaming. The visualiser's pw-record now sets application.name=caelestia-shell (Audio.qml selfAppName) so it is left out.
Privacy status icon StatusIcons.qml privacyComp, entryActive ui.rs status_icons close mic while an app records, else videocam; shown only while in use. privacy is in the default bar.statusIcons after lockStatus, as in barconfig.hpp. An existing config without it gets it from Nexus → Status icons → Add.
Privacy popout bar/popouts/Privacy.qml popouts.rs privacy close "Privacy", a card per kind (Microphone, Video capture) with the apps, or "Nothing is using the microphone or capturing the screen." Tested in nested niri: a pw-record named TestRecorder appeared within a second and left within a second of exiting.
Greeter popout bar/popouts/Greeter.qml popouts.rs GreeterView close 400 square (windowPreviewSize), rounded rounding.large, cropped to fill. A new picture grows out of a random shape of the nine (Circle … Cookie6Sided) to the diagonal over 1800 ms OutCubic; each opening starts on the current one without it. GIFs play (gifs.rs). Left out: videos (no video player in the shell) and TIFF/SVG (no decoder), so those are not listed or offered. Opens on hover with bar.popouts.greeter and bar.greeter.showOnHover, on click when showOnHover is off (Bar.qml, Greeter.qml). Off by default as in the original. Tested in nested niri by hovering the greeter: slideshow steps every 5 s, the reveal over a playing GIF.
Greeter service services/GreeterService.qml popdata::Greeter close Time of day: the period's media setting. Slideshow: the picked files, then every picture under the folders (recursive, by name), else the four time-of-day files; it stays on the media it showed when the list changes. The timer runs only while a greeter popout is open (wl.rs greeter_slideshow, every round(slideshowInterval) s, at least 2), random never repeats. lastMedia/lastIndex (Qt Settings "Greeter") live in ~/.local/state/caelestia/greeter.json. The list is read when the popout opens.
Greeter settings nexus/pages/panels/taskbar/BarGreeter.qml nexus/livepage.rs greeter close Only the chosen mode's rows show (they all showed before). Morning/Afternoon/Evening/Night Media pick a file ("Not set" or its name); Add Media Folder and Add Media File add to slideshowFolders/slideshowGifs, each listed below with × (folders by path, files by name). The add rows' subtitles drop "videos". Folder paths elide at the end, not the middle.

Video wallpapers: a niri addition through mpvpaper (2026-11-18, S014)

Area Original Here Status Notes
Player components/images/CachingVideo.qml (QtMultimedia in the wallpaper) wl.rs sync_video, services::mpvpaper_args niri addition One mpvpaper per output, a services::helper child (dies with the shell), on the background layer under the shell's bottom-layer surface: loop panscan=1.0 (PreserveAspectCrop), started paused and muted, controlled over $XDG_RUNTIME_DIR/caelestia-mpv-<pid>-<output>.sock. The shell leaves its picture out on an output only once mpv answers there, so a slow start shows the frame, not a gap. Started over for a new video or when sound is switched; stopped when the wallpaper is a picture or the background is off. Not installed: a toast, and the frame stays as the wallpaper. Quit by itself: a toast, the frame, and no retry until the wallpaper is picked again.
Pause rules checkPauseState services::video_paused different videoWallpaperPaused and game mode (GameMode.qml sets videoWallpaperPaused; here it pauses without touching shell.json). Fullscreen: niri has no fullscreen flag, so a window as large as the output on its active workspace (the fullscreen set the notifications use). Tiled: a tiled window smaller than that. Each output looks at its own active workspace; KWin's version looked at every window while its screen had the focus. All displays: any output's windows pause every video.
Sound checkMuteState, the AudioOutput loader sync_video close Sound off runs mpv with no-audio (no stream opened). On: only the first output's video is heard (isFirstInstance), muted while the active MPRIS player plays when videoWallpaperMuteOnMedia is on.
Colours and thumbnails Wallpapers.qml requestVideoThumbHifi, setWallpaper paths::video_frame, CLI dynamic, background::decode close ffmpeg -vf thumbnail -frames:v 1 into ~/.cache/caelestia-niri/wallpapers/<hash>/first_frame_hifi.png, once per video. The CLI takes the colours from it; the shell decodes it wherever a video stands for a picture (the wallpaper under the video, the lock, Nexus wallpaper thumbnails). Video files: Images.qml's list (mp4, webm, mkv, avi, mov, wmv, flv).
Settings WallpaperSettingsPage.qml "Video Wallpapers" nexus/mod.rs add_niri_pages close The six rows under their header, then "Playlists & Automation" over the slideshow rows, as the original. All rows shown (the old page hid two outside Hyprland).
Quick toggle Toggles.qml pauseWallpaper utilities.rs, wl.rs close Built in after Restart Shell, icon pause, switches videoWallpaperPaused. Listed in Nexus Quick toggles.

KDE colour scheme: a niri addition for other apps (2026-11-26, S025)

Area Original Here Status Notes
Colour scheme file none (Plasma writes it on KDE) assets/templates/kde-colors.colors, themes::APPS "KDE / Qt apps" (enableKde) niri addition matugen renders ~/.local/share/color-schemes/Caelestia.colors on every colour change: all [Colors:*] groups as r,g,b; surface → Window, surfaceContainer → View, surfaceContainerHigh → Button, primary → Selection, onSurface → ForegroundNormal, error → ForegroundNegative. On by default (no program to look for); off leaves the files as they are.
kdeglobals none themes::merge_kdeglobals, apply_kde niri addition Replaces only the [Colors:*] groups and sets [General] ColorScheme=Caelestia and AccentColor (the Selection background); every other line is kept as it was. Atomic write, mode kept (0600 when new). Read by Mulberry, Damson, Medlar, Nacre and Qt/KDE apps.
Portal accent none themes::gnome_accent, apply_kde niri addition The same step sets gsettings color-scheme (prefer-dark/default) and accent-color (nearest of GNOME's nine names by hue), which xdg-desktop-portal-gnome serves as org.freedesktop.appearance; Tunal reads only the portal.

Visualiser follows the system output (S031)

Cause (not reproduced live, found by reading): the tap was only restarted when its reader thread ended or its want changed. A pw-record stalled on an old or suspended sink, or left linked to the previous default sink after a switch, stayed alive and the idle filler turned its silence into flat bars for good. Fix: the audio thread checks pactl get-default-sink every 2 s and restarts pw-record when it changed, or when no data came for 4 s while the sink is RUNNING (audio::must_restart). The bar now-playing bars no longer need a player to be playing (they follow the output); lyrics and shapes still do. Game mode still switches the edge visualiser and bar bars off on purpose and Config::load restores them.

S015 Network VPN and IPv4 (niri addition)

  • Add VPN page imports a WireGuard .conf or OpenVPN .ovpn file by path over nmcli con import (optional rename). The original's providers (WARP, NetBird, Tailscale, custom commands) are left out on purpose. The "VPN providers" toggle is hidden.
  • IPv4 section (Automatic or manual address/prefix, gateway, DNS) on the Ethernet and saved-network detail pages, over nmcli con modify then con up. utilities.toasts.vpnChanged silences VPN success toasts. Not compared with the original's QML (clone did not finish).

S016 Calendar sources and agenda

  • calendar_events.py ported to Rust (calendar.rs), not a helper: nothing needs Python. Reads .ics paths and http(s)/webcal URLs (curl, 15 s), the original script itself was not read (clone unfinished): recurrence DAILY/WEEKLY/MONTHLY/YEARLY, COUNT, UNTIL, EXDATE, all-day. Agenda layout and the Calendar sources page rows are a best guess to compare with a0bc311. notifs.focusCalendar is a toggle on the Focus page.

S019 Config paths into the niri folder (D-007)

Every place the shell, CLI and scripts touch. paths.rs is the one source; migrate() runs at the start of the shell and the CLI (snapshots do not migrate, they fall back to the old folder).

What New Old (copied once, read while the new is missing) Code
shell.json, cli.json, shell-tokens.json, templates/, context_menu.json, emoji-frequencies.json, dino_highscore.txt ~/.config/niri/caelestia/ ~/.config/caelestia/ paths::config_dir()
scheme.json, wallpaper/path.txt, lock-proved, colors, theme/, notifs.json, timers.json, capture.json, launcher-usage.json, notes*, lyrics/lyrics_map.json, greeter.json, gamemode, crash.log, recorder.log ~/.local/state/niri-caelestia/ ~/.local/state/caelestia/ paths::state_dir()
desktop_layout.json ~/.local/share/niri-caelestia/ ~/.local/share/caelestia/ paths::user_data_dir()
lyrics, notification images, album covers, weather, wallhaven ~/.cache/niri-caelestia/ none (rebuilt) paths::cache_dir()
caelestia.kdl, caelestia-binds.kdl, caelestia-windowrules.kdl, -outputs, -input, -colors, -cursor, -recommended, gamemode.kdl unchanged: ~/.config/niri/ niri includes them by name from the user's config.kdl, which is never edited
installed assets, installer log, build cache, matugen work dir, video frames unchanged: ~/.local/share/caelestia-niri, ~/.cache/caelestia-niri installer and packaging names
terminal sequences, other apps' colour files unchanged contract with other programs (~/.cache/caelestia/terminal-sequences)
scheme.json copy also written to ~/.local/state/caelestia/scheme.json while that folder exists D-012: other apps read the palette there

Migration: per folder, copies files missing in the new one (never overwrites, never deletes or moves the old), then writes .migrated-from-caelestia; with the marker it does not run again, so a file the user deletes in the new folder stays deleted. Niri addition (the whole move is one).

S017 — launcher web search and File Types

  • niri addition: launcher/websearch.rs holds 8 engines and launcher.webSearch stores the choice (original: kio providers + kuriikwsfilterrc). Row text and opening (xdg-open) follow AppList.qml/KRunnerItem.qml; the Apps page "Search" section follows AppsPage.qml.
  • niri addition: Apps > File types page (nexus/filetypes.rs): mimeapps.list defaults plus common types, set with xdg-mime default. The original has none.
  • niri addition (S040): the Apps page's File manager, Browser and Media playback choices are also written to mimeapps.list (filetypes::sync_apps: inode/directory; http, https, text/html; mp4, mkv, webm) on change and once at shell start, with a one-time mimeapps.list.bak-caelestia. System Default writes nothing; a command no desktop entry runs writes nothing and the row says so. Not ours: browsers that open folders through the org.freedesktop.FileManager1 D-Bus service reach whichever file manager owns that name (nautilus here), not mimeapps.

Shell language (S018, 2026-12-01)

Piece Original Ours Notes
Catalogues shell/translations/caelestia_<code>.ts assets/translations/<code>.tsv via tools/ts-to-tsv.py 22 languages; sr and vi left out (nearly empty at a0bc311). Unfinished, plural and %1 entries skipped.
Lookup qsTr() per context translate::tr, called in TextEngine::shape, elide, wrap niri addition: keyed by the English text, contexts ignored (first wins). Any text equal to a source string is translated, including a user's own; dynamic strings (built with format!) stay English.
Language row LanguageAndRegion.qml SelectRow general.language, "System language" follows $LC_ALL/$LANG Applied in units::apply on every config reload.
Piece Original Ours Notes
Overview hot corners Overview panel, overview.* wl.rs overview_corner, config::Overview niri addition: the corners run niri msg action toggle-overview; the panel and its other rows are left out (D-004).
Game mode rows GameMode.qml game_mode_shell, background.rs disableVisualizer and disableDesktopLyrics now gate those two; the rest stays always off.
Screen capture show buttons no reader outside Nexus hidden in add_niri_pages Left out: nothing to attach to.

S029 — Reorder favourite apps (niri addition)

The original has no favourite reorder. Favourites follow launcher.favouriteApps order in the app picker (Simple row, Default "Favorites" category) and the launcher's empty-search list. Dragging a favourite tile moves it to the slot under the pointer (primary outline + ghost); move_favourite does an array move in the list, regex entries keep their place. Nexus: All apps page has a "Favourite order" card, a click moves a row up one place.

S030 — Dock running indicator and close rows (niri addition)

Original clone was unavailable, so Dock.qml's indicator was not compared. Every dock item with windows gets a small dot on the edge toward the screen rim (pill, in primary, when focused; onSurfaceVariant dot when open but unfocused). The dock menu gains "Close window" / "Close all windows" (niri CloseWindow per window id) and End task now arms ("Click again to end") then sends SIGTERM to the windows' pids (procs::pids_of_windows, session processes excluded). Menu rows show only while the app has windows.

S032 — Workspace right-click window menu (niri addition)

The original has no such menu. Right-clicking a workspace pill (Kind::WsMenu) lists that workspace's windows (app icon, title; focused in primary, floating marked), then "Workspaces settings" below a separator; the item's empty space keeps the plain settings menu. Clicking a window opens its live actions through niri IPC by window id: Focus, Floating (ticked when floating), Fullscreen, Maximize column (focuses first: MaximizeColumn takes no id), width 1/3, 1/2, 2/3, Full (SetWindowWidth SetProportion), move to the workspace above/below or by chip, move to each other output, Close window. Runtime only: nothing is written to any config file. Stale ids are dropped; a window gone from the workspace returns the menu to the list.

Installer options (S021, 2026-12-01): niri additions

  • Setup checklist: new nightlight (wlsunset), clipboard (cliphist, wl-clip-persist; moved out of the Tools group), video (mpvpaper from the AUR plus ffmpeg, off by default). tray now installs xembed-sni-proxy-standalone-git on Arch and writes ~/.config/autostart/xembedsniproxy.desktop unless the user's niri config or autostart already starts it. Portals, keyring, Qt, automount and the lock PAM file were already there.
  • --yes now takes the Setup screen's default ticks minus the login screen (before, 05-extras did nothing with --yes because OPTIONS was empty).
  • Packages: Arch pam, libcava (AUR), aubio, util-linux; Fedora pam-devel, pipewire-utils, aubio, util-linux; Debian libpam0g-dev, pipewire-bin, libaubio5, util-linux, and qalc instead of libqalculate-dev (the library has no qalc binary). Fedora/Debian have no libcava or mpvpaper package; 05-extras warns.
  • 03-niri.sh: lines after include "caelestia.kdl" win over it, so an outputs include (DMS's dms/outputs.kdl) or XF86 audio/brightness binds there move the include to the end, with a backup, checked by niri validate and put back if refused.
  • 02-build-shell.sh warns when sounds, the font, the dino pictures or pages.json are missing from the data dir, or when CAELESTIA_DATA_DIR points elsewhere.
  • End of the install: settings and state paths, and the lock preview offer while the shell runs.
  • Pruned: upower.service enabling (nothing in the shell talks to UPower); pkgconf kept but relabelled (wayland-sys needs it, not libcava/aubio, which are loaded with dlopen). Every other package was found in use by grep (lspci, qalc, emoji-test.txt, gio, pactl, bluetoothctl, brightnessctl, notify-send, swaylock, swayidle, ddcutil, tesseract, satty/swappy, gpu-screen-recorder, pw-play, pw-dump, lsblk, udisksctl, secret-tool, polkit-gnome, matugen, grim, curl, wpctl, xdg-open, powerprofilesctl, nmcli, ffmpeg).

Clean-install check (S023, 2026-12-01)

  • A stock config.kdl and our own starship.toml are no longer backed up on install or rerun; the App colours page falls back to the installed themes when the CLI cannot list them (release bundle). Music page pre-ticks only the first own app (Mulberry), user's choice. Results: docs/tests/S023.

Apps follow the desktop colours (S039, 2026-12-03): niri additions

KDE's theming made apps load the colour files for the original. Here themes::install_files runs link_configs after every colour change, for the enabled apps only: kitty.conf gets include themes/Matugen.conf, each gtk.css @import url("colors.css"); on top, btop.conf color_theme = "matugen" when its theme names no file, cava's [color] theme='matugen' when it names none, and qt5ct/qt6ct.conf custom_palette=true plus color_scheme_path (created when the tool is installed and the file is missing). Only existing files are changed otherwise, with a .bak-caelestia copy first. adw-gtk3 / adw-gtk3-dark follow the scheme's mode in gsettings and gtk-3.0/settings.ini. kitty gets SIGUSR1 and cava SIGUSR2 to reload. The GTK template gains libadwaita's dialog, thumbnail, secondary sidebar, headerbar backdrop, destructive and error names. A wallpaper (dynamic) scheme now also copies scheme.json to the old place (D-012), as scheme set already did. The installer's Qt tick writes a qt6ct.conf when there is none. Proved on a temp HOME with copies of the user's configs and stand-in gsettings and pkill; not seen in a running app.