mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-10 04:54:03 -08:00
72 lines
1.9 KiB
JSON
72 lines
1.9 KiB
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
|
"final_space": true,
|
|
"blocks": [
|
|
{
|
|
"type": "prompt",
|
|
"alignment": "left",
|
|
"segments": [
|
|
{
|
|
"type": "session",
|
|
"style": "diamond",
|
|
"foreground": "#ffffff",
|
|
"background": "#B4009E",
|
|
"leading_diamond": "\uE0B6",
|
|
"trailing_diamond": "",
|
|
"properties": {
|
|
"prefix": "",
|
|
"template": "{{ .UserName }}"
|
|
}
|
|
},
|
|
{
|
|
"type": "path",
|
|
"style": "powerline",
|
|
"powerline_symbol": "\uE0B0",
|
|
"foreground": "#000000",
|
|
"background": "#FFFF00",
|
|
"properties": {
|
|
"style": "folder"
|
|
}
|
|
},
|
|
{
|
|
"type": "git",
|
|
"style": "powerline",
|
|
"powerline_symbol": "\uE0B0",
|
|
"foreground": "#ffffff",
|
|
"background": "#4E44FF",
|
|
"properties": {
|
|
"fetch_stash_count": true,
|
|
"fetch_status": false,
|
|
"fetch_upstream_icon": true,
|
|
"branch_icon": "",
|
|
"template": "{{ .UpstreamIcon }}{{ .HEAD }}{{ if gt .StashCount 0 }} \uF692 {{ .StashCount }}{{ end }}",
|
|
"prefix": " \u279C (",
|
|
"postfix": ") "
|
|
}
|
|
},
|
|
{
|
|
"type": "node",
|
|
"style": "powerline",
|
|
"powerline_symbol": "\uE0B0",
|
|
"foreground": "#ffffff",
|
|
"background": "#4e903d",
|
|
"properties": {
|
|
"prefix": " \uE718 "
|
|
}
|
|
},
|
|
{
|
|
"type": "time",
|
|
"style": "diamond",
|
|
"trailing_diamond": "\uE0B0",
|
|
"foreground": "#ffffff",
|
|
"background": "#16C60C",
|
|
"properties": {
|
|
"prefix": " \u2665 ",
|
|
"time_format": "15:04"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|