addet some colors to git
This commit is contained in:
parent
5d725c86b9
commit
2a2179bb38
1 changed files with 57 additions and 38 deletions
29
amro.toml
29
amro.toml
|
@ -43,12 +43,31 @@ type = "prompt"
|
|||
style = "full"
|
||||
|
||||
[[blocks.segments]]
|
||||
foreground = "#915ada"
|
||||
powerline_symbol = ""
|
||||
style = "plain"
|
||||
# template = "{{ .UpstreamIcon }}{{ .HEAD }}{{ if gt .StashCount 0 }} {{ .StashCount }}{{ end }} "
|
||||
template = ' {{ .HEAD }}{{ if or (.Working.Changed) (.Staging.Changed) }}*{{ end }} <cyan>{{ if gt .Behind 0 }}⇣{{ end }}{{ if gt .Ahead 0 }}⇡{{ end }}</>'
|
||||
type = "git"
|
||||
style = "plain"
|
||||
foreground = "#193549"
|
||||
background = "transparent"
|
||||
foreground_templates = [
|
||||
"{{ if or (.Working.Changed) (.Staging.Changed) }}#a7364d{{else}}#1ea54c{{end}}",
|
||||
]
|
||||
template = "{{ .UpstreamIcon }}{{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }} {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} {{ .StashCount }}{{ end }}"
|
||||
|
||||
[properties]
|
||||
fetch_status = true
|
||||
fetch_upstream_icon = true
|
||||
source = "cli"
|
||||
|
||||
[properties.mapped_branches]
|
||||
"feat/*" = "🚀 "
|
||||
"bug/*" = "🐛 "
|
||||
"main/*" = "💎 "
|
||||
"dev/*" = "⚙️ "
|
||||
# foreground = "#915ada"
|
||||
# powerline_symbol = ""
|
||||
# style = "plain"
|
||||
# # template = "{{ .UpstreamIcon }}{{ .HEAD }}{{ if gt .StashCount 0 }} {{ .StashCount }}{{ end }} "
|
||||
# template = ' {{ .HEAD }}{{ if or (.Working.Changed) (.Staging.Changed) }}*{{ end }} <cyan>{{ if gt .Behind 0 }}⇣{{ end }}{{ if gt .Ahead 0 }}⇡{{ end }}</>'
|
||||
# type = "git"
|
||||
|
||||
[blocks.segments.properties]
|
||||
fetch_stash_count = true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue