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

205 lines
5.5 KiB
JSON
Raw Normal View History

2021-09-24 08:33:37 -07:00
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"final_space": true,
"console_title": true,
"console_title_style": "template",
"console_title_template": "{{if .Root}}Admin: {{end}} {{.Folder}}",
"blocks": [
{
"type": "prompt",
"alignment": "left",
"newline": true,
"segments": [
{
"type": "text",
"style": "plain",
"foreground": "#ffffff",
"properties": {
2021-09-24 08:33:37 -07:00
"prefix": "",
"text": "",
"postfix": ""
}
}
]
2021-09-24 08:33:37 -07:00
},
{
"type": "prompt",
"alignment": "left",
"segments": [
{
"type": "text",
"style": "plain",
"foreground": "#185F7B",
"properties": {
2021-09-24 08:33:37 -07:00
"prefix": "\ue0c5",
"text": "",
"postfix": ""
}
},
{
"type": "text",
"style": "powerline",
"powerline_symbol": "\ue0c4",
"background": "#185F7B",
"foreground": "#185F7B",
"properties": {
2021-09-24 08:33:37 -07:00
"text": "",
"prefix": "",
"postfix": ""
}
},
{
"type": "path",
"style": "diamond",
"leading_diamond": "",
"trailing_diamond": "\uE0B0",
"foreground": "#ffffff",
"background": "#185F7B",
"properties": {
"style": "mixed",
"home_icon": "\uf7dd ",
"prefix": "",
"postfix": " ",
2021-09-24 08:33:37 -07:00
"enable_hyperlink": true
}
},
{
"type": "git",
"style": "powerline",
"powerline_symbol": "\uE0B0",
"foreground": "#ffffff",
"background": "#6f42c1",
"backround_templates": [
2021-11-09 08:13:47 -08:00
"{{ if or (.Working.Changed) (.Staging.Changed) }}#176f2c{{ end }}",
"{{ if and (gt .Ahead 0) (gt .Behind 0) }}#f26d50{{ end }}",
"{{ if gt .Ahead 0 }}#0366d6{{ end }}",
"{{ if gt .Behind 0 }}#f9c513{{ end }}"
],
"properties": {
"fetch_stash_count": true,
"fetch_status": true,
2021-11-08 13:56:40 -08:00
"fetch_upstream_icon": true,
2021-11-09 08:13:47 -08:00
"template": "{{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }} \uF044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uF046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} \uF692 {{ .StashCount }}{{ end }}"
}
2021-09-24 08:33:37 -07:00
},
{
"type": "text",
"style": "plain",
"leading_diamond": "<transparent,#49404f>\uE0B0</>",
"trailing_diamond": "\uE0B0",
"properties": {
"prefix": "",
"text": "",
"postfix": ""
}
},
{
"type": "exit",
"style": "powerline",
"powerline_symbol": "\uE0B0",
"foreground": "#ffffff",
"background": "#4caf50",
2021-11-14 04:39:00 -08:00
"background_templates": ["{{ if gt .Code 0 }}red{{ end }}"],
2021-09-24 08:33:37 -07:00
"properties": {
"always_enabled": true,
2021-11-14 04:39:00 -08:00
"template": "{{ if gt .Code 0 }}\uf525{{ else }}\uf469 \u2665{{ end }} "
2021-09-24 08:33:37 -07:00
}
}
]
},
{
"type": "prompt",
"alignment": "right",
"segments": [
2021-09-24 08:33:37 -07:00
{
"type": "time",
"style": "diamond",
"leading_diamond": "\ue0c5",
"trailing_diamond": "\ue0c4",
"invert_powerline": true,
"foreground": "#ffffff",
"background": "#2B2B2B",
"properties": {
"postfix": "\u003c#ffffff\u003e \uF64F \u003c/\u003e",
"time_format": "3:04:05 PM"
}
},
{
"type": "executiontime",
"style": "diamond",
"leading_diamond": "\ue0c5",
"trailing_diamond": "\ue0c4",
"invert_powerline": true,
"foreground": "#ffffff",
"background": "#2B2B2B",
"properties": {
"postfix": "<#ffffff> \uF252 </>",
"always_enabled": true
}
2021-09-24 08:33:37 -07:00
}
]
},
{
"type": "prompt",
"alignment": "left",
"newline": true,
"segments": [
{
"type": "text",
"style": "plain",
"foreground": "#2B2B2B",
"properties": {
2021-09-24 08:33:37 -07:00
"prefix": "\ue0c5",
"text": "",
"postfix": ""
}
},
{
"type": "os",
"style": "powerline",
"powerline_symbol": "\ue0c4",
"foreground": "#1CA6A3",
"background": "#2B2B2B"
},
{
"type": "root",
"style": "powerline",
"powerline_symbol": "\uE0B0",
"foreground": "#FBD951",
"background": "#2B2B2B",
"properties": {
2021-09-24 08:33:37 -07:00
"prefix": ""
}
},
{
"type": "session",
"style": "powerline",
"powerline_symbol": "\uE0B0",
"foreground": "#ffffff",
"background": "#DC291E",
"properties": {
"postfix": " ",
"display_host": false
}
}
]
},
2021-09-24 08:33:37 -07:00
{
"type": "rprompt",
"alignment": "right",
"segments": [
{
"type": "shell",
"style": "plain",
"foreground": "#666666",
"background": "#000000",
"properties": {
"prefix": " ",
"postfix": ""
}
2021-09-24 08:33:37 -07:00
}
]
2021-09-24 08:33:37 -07:00
}
]
}