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

106 lines
3 KiB
JSON
Raw Normal View History

2021-10-16 07:15:52 -07:00
{
2021-10-28 00:57:47 -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": "{{.UserName}}@{{.HostName}} in {{ .Path }}",
2021-10-28 00:57:47 -07:00
"blocks": [
{
"type": "prompt",
"alignment": "left",
"vertical_offset": 1,
"segments": [
{
"type": "os",
"style": "powerline",
"powerline_symbol": "\uE0B0",
"foreground": "#fff",
"background": "#003543",
"properties": {
"windows": "\uE62A ",
"postfix": ""
2021-10-16 07:15:52 -07:00
}
2021-10-28 00:57:47 -07:00
},
{
"type": "path",
"style": "powerline",
"powerline_symbol": "\uE0B0",
"foreground": "#003544",
"background": "#0087D8",
"properties": {
"prefix": " \uE5FF ",
"style": "full",
"folder_separator_icon": "/"
2021-10-16 07:15:52 -07:00
}
2021-10-28 00:57:47 -07:00
},
{
"type": "git",
"style": "powerline",
"powerline_symbol": "\uE0B0",
2021-10-28 00:57:47 -07:00
"foreground": "#193549",
"background": "#d2ff5e",
"background_templates": [
2021-11-09 08:13:47 -08:00
"{{ if or (.Working.Changed) (.Staging.Changed) }}#ff9248{{ end }}",
"{{ if and (gt .Ahead 0) (gt .Behind 0) }}#f26d50{{ end }}",
"{{ if gt .Ahead 0 }}#89d1dc{{ end }}",
"{{ if gt .Behind 0 }}#f17c37{{ end }}"
],
2021-10-28 00:57:47 -07:00
"properties": {
"fetch_status": true,
"fetch_stash_count": 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-10-28 00:57:47 -07:00
}
},
{
"type": "time",
"style": "powerline",
"powerline_symbol": "\uE0B0",
"foreground": "#fff",
"background": "#003543",
"properties": {
"prefix": "<#fff> \uf64f </>"
}
},
{
"type": "executiontime",
"style": "diamond",
"foreground": "#ffffff",
"background": "#83769c",
"leading_diamond": "",
"trailing_diamond": "",
"properties": {
"always_enabled": true,
"prefix": " \ufbab ",
2021-10-28 00:57:47 -07:00
"postfix": "\u2800"
}
}
]
},
{
"type": "prompt",
"alignment": "left",
"newline": true,
"segments": [
{
"type": "root",
"style": "plain",
"foreground": "#fff",
"properties": {
2022-01-22 10:46:56 -08:00
"template": "⚡"
2021-10-28 00:57:47 -07:00
}
},
{
"type": "text",
"style": "plain",
"foreground": "#f1184c",
"properties": {
"prefix": "",
"text": "🦄"
}
}
]
}
]
}