Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to customize colors #43

Open
springcomp opened this issue Oct 2, 2021 · 2 comments
Open

Unable to customize colors #43

springcomp opened this issue Oct 2, 2021 · 2 comments

Comments

@springcomp
Copy link

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?

@tomaz-suller
Copy link

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.

@springcomp
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants