mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-12-26 11:34:04 -08:00
82 lines
2.3 KiB
JSON
82 lines
2.3 KiB
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
|
"blocks": [
|
|
{
|
|
"alignment": "left",
|
|
"segments": [
|
|
{
|
|
"background": "#6272a4",
|
|
"foreground": "#f8f8f2",
|
|
"leading_diamond": "\ue0b6",
|
|
"style": "diamond",
|
|
"template": "{{ .UserName }} ",
|
|
"type": "session"
|
|
},
|
|
{
|
|
"background": "#bd93f9",
|
|
"foreground": "#f8f8f2",
|
|
"powerline_symbol": "\ue0b0",
|
|
"properties": {
|
|
"style": "folder"
|
|
},
|
|
"style": "powerline",
|
|
"template": " {{ .Path }} ",
|
|
"type": "path"
|
|
},
|
|
{
|
|
"background": "#ffb86c",
|
|
"foreground": "#f8f8f2",
|
|
"powerline_symbol": "\ue0b0",
|
|
"properties": {
|
|
"branch_icon": "",
|
|
"fetch_stash_count": true,
|
|
"fetch_status": false,
|
|
"fetch_upstream_icon": true
|
|
},
|
|
"style": "powerline",
|
|
"template": " \ue725 ({{ .UpstreamIcon }}{{ .HEAD }}{{ if gt .StashCount 0 }} \ueb4b {{ .StashCount }}{{ end }}) ",
|
|
"type": "git"
|
|
},
|
|
{
|
|
"background": "#8be9fd",
|
|
"foreground": "#f8f8f2",
|
|
"powerline_symbol": "\ue0b0",
|
|
"style": "powerline",
|
|
"template": " \ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} ",
|
|
"type": "node"
|
|
},
|
|
{
|
|
"background": "#ff79c6",
|
|
"foreground": "#f8f8f2",
|
|
"properties": {
|
|
"time_format": "15:04"
|
|
},
|
|
"style": "diamond",
|
|
"template": " \u2665 {{ .CurrentDate | date .Format }} ",
|
|
"trailing_diamond": "\ue0b0",
|
|
"type": "time"
|
|
}
|
|
],
|
|
"type": "prompt"
|
|
},
|
|
{
|
|
"alignment": "left",
|
|
"segments": [
|
|
{
|
|
"background": "#f1fa8c",
|
|
"foreground": "#282a36",
|
|
"invert_powerline": true,
|
|
"leading_diamond": "\ue0b2",
|
|
"style": "diamond",
|
|
"template": " \ue7ad {{.Profile}}{{if .Region}}@{{.Region}}{{end}}",
|
|
"trailing_diamond": "\ue0b4",
|
|
"type": "aws"
|
|
}
|
|
],
|
|
"type": "rprompt"
|
|
}
|
|
],
|
|
"final_space": true,
|
|
"version": 3
|
|
}
|