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

59 lines
1.4 KiB
JSON
Raw Normal View History

2021-11-02 01:30:35 -07:00
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"type": "prompt",
"alignment": "left",
"segments": [
{
"type": "root",
"style": "plain",
"foreground": "#CECE04",
"properties": {
"prefix": "",
"root_icon": "#"
}
},
{
"type": "session",
"style": "plain",
"properties": {
"prefix": ""
}
},
{
"type": "path",
"style": "plain",
"foreground": "#7B68EE",
"properties": {
"style": "agnoster_short",
"prefix": ""
}
},
{
"type": "git",
"style": "plain",
"foreground": "#48D1CC",
"properties": {
"prefix": "HEAD:",
"branch_icon": "",
2021-11-08 13:56:40 -08:00
"fetch_upstream_icon": false,
2021-11-09 08:13:47 -08:00
"template": "{{ .UpstreamIcon }}{{ .HEAD }}"
2021-11-02 01:30:35 -07:00
}
},
{
"type": "exit",
"style": "plain",
2021-11-14 04:39:00 -08:00
"foreground": "#7FFFD4",
"foreground_templates": ["{{ if gt .Code 0 }}#E84855{{ end }}"],
2021-11-02 01:30:35 -07:00
"properties": {
"always_enabled": true,
2021-11-14 04:39:00 -08:00
"template": "<#66CDAA>\u276F</><#76EEC6>\u276F</><foreground>\u276F</>",
"prefix": ""
2021-11-02 01:30:35 -07:00
}
}
]
}
]
}