Repository navigation
Let herdr's tab bar show the terminal background, so it turns glassy too - #15022
Merged
Merged
Conversation
Contributor
|
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
dhh
force-pushed
the
herdr-glassy-tab-bar
branch
from
October 11, 2026 13:18
6ff15f6 to
d06f772
Compare
| pass "the shipped black tab bar takes the terminal background, once" | ||
|
|
||
| # A surface_dim of the user's own, indented or not, is kept as the only one. | ||
| { cat "$test_dir/shipped.toml"; printf ' surface_dim = "white"\n'; } >"$config" |
Contributor
There was a problem hiding this comment.
Appending surface_dim after the whole config puts it in [ui], not [theme.custom]. This catches the old whitespace check, but does not test two keys in the same table. It would also reject a correct guard that checks only [theme.custom].
Insert the indented setting inside [theme.custom] so the test covers the real duplicate-key case.
Suggested change
| { cat "$test_dir/shipped.toml"; printf ' surface_dim = "white"\n'; } >"$config" | |
| sed '/^panel_bg = "black"$/a\ surface_dim = "white"' "$test_dir/shipped.toml" >"$config" |
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.
Under Glassy windows, herdr's tab bar stayed a solid black stripe, because Omarchy's herdr config painted it with
panel_bg = "black".Change:
panel_bg = "reset"draws the tab bar on the terminal's own background, like tmux'sbg=default. It is see-through under Glassy and looks as before otherwise.surface_dim, which in the terminal theme is dark gray and hard to read on the blue accent.surface_dim = "black"keeps it dark text on blue, as in tmux's#[fg=black,bg=blue]. Pane dividers keep their gray. The thin sidebar separator line is drawn a little darker.panel_bg = "black"and nosurface_dimof their own, then reloads herdr. Any other choice is left alone, including asurface_dimof the user's own (indented or not), and a config a dotfile manager links in is never edited.Checked:
herdr config checkaccepts the result.test/shell.d/herdr-glassy-tab-bar-migration-test.shcovers the shipped config, a second run, an indentedsurface_dimof the user's own, and a linked config../test/cliand the migrate tests pass.🤖 Generated with Claude Code