addet colors for git
This commit is contained in:
parent
11f9e1a9e4
commit
b8e8caa1d6
1 changed files with 11 additions and 8 deletions
15
sim-web.toml
15
sim-web.toml
|
@ -49,12 +49,15 @@ overflow = "break"
|
|||
|
||||
[[blocks.segments]]
|
||||
type = "git"
|
||||
style = "powerline"
|
||||
foreground = "#f14e32"
|
||||
template = "({{ .HEAD }})"
|
||||
|
||||
[blocks.segments.properties]
|
||||
branch_icon = " "
|
||||
style = "plain"
|
||||
foreground = "#1ea54c"
|
||||
foreground_templates = [
|
||||
"{{ if or (.Working.Changed) (.Staging.Changed) }}#a51e42{{ end }}",
|
||||
"{{ if and (gt .Ahead 0) (gt .Behind 0)}}#1e62a5{{ end }}",
|
||||
"{{ 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]]
|
||||
alignment = "left"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue