aboutsummaryrefslogtreecommitdiffstats
path: root/config/config.kdl
diff options
context:
space:
mode:
authoruser <user@clank>2026-08-19 15:25:28 +0200
committeruser <user@clank>2026-08-19 15:25:28 +0200
commit49ac13f70aa3a9224e90699fe68d8463909239db (patch)
tree303c3cee9492e23de6a1f0afc7b2feffeba5c6aa /config/config.kdl
parentslosh: the logo flies into place -- a particle engine, statelessly (diff)
downloadslosh-49ac13f70aa3a9224e90699fe68d8463909239db.tar.gz
slosh-49ac13f70aa3a9224e90699fe68d8463909239db.tar.xz
slosh-49ac13f70aa3a9224e90699fe68d8463909239db.zip
slosh: layout files are *.layout, not *.layout.kdl
The old name argued that the extension should say how to read the file. The argument lost to a collision: zellij speaks the same KDL syntax under that same extension with a different schema, and to anyone arriving from there .kdl said *whose* file it is -- naming the wrong owner is worse than not naming the parser. So a layout is x.layout, a project's is slosh.layout, the name says what the file is and --check says how it was read. (It is still KDL underneath; point your editor's highlighting at *.layout.) Nobody's checked-in workspace vanishes on upgrade: the project scan still finds slosh.layout.kdl, never writes it, and where both spellings exist the new one wins, because two files disagreeing needs one answer. The unparseable-file heuristic in --check learned the new suffix -- it matched '.layout.' with a trailing dot, which the new name no longer has. The webdemo overlay moves with it (demo.layout), rebuilt and boot-checked.
Diffstat (limited to 'config/config.kdl')
-rw-r--r--config/config.kdl6
1 files changed, 3 insertions, 3 deletions
diff --git a/config/config.kdl b/config/config.kdl
index 6b45a9b..27f842d 100644
--- a/config/config.kdl
+++ b/config/config.kdl
@@ -406,7 +406,7 @@ modal_scrim 120
// directory that *is* a project is never descended into, which is what keeps
// the scan off node_modules without a rule about node_modules.
//
-// A subdirectory is a project when it has a `slosh.layout.kdl` saying what it
+// A subdirectory is a project when it has a `slosh.layout` saying what it
// needs -- or a `.git`, which is the project that has not said yet. Both,
// because a ~/dev of forty checkouts and three layout files would otherwise be
// a picker with three rows, and `C-a W` writes the missing file from whatever
@@ -423,11 +423,11 @@ modal_scrim 120
// guess about your stack from whatever config files it happens to contain. A
// relative `cwd=` in it binds to whichever project is being opened, not to the
// directory this file lives in, so one file is the shape you start every
-// checkout in -- and a project that grows its own `slosh.layout.kdl` wins
+// checkout in -- and a project that grows its own `slosh.layout` wins
// over it, the way an included file is the base and the file including it wins.
//
// Unset, so a project with no layout is one pane running your shell in it:
-// project_layout "~/.config/slosh/project.layout.kdl"
+// project_layout "~/.config/slosh/project.layout"
// ── shaders ─────────────────────────────────────────────────────────────────
//