69 lines
2.3 KiB
JSON
69 lines
2.3 KiB
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
|
"blocks": [
|
|
{
|
|
"type": "prompt",
|
|
"alignment": "left",
|
|
"segments": [
|
|
{
|
|
"properties": {
|
|
"cache_duration": "none"
|
|
},
|
|
"leading_diamond": "\ue0b6",
|
|
"trailing_diamond": "\ue0b4",
|
|
"foreground": "{{colors.surface.default.hex}}",
|
|
"background": "{{colors.tertiary.default.hex}}",
|
|
"type": "os",
|
|
"style": "diamond"
|
|
},
|
|
{
|
|
"properties": {
|
|
"cache_duration": "none"
|
|
},
|
|
"trailing_diamond": "\ue0b4",
|
|
"template": " || .UserName °°@|| .HostName °°",
|
|
"foreground": "{{colors.surface.default.hex}}",
|
|
"background": "{{colors.secondary.default.hex}}",
|
|
"type": "session",
|
|
"style": "diamond"
|
|
},
|
|
{
|
|
"properties": {
|
|
"cache_duration": "none"
|
|
},
|
|
"trailing_diamond": "\ue0b4",
|
|
"template": " || .PWD °° ",
|
|
"foreground": "{{colors.surface.default.hex}}",
|
|
"background": "{{colors.primary.default.hex}}",
|
|
"type": "path",
|
|
"style": "diamond"
|
|
},
|
|
{
|
|
"properties": {
|
|
"cache_duration": "none",
|
|
"fetch_status": true,
|
|
"fetch_upstream_icon": true,
|
|
"mapped_branches": {
|
|
"bug/*": "\ueaaf",
|
|
"feat/*": "\uf427"
|
|
},
|
|
"source": "cli",
|
|
"untracked_modes": {
|
|
"/Users/user/Projects/oh-my-posh/": "no"
|
|
}
|
|
},
|
|
"trailing_diamond": "\ue0b4",
|
|
"template": " || .UpstreamIcon °°|| .HEAD °°||if .BranchStatus °° || .BranchStatus °°|| end °°|| if .Working.Changed °° \uf044 || .Working.String °°|| end °°|| if and (.Working.Changed) (.Staging.Changed) °° || end °°|| if .Staging.Changed °° \uf046 || .Staging.String °°|| end °°|| if gt .StashCount 0 °° \uf0c7 || .StashCount °°|| end °°",
|
|
"foreground": "{{colors.surface.default.hex}}",
|
|
"background": "{{colors.tertiary_fixed_dim.default.hex}}",
|
|
"type": "git",
|
|
"style": "diamond"
|
|
}
|
|
],
|
|
"newline": true
|
|
}
|
|
],
|
|
"version": 3,
|
|
"final_space": true
|
|
}
|