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

167 lines
4.6 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",
"blocks": [
{
"alignment": "left",
"newline": true,
"segments": [
{
"foreground": "#ffffff",
2022-02-03 01:22:57 -08:00
"style": "plain",
"type": "text"
2021-09-24 08:33:37 -07:00
}
2022-02-03 01:22:57 -08:00
],
"type": "prompt"
2021-09-24 08:33:37 -07:00
},
{
"alignment": "left",
"segments": [
{
"foreground": "#185F7B",
2022-02-03 01:22:57 -08:00
"style": "plain",
2022-03-27 01:12:47 -07:00
"template": "\ue0c5",
2022-02-03 01:22:57 -08:00
"type": "text"
2021-09-24 08:33:37 -07:00
},
{
"background": "#185F7B",
"foreground": "#185F7B",
2022-02-03 01:22:57 -08:00
"powerline_symbol": "\ue0c4",
"style": "powerline",
"type": "text"
2021-09-24 08:33:37 -07:00
},
{
"background": "#185F7B",
2022-02-03 01:22:57 -08:00
"foreground": "#ffffff",
2021-09-24 08:33:37 -07:00
"properties": {
"home_icon": "\ue617 ",
2022-03-27 01:12:47 -07:00
"style": "mixed"
2022-02-03 01:22:57 -08:00
},
"style": "diamond",
2022-03-27 01:12:47 -07:00
"template": "{{ .Path }} ",
2022-02-03 01:22:57 -08:00
"trailing_diamond": "\ue0b0",
"type": "path"
2021-09-24 08:33:37 -07:00
},
{
"background": "#6f42c1",
2022-02-03 01:22:57 -08:00
"foreground": "#ffffff",
"powerline_symbol": "\ue0b0",
"properties": {
"fetch_stash_count": true,
"fetch_status": true,
2022-03-27 01:12:47 -07:00
"fetch_upstream_icon": true
2022-02-03 01:22:57 -08:00
},
"style": "powerline",
"template": " {{ .UpstreamIcon }}{{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ 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 }} \ueb4b {{ .StashCount }}{{ end }} ",
2022-02-03 01:22:57 -08:00
"type": "git"
2021-09-24 08:33:37 -07:00
},
{
2022-02-03 01:22:57 -08:00
"leading_diamond": "<transparent,#49404f>\ue0b0</>",
"style": "plain",
"trailing_diamond": "\ue0b0",
"type": "text"
2021-09-24 08:33:37 -07:00
},
{
"background": "#4caf50",
2022-02-03 01:22:57 -08:00
"background_templates": [
"{{ if gt .Code 0 }}red{{ end }}"
],
"foreground": "#ffffff",
"powerline_symbol": "\ue0b0",
2021-09-24 08:33:37 -07:00
"properties": {
2022-03-27 01:12:47 -07:00
"always_enabled": true
2022-02-03 01:22:57 -08:00
},
"style": "powerline",
"template": " {{ if gt .Code 0 }}\uf421{{ else }}\uf469 \u2665{{ end }} ",
2022-02-03 01:22:57 -08:00
"type": "exit"
2021-09-24 08:33:37 -07:00
}
2022-02-03 01:22:57 -08:00
],
"type": "prompt"
2021-09-24 08:33:37 -07:00
},
{
"alignment": "right",
"segments": [
2021-09-24 08:33:37 -07:00
{
"background": "#2B2B2B",
2022-02-03 01:22:57 -08:00
"foreground": "#ffffff",
"invert_powerline": true,
"leading_diamond": "\ue0c5",
2021-09-24 08:33:37 -07:00
"properties": {
"time_format": "3:04:05 PM"
2022-02-03 01:22:57 -08:00
},
"style": "diamond",
"template": " {{ .CurrentDate | date .Format }}<#ffffff> \ue641 </>",
"trailing_diamond": "\ue0c4",
2022-02-03 01:22:57 -08:00
"type": "time"
},
{
"background": "#2B2B2B",
2022-02-03 01:22:57 -08:00
"foreground": "#ffffff",
"invert_powerline": true,
"leading_diamond": "\ue0c5",
"properties": {
2022-03-27 01:12:47 -07:00
"always_enabled": true
2022-02-03 01:22:57 -08:00
},
"style": "diamond",
2022-03-27 01:12:47 -07:00
"template": " {{ .FormattedMs }}<#ffffff> \uf252 </>",
2022-02-03 01:22:57 -08:00
"trailing_diamond": "\ue0c4",
"type": "executiontime"
2021-09-24 08:33:37 -07:00
}
2022-02-03 01:22:57 -08:00
],
"type": "prompt"
2021-09-24 08:33:37 -07:00
},
{
"alignment": "left",
"newline": true,
"segments": [
{
"foreground": "#2B2B2B",
2022-02-03 01:22:57 -08:00
"style": "plain",
2022-03-27 01:12:47 -07:00
"template": "\ue0c5",
2022-02-03 01:22:57 -08:00
"type": "text"
2021-09-24 08:33:37 -07:00
},
{
2022-02-03 01:22:57 -08:00
"background": "#2B2B2B",
2021-09-24 08:33:37 -07:00
"foreground": "#1CA6A3",
2022-02-03 01:22:57 -08:00
"powerline_symbol": "\ue0c4",
"style": "powerline",
2022-03-27 01:12:47 -07:00
"template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}} ",
2022-02-03 01:22:57 -08:00
"type": "os"
2021-09-24 08:33:37 -07:00
},
{
"background": "#2B2B2B",
2022-02-03 01:22:57 -08:00
"foreground": "#FBD951",
"powerline_symbol": "\ue0b0",
"style": "powerline",
2022-03-27 01:12:47 -07:00
"template": "\uf0e7 ",
2022-02-03 01:22:57 -08:00
"type": "root"
2021-09-24 08:33:37 -07:00
},
{
"background": "#DC291E",
2022-02-03 01:22:57 -08:00
"foreground": "#ffffff",
"powerline_symbol": "\ue0b0",
"style": "powerline",
2022-03-27 01:12:47 -07:00
"template": " {{ .UserName }} ",
2022-02-03 01:22:57 -08:00
"type": "session"
2021-09-24 08:33:37 -07:00
}
2022-02-03 01:22:57 -08:00
],
"type": "prompt"
},
2021-09-24 08:33:37 -07:00
{
"alignment": "right",
"segments": [
{
"background": "#000000",
2022-02-03 01:22:57 -08:00
"foreground": "#666666",
"style": "plain",
2022-03-27 01:12:47 -07:00
"template": "\uf489 {{ .Name }}",
2022-02-03 01:22:57 -08:00
"type": "shell"
2021-09-24 08:33:37 -07:00
}
2022-02-03 01:22:57 -08:00
],
"type": "rprompt"
2021-09-24 08:33:37 -07:00
}
2022-02-03 01:22:57 -08:00
],
"console_title_template": "{{if .Root}}Admin: {{end}} {{.Folder}}",
"final_space": true,
2022-03-27 01:12:47 -07:00
"version": 2
2021-09-24 08:33:37 -07:00
}