Skip to content

Feat/zellij integration#9

Open
drivasperez wants to merge 2 commits into
feat/dwm-extensionsfrom
feat/zellij-integration
Open

Feat/zellij integration#9
drivasperez wants to merge 2 commits into
feat/dwm-extensionsfrom
feat/zellij-integration

Conversation

@drivasperez

Copy link
Copy Markdown
Owner

No description provided.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented May 12, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
dwm f1f726d May 12 2026, 08:14 AM

drivasperez and others added 2 commits May 12, 2026 09:02
Add an optional terminal-multiplexer integration so dwm cooperates with
zellij when $ZELLIJ is set. Three small features that are no-ops when
the env var is unset:

  - dwm new: spawn a new zellij tab for the new workspace and suppress
    the stdout cd path (the tab is the new context).
  - dwm switch: focus an existing tab named after the workspace (or a
    glyph-decorated form), falling back to spawning a new tab. Same
    stdout suppression so the source pane doesn't also cd.
  - Hook handler: after writing an agent status file, rename the active
    zellij tab to '<ws_name> <glyph>' reflecting the most
    attention-needing agent (waiting > working > idle).

The new src/zellij.rs introduces a Multiplexer trait with a single
zellij impl, leaving room for a future tmux adapter. Pure
command-construction helpers and a function-pointer runner make the
zellij invocations unit-testable without a real binary.

Tab-existence detection uses go-to-tab-name's exit status rather than
querying zellij for a tab list; the tab-list CLI surface varies across
zellij versions.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@drivasperez
drivasperez force-pushed the feat/zellij-integration branch from 1ab3761 to f1f726d Compare May 12, 2026 08:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant