|
|
@@ -43,16 +43,18 @@ final_space = true
|
|
|
|
|
|
[[blocks.segments]]
|
|
|
type = 'git'
|
|
|
- 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 }} '
|
|
|
+ template = ' {{ url .UpstreamIcon .UpstreamURL }} {{ .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 }} '
|
|
|
foreground = '#efdcf9'
|
|
|
background = '#341948'
|
|
|
style = 'powerline'
|
|
|
powerline_symbol = ''
|
|
|
[blocks.segments.properties]
|
|
|
+ branch_icon = ''
|
|
|
branch_template = '{{ trunc 25 .Branch }}'
|
|
|
fetch_stash_count = true
|
|
|
fetch_status = true
|
|
|
fetch_upstream_icon = true
|
|
|
+ untracked_modes = {'*' = 'no'}
|
|
|
|
|
|
[[blocks.segments]]
|
|
|
type = 'time'
|