2021-04-11 11:03:56 -07:00
|
|
|
{
|
|
|
|
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
|
|
|
"blocks": [
|
|
|
|
{
|
|
|
|
"alignment": "left",
|
|
|
|
"segments": [
|
|
|
|
{
|
|
|
|
"background": "#feae34",
|
|
|
|
"foreground": "#262b44",
|
2022-02-03 01:22:57 -08:00
|
|
|
"leading_diamond": "\ue0b6",
|
|
|
|
"powerline_symbol": "\ue0b0",
|
2021-04-11 11:03:56 -07:00
|
|
|
"properties": {
|
2022-03-27 01:12:47 -07:00
|
|
|
"style": "folder"
|
2021-04-11 11:03:56 -07:00
|
|
|
},
|
|
|
|
"style": "diamond",
|
2022-03-27 01:12:47 -07:00
|
|
|
"template": " \ue5ff {{ .Path }} ",
|
2022-02-03 01:22:57 -08:00
|
|
|
"trailing_diamond": "\ue0b0",
|
2021-04-11 11:03:56 -07:00
|
|
|
"type": "path"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"background": "#fee761",
|
2021-11-07 08:42:56 -08:00
|
|
|
"background_templates": [
|
2021-11-09 08:13:47 -08:00
|
|
|
"{{ if or (.Working.Changed) (.Staging.Changed) }}#f77622{{ end }}",
|
|
|
|
"{{ if and (gt .Ahead 0) (gt .Behind 0) }}#e43b44{{ end }}",
|
|
|
|
"{{ if gt .Ahead 0 }}#2ce8f5{{ end }}",
|
|
|
|
"{{ if gt .Behind 0 }}#f77622{{ end }}"
|
2021-11-07 08:42:56 -08:00
|
|
|
],
|
2022-02-03 01:22:57 -08:00
|
|
|
"foreground": "#262b44",
|
|
|
|
"powerline_symbol": "\ue0b0",
|
2021-04-11 11:03:56 -07:00
|
|
|
"properties": {
|
2021-11-07 08:42:56 -08:00
|
|
|
"fetch_stash_count": true,
|
2022-02-03 01:22:57 -08:00
|
|
|
"fetch_status": true,
|
2022-03-27 01:12:47 -07:00
|
|
|
"fetch_upstream_icon": true
|
2021-04-11 11:03:56 -07:00
|
|
|
},
|
|
|
|
"style": "powerline",
|
2023-05-09 02:08:45 -07:00
|
|
|
"template": " {{ .UpstreamIcon }}{{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if gt .StashCount 0 }} \ueb4b {{ .StashCount }}{{ end }} ",
|
2021-04-11 11:03:56 -07:00
|
|
|
"type": "git"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"background": "#0095e9",
|
2022-02-03 01:22:57 -08:00
|
|
|
"background_templates": [
|
|
|
|
"{{ if gt .Code 0 }}#ff0044{{ end }}"
|
|
|
|
],
|
2021-04-11 11:03:56 -07:00
|
|
|
"foreground": "#ffffff",
|
2022-02-03 01:22:57 -08:00
|
|
|
"leading_diamond": "<transparent,background>\ue0b0</>",
|
2021-04-11 11:03:56 -07:00
|
|
|
"properties": {
|
2022-03-27 01:12:47 -07:00
|
|
|
"always_enabled": true
|
2021-04-11 11:03:56 -07:00
|
|
|
},
|
|
|
|
"style": "diamond",
|
2022-03-27 01:12:47 -07:00
|
|
|
"template": " \uf0e7 ",
|
2022-02-03 01:22:57 -08:00
|
|
|
"trailing_diamond": "\ue0b4",
|
2023-07-23 00:29:54 -07:00
|
|
|
"type": "status"
|
2021-04-11 11:03:56 -07:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"type": "prompt"
|
|
|
|
}
|
|
|
|
],
|
2022-02-03 01:22:57 -08:00
|
|
|
"final_space": true,
|
2024-10-28 05:59:40 -07:00
|
|
|
"version": 3
|
2021-04-11 11:03:56 -07:00
|
|
|
}
|