Rename the project to Chandra
CI / test (push) Failing after 16s

moon-plasma / moonplasma / MoonPlasma / Moon Plasma become chandra / Chandra
everywhere: the WIT package (chandra:desktop, chandra:host, chandra:wm), the
MoonBit module (chandra/desktop) and generated bindings, the Rust host,
identifiers (ChandraCompositor), the session script (chandra-session) and
desktop entry (chandra.desktop), config and data paths
($XDG_CONFIG_HOME/chandra, share/chandra/modules), env vars (CHANDRA_*),
UI strings, docs and tests. The test fixture components are rebuilt against
the renamed WIT.

Saved panel.edn and state.edn are still read from the old
$XDG_CONFIG_HOME/moon-plasma until the first save writes the new copy.

The remote repository keeps its experiments/moon-plasma name for now.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DPL5hi3L9oVBoRd373Qr4n
This commit is contained in:
VandClaude Opus 5.5 committed 2026-11-25 17:12:57 +00:00
1 parent 5dfe34027b
commit af774d76fe
323 files changed
+1055 -1013

No files matched your search

+3 -3
View File
@@ -1,5 +1,5 @@
///| Saved state: what the desktop remembers between sessions, as EDN in
/// $XDG_CONFIG_HOME/moon-plasma/state.edn (next to panel.edn, which holds the module list):
/// $XDG_CONFIG_HOME/chandra/state.edn (next to panel.edn, which holds the module list):
///
/// {:layout :tiling ; the Tile | Float switcher: :tiling, :monocle or :floating
/// :recent ["foot" "dolphin"] ; the launcher's recently started apps, newest first
@@ -40,7 +40,7 @@ let wallpaper_keys : Array[String] = ["plasma-glow", "aurora", "starfield", "dus
///|
fn read_state_file() -> Array[(@edn.Value, @edn.Value)] {
let text = @utf8.decode_lossy(@sys.read_file_bytes(state_path()))
let text = @utf8.decode_lossy(read_config_file("state.edn"))
if text.length() == 0 {
return []
}
@@ -241,7 +241,7 @@ pub fn DesktopShell::save_state(self : DesktopShell) -> Unit {
Some(b) => {
let dir = panel_config_dir()
if @sys.mkdir_p(dir) {
let text = ";; Moon Plasma state: restored at the next start\n" + b + "\n"
let text = ";; Chandra state: restored at the next start\n" + b + "\n"
ignore(@sys.write_file_bytes(state_path(), @utf8.encode(text)))
}
}