oh-my-posh/themes/jblab_2021.omp.json
2021-11-09 13:26:59 +01:00

107 lines
3.5 KiB
JSON

{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"final_space": true,
"osc99": true,
"console_title": true,
"console_title_style": "template",
"console_title_template": "{{if .Root}} ⚡ {{end}}{{.Folder | replace \"~\" \"🏠\"}} @ {{.Host}}",
"blocks": [
{
"type": "prompt",
"alignment": "left",
"segments": [
{
"background": "#0C212F",
"foreground": "#FFFFFF",
"leading_diamond": "\uE0B6",
"trailing_diamond": "\uE0B0",
"properties": {
"prefix": " ",
"wsl": "",
"wsl_separator": ""
},
"style": "diamond",
"type": "os"
},
{
"background": "#DE2121",
"foreground": "#FFFFFF",
"leading_diamond": "<transparent,#DE2121>\uE0B0</>",
"style": "diamond",
"trailing_diamond": "\uE0B0",
"type": "root"
},
{
"background": "#26BDBB",
"foreground": "#0C212F",
"leading_diamond": "<transparent,#26BDBB>\uE0B0</>",
"properties": {
"folder_icon": "\uF6D7",
"folder_separator_icon": "<transparent> \uE0B1 </>",
"home_icon": "\uF7DB",
"style": "agnoster_short"
},
"style": "diamond",
"trailing_diamond": "\uE0B0",
"type": "path"
},
{
"background": "#280C2E",
"foreground": "#FFFFFF",
"background_templates": [
"{{ if or (.Repo.Working.Changed) (.Repo.Staging.Changed) }}#7621DE{{ end }}",
"{{ if and (gt .Repo.Ahead 0) (gt .Repo.Behind 0) }}#7621DE{{ end }}",
"{{ if gt .Repo.Ahead 0 }}#7621DE{{ end }}",
"{{ if gt .Repo.Behind 0 }}#7621DE{{ end }}"
],
"powerline_symbol": "\uE0B0",
"properties": {
"fetch_stash_count": true,
"fetch_status": true,
"fetch_upstream_icon": true,
"prefix": " ",
"template": "{{ .Repo.UpstreamIcon }}{{ .Repo.HEAD }}{{ if .Repo.Staging.Changed }} \uF046 {{ .Repo.Staging.String }}{{ end }}{{ if and (.Repo.Working.Changed) (.Repo.Staging.Changed) }} |{{ end }}{{ if .Repo.Working.Changed }} \uF044 {{ .Repo.Working.String }}{{ end }}{{ if gt .Repo.StashCount 0 }} \uF692 {{ .Repo.StashCount }}{{ end }}"
},
"style": "powerline",
"type": "git"
},
{
"background": "#0C212F",
"foreground": "#FFFFFF",
"leading_diamond": "<transparent,#0C212F>\uE0B0</>",
"properties": {
"time_format": "15:04"
},
"style": "diamond",
"trailing_diamond": "\uE0B0",
"type": "time"
},
{
"background": "#26BDBB",
"foreground": "#0C212F",
"leading_diamond": "<transparent,#26BDBB>\uE0B0</>",
"properties": {
"postfix": "s ",
"style": "dallas",
"threshold": 0
},
"style": "diamond",
"trailing_diamond": "\uE0B0",
"type": "executiontime"
},
{
"background": "#910000",
"foreground": "#ffffff",
"leading_diamond": "<transparent,#910000>\uE0B0</>",
"properties": {
"prefix": "<transparent> \uF12A</> "
},
"style": "diamond",
"trailing_diamond": "\uE0B0",
"type": "exit"
}
]
}
]
}