mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-12-28 04:19:41 -08:00
115 lines
2.6 KiB
JSON
115 lines
2.6 KiB
JSON
{
|
||
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
||
"blocks": [
|
||
{
|
||
"type": "prompt",
|
||
"alignment": "left",
|
||
"newline": true,
|
||
"segments": [
|
||
{
|
||
"type": "python",
|
||
"style": "powerline",
|
||
"foreground": "#b1ff4f",
|
||
"properties": {
|
||
"prefix": "\u005b🐍 ",
|
||
"postfix": "\u005D "
|
||
}
|
||
},
|
||
{
|
||
"type": "path",
|
||
"style": "plain",
|
||
"foreground": "#ffaed8",
|
||
"properties": {
|
||
"style": "letter",
|
||
"home_icon": "\u2764",
|
||
"folder_separator_icon": " 🢖 ",
|
||
"prefix": "<#eaeaea>⎧</> ⟨",
|
||
"postfix": "⟩ "
|
||
}
|
||
},
|
||
{
|
||
"type": "git",
|
||
"style": "plain",
|
||
"foreground": "#62beff",
|
||
"properties": {
|
||
"prefix": "⟨",
|
||
"postfix": "⟩",
|
||
"fetch_status": true,
|
||
"branch_icon": "⟟",
|
||
"branch_identical_icon": "≡",
|
||
"template": "{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }} ∆{{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uF046 {{ .Staging.String }}{{ end }}"
|
||
}
|
||
},
|
||
{
|
||
"type": "node",
|
||
"style": "plain",
|
||
"foreground": "#98C379",
|
||
"properties": {
|
||
"fetch_version": true,
|
||
"prefix": "<#ffffff>\u25E6</> \u2622"
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"type": "prompt",
|
||
"alignment": "right",
|
||
"newline": false,
|
||
"segments": [
|
||
{
|
||
"type": "exit",
|
||
"style": "plain",
|
||
"foreground": "#fb0207",
|
||
"properties": {
|
||
"template": "×××"
|
||
}
|
||
},
|
||
{
|
||
"type": "executiontime",
|
||
"style": "plain",
|
||
"foreground": "#9966ff",
|
||
"properties": {
|
||
"threshold": 0,
|
||
"style": "austin",
|
||
"prefix": "⟨",
|
||
"postfix": "⟩ <#eaeaea>⎫</>"
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"type": "prompt",
|
||
"alignment": "left",
|
||
"newline": true,
|
||
"segments": [
|
||
{
|
||
"type": "text",
|
||
"style": "plain",
|
||
"foreground": "#3ce6bf",
|
||
"properties": {
|
||
"prefix": "<#eaeaea>⎩</>",
|
||
"text": " \u27E9\u27E9\u27E9\u27E9\u27E9\u27E9 "
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"type": "rprompt",
|
||
"alignment": "right",
|
||
"newline": false,
|
||
"segments": [
|
||
{
|
||
"type": "time",
|
||
"style": "plain",
|
||
"foreground": "#f5f5a6",
|
||
"properties": {
|
||
"time_format": "15:04:05",
|
||
"prefix": "⟨",
|
||
"postfix": "⟩ <#eaeaea>⎭</>"
|
||
}
|
||
}
|
||
]
|
||
}
|
||
]
|
||
}
|