<feed xmlns='http://www.w3.org/2005/Atom'>
<title>sl0pstatus.git/src/pipe.rs, branch main</title>
<subtitle>zellij status plugin</subtitle>
<id>https://git.sl0p.foo/sl0pstatus.git/atom/src/pipe.rs?h=main</id>
<link rel='self' href='https://git.sl0p.foo/sl0pstatus.git/atom/src/pipe.rs?h=main'/>
<link rel='alternate' type='text/html' href='https://git.sl0p.foo/sl0pstatus.git/'/>
<updated>2026-07-08T16:47:15Z</updated>
<entry>
<title>feat(command): add {focused_pane_cwd} to run commands in focused cwd (#273)</title>
<updated>2026-07-08T16:47:15Z</updated>
<author>
<name>Dave Willett</name>
<email>willett@hey.com</email>
</author>
<published>2026-07-08T16:47:15Z</published>
<link rel='alternate' type='text/html' href='https://git.sl0p.foo/sl0pstatus.git/commit/?id=01412c2e0999de5b40b68a9d1a731eea52844338'/>
<id>urn:sha1:01412c2e0999de5b40b68a9d1a731eea52844338</id>
<content type='text'>
* feat(command): add {focused_pane_cwd} to run commands in the focused pane's directory

Command widgets configured with command_&lt;name&gt;_cwd "{focused_pane_cwd}"
now execute in the current working directory of the focused terminal pane,
following it as the user changes directories.

This relies on zellij's CwdChanged event and get_pane_cwd API. The focused
terminal pane of the active tab is tracked via PaneUpdate (seeding the cwd
on focus change) and updated on CwdChanged. Affected command results are
invalidated so they re-run, and stale results from a previous cwd are
discarded to avoid showing the wrong directory.

Closes #92

* fix(command): release focused cwd command locks

Focused-cwd commands can be invalidated while their first run is still in flight. If that result is later discarded as stale, no command result is stored but the per-command lock remains, preventing future reruns.

Release the command lock when invalidating focused-cwd commands so the branch badge can recover on subsequent renders or cwd updates.

Add a regression test for rerunning a command with no stored result after its lock is released.</content>
</entry>
<entry>
<title>feat: add pipe widget</title>
<updated>2025-01-18T08:34:07Z</updated>
<author>
<name>Daniel Jankowski</name>
<email>daniel.jankowski@rub.de</email>
</author>
<published>2025-01-18T08:32:18Z</published>
<link rel='alternate' type='text/html' href='https://git.sl0p.foo/sl0pstatus.git/commit/?id=f73635159598119a67533fda394e49830506cd85'/>
<id>urn:sha1:f73635159598119a67533fda394e49830506cd85</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat: remote control zjstatus with pipes (#48)</title>
<updated>2024-04-16T08:59:15Z</updated>
<author>
<name>Daniel Jankowski</name>
<email>Daniel.Jankowski@rub.de</email>
</author>
<published>2024-04-16T08:59:15Z</published>
<link rel='alternate' type='text/html' href='https://git.sl0p.foo/sl0pstatus.git/commit/?id=072392300409c11930cb07f56fab03eda2c24d4a'/>
<id>urn:sha1:072392300409c11930cb07f56fab03eda2c24d4a</id>
<content type='text'>
* chore: update to latest version of zellij

* fix: deprecated functions in chrono

* chore: update nix deps

* chore: remove deprecated chrono functions

* feat: add refresh via pipes with line protocol

* fix: handle multiple lines in pipe

* fix(clippy): char instead of str

* feat: add notification widget

* chore: update nix flake

* chore: update cargo deps

* chore: update cargo deps

* chore: update nix flake

* chore: clean up imports for tracing

* chore: update nix flake

* chore: update cargo deps

* chore: update nix flake

* chore: update cargo deps

* chore: remove pinning of chrono

Since chrono-tz now fixed the deprecations from chrono
we can finally remove the pinning.

* chore: update nix flake

* chore: update cargo deps</content>
</entry>
</feed>
