2021-04-23 07:21:54 -07:00
|
|
|
{
|
|
|
|
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
|
|
|
"blocks": [
|
|
|
|
{
|
|
|
|
"type": "prompt",
|
|
|
|
"alignment": "left",
|
|
|
|
"segments": [
|
|
|
|
{
|
|
|
|
"type": "os",
|
|
|
|
"style": "diamond",
|
|
|
|
"foreground": "#ffffff",
|
|
|
|
"background": "#3A86FF",
|
|
|
|
"leading_diamond": "\uE0B6"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "session",
|
|
|
|
"style": "powerline",
|
|
|
|
"foreground": "#ffffff",
|
|
|
|
"background": "#3A86FF"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "path",
|
|
|
|
"style": "powerline",
|
|
|
|
"powerline_symbol": "\uE0B0",
|
|
|
|
"foreground": "#ffffff",
|
|
|
|
"background": "#ff479c",
|
|
|
|
"properties": {
|
|
|
|
"prefix": " \uE5FF ",
|
|
|
|
"style": "full"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "time",
|
|
|
|
"style": "powerline",
|
|
|
|
"powerline_symbol": "\uE0B0",
|
2021-05-04 00:23:40 -07:00
|
|
|
"foreground": "#193549",
|
|
|
|
"background": "#4caf50",
|
2021-04-23 07:21:54 -07:00
|
|
|
"properties": {
|
|
|
|
"time_format": "2006-01-02 15:04:05",
|
2021-11-07 08:42:56 -08:00
|
|
|
"prefix": " "
|
2021-04-23 07:21:54 -07:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"type": "git",
|
|
|
|
"style": "powerline",
|
|
|
|
"powerline_symbol": "\uE0B0",
|
|
|
|
"foreground": "#193549",
|
|
|
|
"background": "#fffb38",
|
|
|
|
"properties": {
|
2021-11-07 08:42:56 -08:00
|
|
|
"fetch_stash_count": true,
|
2021-11-08 13:56:40 -08:00
|
|
|
"fetch_upstream_icon": true,
|
|
|
|
"template": "{{ .Repo.UpstreamIcon }}{{ .Repo.HEAD }}{{ if gt .Repo.StashCount 0 }} \uF692 {{ .Repo.StashCount }}{{ end }}"
|
2021-04-23 07:21:54 -07:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "node",
|
|
|
|
"style": "powerline",
|
|
|
|
"powerline_symbol": "\uE0B0",
|
|
|
|
"foreground": "#ffffff",
|
|
|
|
"background": "#6CA35E",
|
|
|
|
"properties": {
|
|
|
|
"prefix": " \uE718 "
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "root",
|
|
|
|
"style": "powerline",
|
|
|
|
"powerline_symbol": "\uE0B0",
|
|
|
|
"foreground": "#193549",
|
|
|
|
"background": "#ffff66"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "exit",
|
|
|
|
"style": "diamond",
|
|
|
|
"foreground": "#ffffff",
|
|
|
|
"background": "#2e9599",
|
2021-05-04 00:23:40 -07:00
|
|
|
"leading_diamond": "<transparent, #2e9599>\uE0B0</>",
|
2021-04-23 07:21:54 -07:00
|
|
|
"trailing_diamond": "\uE0B4",
|
|
|
|
"properties": {
|
|
|
|
"display_exit_code": false,
|
|
|
|
"always_enabled": true,
|
|
|
|
"error_color": "#f1184c",
|
|
|
|
"color_background": true,
|
2021-05-04 00:23:40 -07:00
|
|
|
"prefix": " \uFC0C"
|
2021-04-23 07:21:54 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "prompt",
|
|
|
|
"alignment": "left",
|
|
|
|
"newline": true,
|
|
|
|
"segments": [
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"style": "plain",
|
|
|
|
"foreground": "#f1184c",
|
|
|
|
"properties": {
|
|
|
|
"prefix": "",
|
|
|
|
"text": "\uF7C6"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"final_space": true
|
|
|
|
}
|