mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-12-28 20:39:40 -08:00
theme: update markbull
1. Adjust the space between icon and text in "session" segment. 2. Add the background color of upstream gone in "git" segment. 3. Add upstream hyperlink and adjust the space between icon and text in "git" segment.
This commit is contained in:
parent
b15bdd0c7a
commit
fb6f8e63df
|
@ -50,7 +50,8 @@
|
||||||
"{{ if or (.Working.Changed) (.Staging.Changed) }}#ffeb95{{ end }}",
|
"{{ if or (.Working.Changed) (.Staging.Changed) }}#ffeb95{{ end }}",
|
||||||
"{{ if and (gt .Ahead 0) (gt .Behind 0) }}#fcaf17{{ end }}",
|
"{{ if and (gt .Ahead 0) (gt .Behind 0) }}#fcaf17{{ end }}",
|
||||||
"{{ if gt .Ahead 0 }}#95ffa4{{ end }}",
|
"{{ if gt .Ahead 0 }}#95ffa4{{ end }}",
|
||||||
"{{ if gt .Behind 0 }}#f7acbc{{ end }}"
|
"{{ if gt .Behind 0 }}#f7acbc{{ end }}",
|
||||||
|
"{{ if .UpstreamGone }}#d1c7b7{{ end }}"
|
||||||
],
|
],
|
||||||
"foreground": "#100e23",
|
"foreground": "#100e23",
|
||||||
"powerline_symbol": "\ue0b0",
|
"powerline_symbol": "\ue0b0",
|
||||||
|
@ -69,7 +70,7 @@
|
||||||
"github_icon": "\uf408 ",
|
"github_icon": "\uf408 ",
|
||||||
"gitlab_icon": "\uf296 ",
|
"gitlab_icon": "\uf296 ",
|
||||||
"tag_icon": "\uf412 ",
|
"tag_icon": "\uf412 ",
|
||||||
"template": " {{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }} <#ed1941>\uf044 {{.Working.String}}</>{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} <#225a1f>\uf046 {{.Staging.String}}</>{{ end }}{{ if gt .StashCount 0 }} \uf692 {{.StashCount}}{{ end }}{{ if gt .WorktreeCount 0 }}{{if .IsWorkTree}}<#1d953f>{{ end }} \uf1bb {{if .IsWorkTree}}</>{{ end }}{{.WorktreeCount}}{{ end }} "
|
"template": " {{ if( .UpstreamIcon ) }}{{ url .UpstreamIcon .UpstreamURL }} {{ end }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }} <#ed1941>\uf044 {{.Working.String}}</>{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} <#225a1f>\uf046 {{.Staging.String}}</>{{ end }}{{ if gt .StashCount 0 }} \uf692 {{.StashCount}}{{ end }}{{ if gt .WorktreeCount 0 }}{{if .IsWorkTree}}<#1d953f>{{ end }} \uf1bb {{if .IsWorkTree}}</>{{ end }}{{.WorktreeCount}}{{ end }} "
|
||||||
},
|
},
|
||||||
"style": "powerline",
|
"style": "powerline",
|
||||||
"type": "git"
|
"type": "git"
|
||||||
|
|
Loading…
Reference in a new issue