oh-my-posh/themes/blue-owl.omp.json

138 lines
4 KiB
JSON
Raw Normal View History

2021-08-31 11:40:07 -07:00
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"final_space": false,
"osc99": true,
"console_title": true,
"console_title_style": "template",
"console_title_template": "{{if .Root}} ⚡ {{end}}{{.Folder | replace \"~\" \"🏚\" }} @ {{.Host}}",
"blocks": [
{
"type": "prompt",
"alignment": "left",
"segments": [
{
"type": "root",
"style": "plain",
"foreground": "#FFEB3B",
"background": "#a313a8",
"properties": {
"prefix": "",
2021-08-31 11:40:07 -07:00
"root_icon": "⚡"
}
},
{
"type": "os",
"style": "plain",
"foreground": "#ffffff",
"background": "transparent",
"properties": {
"prefix": ""
}
2021-08-31 11:40:07 -07:00
},
{
"type": "path",
"style": "diamond",
"leading_diamond": "<transparent,#01579B>\uE0B0</>",
"trailing_diamond": "\uE0B0",
"foreground": "#ffffff",
"background": "#01579B",
"properties": {
"home_icon": "\uF7DB",
"folder_icon": "\uF6D7",
"folder_separator_icon": "<transparent> \uE0BD </>",
"style": "agnoster_short"
}
},
{
"type": "git",
"style": "powerline",
"powerline_symbol": "\uE0B0",
"foreground": "#000000",
"background": "#00C853",
"background_templates": [
"{{ if or (.Repo.Working.Changed) (.Repo.Staging.Changed) }}#FFEB3B{{ end }}",
"{{ if and (.Repo.Ahead gt 0) (.Repo.Behind gt 0) }}#FFCC80{{ end }}",
"{{ if .Repo.Ahead gt 0 }}#B388FF{{ end }}",
"{{ if .Repo.Behind gt 0 }}#B388FF{{ end }}"
],
2021-08-31 11:40:07 -07:00
"properties": {
"fetch_stash_count": true,
"fetch_status": true,
"template": "{{ .Repo.HEAD }}{{ if .Repo.Staging.Changed }}<#FF6F00> \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 }}"
2021-08-31 11:40:07 -07:00
}
},
{
"type": "executiontime",
"style": "diamond",
"leading_diamond": "<transparent,#49404f>\uE0B0</>",
"trailing_diamond": "\uE0B0",
"foreground": "#ffffff",
"background": "#49404f",
"properties": {
"threshold": 0,
"style": "dallas",
"postfix": "s "
}
},
{
"type": "exit",
"style": "powerline",
"powerline_symbol": "\uE0B0",
"foreground": "#ffffff",
"background": "#910000",
"properties": {
"prefix": "<transparent> \uF12A</> "
}
}
]
},
{
"type": "prompt",
"alignment": "right",
"segments": [
{
"type": "session",
"style": "diamond",
"trailing_diamond": "",
"leading_diamond": "\uE0C5",
"foreground": "#43CCEA",
"background": "#29315A",
"properties": {
"postfix": "",
"prefix": " ",
"user_info_separator": "<transparent> / </>"
}
},
{
"type": "time",
"style": "plain",
"foreground": "#3EC669",
"background": "#29315A",
"properties": {
"time_format": "15:04:05",
"prefix": "<transparent> \uE0BA\uE0BC </>"
}
}
]
},
{
"type": "prompt",
"alignment": "left",
"newline": true,
"segments": [
{
"type": "exit",
"style": "plain",
"foreground": "#ffffff",
"properties": {
"prefix": "\u276F",
"always_enabled": true,
"error_color": "#ff0000",
"display_exit_code": false
}
}
]
}
]
}