Git icons don't change colour
I tried changing the colour of the git part and I could change the text colour but not the logo colour.
`function my_git_formatter() { emulate -L zsh
if [[ -n $P9K_CONTENT ]]; then
# If P9K_CONTENT is not empty, use it. It's either "loading" or from vcs_info (not from
# gitstatus plugin). VCS_STATUS_* parameters are not available in this case.
typeset -g my_git_format=$P9K_CONTENT
return
fi
# Styling for different parts of Git status.
local meta='%b%F{221}' # white foreground
local clean='%b%F{221}' # black foreground
local modified='%b%F{221}' # black foreground
local untracked='%b%F{221}' # black foreground
local conflicted='%b%F{221}' # red foreground`
Also in the provided example file the line
local meta='%b%F{221}' # white foreground
was
local meta='%7F' # white foreground
originally and I didn't know why this colour was different than the others.
I just typed typeset -g into the console and it spat out a lot of text from which I copied the %b%F{221} part
Here's an image of what I mean
I think I'm setting that color using:
POWERLEVEL9K_VCS_VISUAL_IDENTIFIER_COLOR
How you get to there from where you are....
How to use hex format with this weird %b%f stuff?
local meta='%b%F{221}' # white foreground
local clean='%b%F{221}' # black foreground
local modified='%b%F{221}' # black foreground
local untracked='%b%F{221}' # black foreground
local conflicted='%b%F{221}' # red foreground
local clean='%b%F{#ffffff}'