addet colors for git

This commit is contained in:
pika 2024-10-28 16:18:14 +01:00
parent 11f9e1a9e4
commit b8e8caa1d6

View file

@ -47,14 +47,17 @@ overflow = "break"
folder_icon = "" folder_icon = ""
folder_separator_icon = " " folder_separator_icon = " "
[[blocks.segments]] [[blocks.segments]]
type = "git" type = "git"
style = "powerline" style = "plain"
foreground = "#f14e32" foreground = "#1ea54c"
template = "({{ .HEAD }})" foreground_templates = [
"{{ if or (.Working.Changed) (.Staging.Changed) }}#a51e42{{ end }}",
[blocks.segments.properties] "{{ if and (gt .Ahead 0) (gt .Behind 0)}}#1e62a5{{ end }}",
branch_icon = " " "{{ if gt .Ahead 0 }}#e3dd47{{ end }}",
"{{ if gt .Behind 0 }}#1e62a5{{ end }}"
]
template = '({{ .HEAD }}{{ if or (.Working.Changed) (.Staging.Changed) }}*{{ end }} <p:pistachio-green>{{ if gt .Behind 0 }}⇣{{ end }}{{ if gt .Ahead 0 }}⇡{{ end }}</>)'
[[blocks]] [[blocks]]
alignment = "left" alignment = "left"