Adopt Rex in place of herdr, and its session/window/block model for the desktop #4
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Triage: enhancement, needs-triage. Blocked: Rex isn't released for Linux yet. Its public beta is macOS-only; the docs say Linux servers and clients exist but aren't in testing.
Decision
Superlogical's Rex will replace herdr, and fjordxy will be built around it. Every docs page is also available as markdown by adding
.mdto its address.Rex's terms as fjordxy's terms
Rex organises work as session → window → block: a session is a group of related work, a window is a tab holding a layout of blocks, and a block is one application (today, a terminal). Every one has a stable id and an optional label.
Proposal: fjordxy uses the same model for the desktop as a whole.
The point is that a terminal running inside Rex and a GUI app managed by niri are the same kind of thing (a block in a session), so features like the window overview (#3) can treat them uniformly.
Open questions on the terminology:
What Rex gives fjordxy (from the docs, not yet verified)
rex events --all --jsonprints one JSON object per line, the same shape as niri's. ARex.qmlsingleton could mirrorNiri.qml.terminal.process_changed(foreground processname,cwd,pid),pwd_changed,title_changedandchild_exited.program_status_changedandprogram_status_removedevents, with states idle / working / done / blocked (permission, question, auth) / error, plusmsgandprogress.com.superlogical.terminal.format.rex api listandrex api describe(--jsonreturns the schemas). Scripting is in Lua withrex do.herdr touchpoints to replace
flake.nix:31-39, plus theherdrargument threaded throughhm-module.nix,nixos.nixandoptions.nixnix/options.nix:635nix/herdr-config.nixandnix/experience-home.nix:228-241nix/nixos.nix:122PLAN.mdQuestions to answer once Rex ships for Linux
app_id, or does it run inside Ghostty? How do you get from a niri window to a Rex session, window or block? (#3 depends on this.)herdr-config.nixdoes for herdr? Rex is configured in Lua (~/.config/rex/init.lua).