Files
.dotfiles/oh-my-posh/.config/ohmyposh/craver.omp.json

110 lines
3.2 KiB
JSON

{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"console_title_template": "{{if .Root}}(Admin) {{end}}{{.Folder}}",
"blocks": [
{
"type": "prompt",
"alignment": "left",
"segments": [
{
"template": "\uf0e7",
"foreground": "#242424",
"powerline_symbol": "\ue0c4",
"background": "#f1184c",
"type": "root",
"style": "powerline"
},
{
"leading_diamond": " ",
"template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}} ",
"foreground": "#3A86FF",
"background": "#282c34",
"type": "os",
"style": "diamond"
},
{
"options": {
"time_format": "15:04:05"
},
"template": "{{ .CurrentDate | date .Format }} ",
"foreground": "#FFBB00",
"powerline_symbol": "\ue0c4",
"background": "#242424",
"type": "time",
"style": "powerline"
},
{
"options": {
"folder_separator_icon": "/",
"style": "folder"
},
"template": "\ue5ff {{ .Path }} ",
"foreground": "#33DD2D",
"powerline_symbol": "\ue0b0",
"background": "#242424",
"type": "path",
"style": "powerline"
},
{
"options": {
"fetch_stash_count": true,
"fetch_status": true,
"fetch_upstream_icon": true
},
"template": "{{ .UpstreamIcon }}{{ .HEAD }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if gt .StashCount 0 }} \ueb4b {{ .StashCount }}{{ end }} ",
"foreground": "#3A86FF",
"powerline_symbol": "\ue0b0",
"background": "#242424",
"type": "git",
"style": "powerline"
},
{
"template": " \ue70c {{ if .Unsupported }}\uf071{{ else }}{{ .Full }}{{ end }} ",
"foreground": "#ffffff",
"powerline_symbol": "\ue0c4",
"background": "#0184bc",
"type": "dotnet",
"style": "powerline"
},
{
"options": {
"style": "austin",
"threshold": 1
},
"template": " <#fefefe>\ueba2</> {{ .FormattedMs }} ",
"foreground": "#ffffff",
"powerline_symbol": "\ue0c4",
"background": "#8800dd",
"type": "executiontime",
"style": "powerline"
},
{
"template": " \ueb05 ",
"foreground": "#242424",
"powerline_symbol": "\ue0b4",
"background": "#33DD2D",
"type": "status",
"style": "powerline",
"background_templates": [
"{{ if gt .Code 0 }}#f1184c{{ end }}"
]
}
]
},
{
"type": "prompt",
"alignment": "left",
"segments": [
{
"template": "➜ ",
"foreground": "#f1184c",
"type": "text",
"style": "plain"
}
],
"newline": true
}
],
"version": 4
}