powerline-gitstatus icon indicating copy to clipboard operation
powerline-gitstatus copied to clipboard

Unable to customize colors

Open springcomp opened this issue 4 years ago • 2 comments

I have installed powerline and am able to customize the color of the default common.vsc.branch segment from the colorschemes/default.json file. I have been able to left the original file untouched in ~/.local and use a customized version in ~\.config.

However, I have not been able to make powerline_gitstatus.gitstatus segment to pick up on my color customizations. It appears to not work even when applying customizations both in ~/.local or in ~/.config.

image

In the previous configuration file, I applied a mediumorange color to both segments. However, as can be seen in the following snapshot, only the builtin segment takes the customization, not powerline_gitstatus.gitstatus.

image

Is there anything I’m missing?

springcomp avatar Oct 02 '21 12:10 springcomp

I'm not sure if this is an issue with the module itself, but it seems that the gitstatus and gitstatus_branch parameters do not affect rendering in any way.

@springcomp I've just tested it here and it seems that changing the gitstatus_branch_clean and gitstatus_branch_dirty achieves what you want. As a side note, you shouldn't rely on modifications to the files in ~/.local since they can be overwritten in case of a update to Powerline.

I'm running Arch Linux, installed powerline from pacman (version 2.8.2-2) and pipeline_gitstatus from pip (Python version 3.9.7). I reckon the problem is not platform specific since you seem to be using Ubuntu or at least GNOME, but who knows.

tomaz-suller avatar Oct 31 '21 02:10 tomaz-suller

Hi @tomaz-suller please give me some time to investigate your solution. Thanks for the feedback.

springcomp avatar Nov 22 '21 09:11 springcomp