oh-my-posh/themes/patriksvensson.omp.json

86 lines
2.5 KiB
JSON
Raw Normal View History

2021-07-15 08:05:30 -07:00
{
2022-02-03 01:22:57 -08:00
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
2021-07-15 08:05:30 -07:00
"blocks": [
{
"alignment": "left",
"newline": true,
"segments": [
{
"foreground": "red",
2022-02-03 01:22:57 -08:00
"powerline_symbol": "\ue0b0",
"properties": {
2022-02-03 01:22:57 -08:00
"template": "\uf0e7 "
},
"style": "plain",
"type": "root"
},
{
"foreground": "blue",
"properties": {
2022-02-03 01:22:57 -08:00
"folder_icon": "\ue5ff",
"folder_separator_icon": "/",
2022-02-03 01:22:57 -08:00
"home_icon": "\uf7db",
"style": "agnoster",
"template": "{{ .Path }}"
},
"style": "plain",
"type": "path"
},
{
"foreground": "green",
"foreground_templates": [
2021-11-09 08:13:47 -08:00
"{{ if or (.Working.Changed) (.Staging.Changed) }}yellow{{ end }}",
"{{ if and (gt .Ahead 0) (gt .Behind 0) }}red{{ end }}",
"{{ if gt .Ahead 0 }}red{{ end }}",
"{{ if gt .Behind 0 }}green{{ end }}"
],
"properties": {
"fetch_stash_count": true,
2022-02-03 01:22:57 -08:00
"fetch_status": true,
2021-11-08 13:56:40 -08:00
"fetch_upstream_icon": true,
2022-02-03 01:22:57 -08:00
"github_icon": "\uf408 ",
"template": " on {{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }}<red> \uf044 {{ .Working.String }}</>{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }}<yellow> \uf046 {{ .Staging.String }}</>{{ end }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }}"
},
"style": "plain",
"type": "git"
},
{
"foreground": "magenta",
"properties": {
2022-02-03 01:22:57 -08:00
"template": " [.NET] {{ if .Unsupported }}\uf071{{ else }}{{ .Full }}{{ end }} "
},
"style": "plain",
"type": "dotnet"
}
2022-02-03 01:22:57 -08:00
],
"type": "prompt"
},
{
"alignment": "left",
"newline": true,
"segments": [
{
"foreground": "yellow",
"properties": {
2022-02-03 01:22:57 -08:00
"template": "{{ .CurrentDate | date .Format }} ",
"time_format": "15:04:05"
2022-02-03 01:22:57 -08:00
},
"style": "plain",
"type": "time"
},
{
"foreground": "green",
"properties": {
2022-02-03 01:22:57 -08:00
"template": "\u276f"
},
"style": "plain",
"type": "text"
}
2022-02-03 01:22:57 -08:00
],
"type": "prompt"
}
2022-02-03 01:22:57 -08:00
],
"final_space": true,
"version": 1
2021-07-15 08:05:30 -07:00
}