Closed matthew-nm closed 1 year ago
Hi @matthew-nm
Thank you for filing the issue.
The problem of the first screenshot seems to be the missing clear
, which means set background and foreground to the default values.
However the second screenshot shows that even with clear
we still have a block that gets colored differently.
Gitmux has to decide how to let the status string after itself, and it should always be a clear block, by convention. That means I could solve the first case but it won't solve the second.
Maybe you can solve it by adding a tmux status string yourself to your tmux.conf, in order to have the different block colored as the rest?
I fixed with
set -g @nova-segment-git '#(gitmux -cfg $HOME/dotfiles/gitmux.conf "#{pane_current_path}")#[none]#[bg=#30324a]'
in my tmux.conf.
When using this plugin along with the o0th/tmux-nova theme, there is a mis-colored space at the end of the segment.
I believe the space is added in by tmux-nova, but it is somehow an interaction with gitmux.
I would expect the mis-colored (dark) space background to be the same color (slightly lighter) as the characters around it.
As I expect to use it:
Flipped for testing:
Both have the dark block after the gitmux segment.
I'm also noticing that in the first picture, the battery percentage "100" is bolded (probably a holdover from the gitmux styling?)
gitmux is version 0.10.3 and the output looks like:
#[fg=default]#[fg=default]#[fg=white,bold]⎇ #[fg=default]#[fg=white,bold]master #[fg=default]#[fg=yellow]↑·2#[fg=default,bg=default]
My config is basic but with
layout: [branch, divergence]
.