fix(status): take into account reverse style - #102
Open
kruton wants to merge 1 commit into
Open
Conversation
When the tmux activity style is set as "reverse" (the default) then activity in any window renders that section of the status bar as the wrong color. Take into account the rendering style when drawing those window separators.
There was a problem hiding this comment.
Pull request overview
Adjusts Nord tmux’s window status formatting so Powerline-style separators render with correct colors when window alert styles use reverse (the tmux default for activity/bell/silence), fixing the swapped/misaligned separator colors reported in #101.
Changes:
- Make
window-status-formatuse computed colors (via tmux environment variables) instead of fixedblack/brightblackso separators/background adapt during alerts. - Update both patched-font and no-patched-font status content variants to use the new computed window background.
- Compute and export
NORD_TMUX_WINDOW_BGandNORD_TMUX_TRANSITION_COLORinnord.tmuxbased on alert flags and reverse-style detection.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
src/nord-status-content.conf |
Uses computed transition/window background colors in the Powerline window status format to avoid swapped separator colors under reverse. |
src/nord-status-content-no-patched-font.conf |
Aligns window background color with computed alert-aware background even without Powerline glyphs. |
nord.tmux |
Introduces env vars used by the status content to dynamically pick correct colors for alert windows when reverse is in effect. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
kruton
force-pushed
the
reverse-color-fix
branch
from
June 23, 2026 21:12
98740a8 to
a91f437
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.
When the tmux activity style is set as "reverse" (the default) then activity in any window renders that section of the status bar as the wrong color. Take into account the rendering style when drawing those window separators.
Fixes #101