2021-09-02 08:49:03 -07:00
|
|
|
{
|
|
|
|
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
|
|
|
"blocks": [
|
2022-04-13 12:37:29 -07:00
|
|
|
{
|
|
|
|
"alignment": "left",
|
|
|
|
"segments": [
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"style": "diamond",
|
|
|
|
"leading_diamond": "\ue0b6",
|
|
|
|
"foreground": "#ffffff",
|
|
|
|
"background": "#cc3802",
|
|
|
|
"template": "{{ if .Env.PNPPSHOST }} \uf8c5 {{ .Env.PNPPSHOST }} {{ end }}"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"style": "powerline",
|
|
|
|
"foreground": "#ffffff",
|
|
|
|
"background": "#047e84",
|
|
|
|
"powerline_symbol": "\ue0b0",
|
|
|
|
"template": "{{ if .Env.PNPPSSITE }} \uf672 {{ .Env.PNPPSSITE }}{{ end }}"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"style": "diamond",
|
|
|
|
"trailing_diamond": "\ue0b4",
|
|
|
|
"foreground": "#ffffff",
|
|
|
|
"background": "#047e84",
|
|
|
|
"template": "{{ if .Env.PNPPSSITE }}\u00A0{{ end }}"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"type": "rprompt"
|
|
|
|
},
|
2021-09-02 08:49:03 -07:00
|
|
|
{
|
|
|
|
"alignment": "left",
|
|
|
|
"segments": [
|
|
|
|
{
|
|
|
|
"background": "#9A348E",
|
2022-02-03 01:22:57 -08:00
|
|
|
"foreground": "#ffffff",
|
|
|
|
"leading_diamond": "\ue0b6",
|
|
|
|
"style": "diamond",
|
2022-03-27 01:12:47 -07:00
|
|
|
"template": "{{ .UserName }} ",
|
2022-02-03 01:22:57 -08:00
|
|
|
"type": "session"
|
2021-09-02 08:49:03 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"background": "#DA627D",
|
2022-02-03 01:22:57 -08:00
|
|
|
"foreground": "#ffffff",
|
|
|
|
"powerline_symbol": "\ue0b0",
|
2021-09-02 08:49:03 -07:00
|
|
|
"properties": {
|
2022-03-27 01:12:47 -07:00
|
|
|
"style": "folder"
|
2022-02-03 01:22:57 -08:00
|
|
|
},
|
|
|
|
"style": "powerline",
|
2022-03-27 01:12:47 -07:00
|
|
|
"template": " {{ .Path }} ",
|
2022-02-03 01:22:57 -08:00
|
|
|
"type": "path"
|
2021-09-02 08:49:03 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"background": "#FCA17D",
|
2022-02-03 01:22:57 -08:00
|
|
|
"foreground": "#ffffff",
|
|
|
|
"powerline_symbol": "\ue0b0",
|
2021-09-02 08:49:03 -07:00
|
|
|
"properties": {
|
|
|
|
"branch_icon": "",
|
2022-02-03 01:22:57 -08:00
|
|
|
"fetch_stash_count": true,
|
2021-11-07 08:42:56 -08:00
|
|
|
"fetch_status": false,
|
2022-03-27 01:12:47 -07:00
|
|
|
"fetch_upstream_icon": true
|
2022-02-03 01:22:57 -08:00
|
|
|
},
|
|
|
|
"style": "powerline",
|
2022-03-27 01:12:47 -07:00
|
|
|
"template": " \u279c ({{ .UpstreamIcon }}{{ .HEAD }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }}) ",
|
2022-02-03 01:22:57 -08:00
|
|
|
"type": "git"
|
2021-09-02 08:49:03 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"background": "#86BBD8",
|
2022-02-03 01:22:57 -08:00
|
|
|
"foreground": "#ffffff",
|
|
|
|
"powerline_symbol": "\ue0b0",
|
|
|
|
"style": "powerline",
|
2022-03-27 01:12:47 -07:00
|
|
|
"template": " \ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} ",
|
2022-02-03 01:22:57 -08:00
|
|
|
"type": "node"
|
2021-09-02 08:49:03 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"background": "#33658A",
|
2022-02-03 01:22:57 -08:00
|
|
|
"foreground": "#ffffff",
|
2021-09-02 08:49:03 -07:00
|
|
|
"properties": {
|
|
|
|
"time_format": "15:04"
|
2022-02-03 01:22:57 -08:00
|
|
|
},
|
|
|
|
"style": "diamond",
|
2022-03-27 01:12:47 -07:00
|
|
|
"template": " \u2665 {{ .CurrentDate | date .Format }} ",
|
2022-02-03 01:22:57 -08:00
|
|
|
"trailing_diamond": "\ue0b0",
|
|
|
|
"type": "time"
|
2021-09-02 08:49:03 -07:00
|
|
|
}
|
2022-02-03 01:22:57 -08:00
|
|
|
],
|
|
|
|
"type": "prompt"
|
2021-09-02 08:49:03 -07:00
|
|
|
}
|
2022-02-03 01:22:57 -08:00
|
|
|
],
|
|
|
|
"final_space": true,
|
2022-03-27 01:12:47 -07:00
|
|
|
"version": 2
|
2021-09-02 08:49:03 -07:00
|
|
|
}
|