feat: tmux window-tab activity/bell flags + osc94 state-dir fix#324
Merged
Conversation
- Add an animated OSC 9;4 progress flag (#{@osc94_flag}) to the catppuccin
window text, driven by a background daemon (tmux-osc94-animate.sh) that
aggregates per-pane progress per window and spins a "thinking" indicator
via refresh-client -S, without re-running the status #() helpers.
- Enable monitor-bell (bell-action any) so tmux's built-in per-window bell
flag fires for background windows too; catppuccin already renders it as an
icon in the window tab. The Copilot CLI rings the bell when it needs
feedback or when a turn finishes, so this surfaces that in the tab.
tmux does not expand ~ in option values, so the osc-9-4 plugin's plugin.py created a literal "~" directory (via Path.mkdir) in the current working directory on every window switch. Use $HOME, which tmux does expand.
djensenius
force-pushed
the
tmux-bell-flags
branch
from
June 22, 2026 17:26
18f205a to
35a9f94
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Surfaces Copilot CLI activity in the tmux status bar and fixes an osc-9-4
state-dir bug, plus two small config tweaks.
tmux window-tab indicators (
feat)#{@osc94_flag}) in the catppuccinwindow text, driven by a background daemon (
scripts/tmux-osc94-animate.sh)that aggregates per-pane progress per window and spins a "thinking"
indicator via
refresh-client -S— without re-running the status#()helpers.
monitor-bell(bell-action any) so tmux's built-inper-window bell flag fires for background windows too. Catppuccin already
renders it as an icon in the window tab, and it clears automatically when you
switch to the window. Copilot rings the bell when it needs feedback or when a
turn finishes, so the window that needs attention is flagged in its tab.
Fixes / chores
fix: expand$HOMEin@osc94_state_dir. tmux doesn't expand~inoption values, so the plugin's
Path.mkdircreated a literal~directoryin the cwd on every window switch.
chore: enable the gh Slack extension for the github team.chore: trust bare repositories via gitsafe.bareRepository.Testing
icon) and clears on visit; no flag on the active window.
~directory is created across repeated window switches.shellcheckclean ontmux-osc94-animate.sh; config sources without error.