2021-11-15 14:58:42 -08:00
|
|
|
{
|
|
|
|
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
|
|
|
"blocks": [
|
|
|
|
{
|
|
|
|
"alignment": "left",
|
|
|
|
"segments": [
|
|
|
|
{
|
|
|
|
"background": "#adbccd",
|
2022-02-03 01:22:57 -08:00
|
|
|
"foreground": "#0f1225",
|
|
|
|
"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-11-15 14:58:42 -08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"background": "#f1ece6",
|
2022-02-03 01:22:57 -08:00
|
|
|
"foreground": "#0f1225",
|
|
|
|
"powerline_symbol": "\ue0b0",
|
2021-11-15 14:58:42 -08: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-11-15 14:58:42 -08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"background": "#90a7c4",
|
2022-02-03 01:22:57 -08:00
|
|
|
"foreground": "#0f1225",
|
|
|
|
"powerline_symbol": "\ue0b0",
|
2021-11-15 14:58:42 -08:00
|
|
|
"properties": {
|
|
|
|
"branch_icon": "",
|
2022-02-03 01:22:57 -08:00
|
|
|
"fetch_stash_count": true,
|
2021-11-15 14:58:42 -08:00
|
|
|
"fetch_status": true,
|
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-11-15 14:58:42 -08: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-11-15 14:58:42 -08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"background": "#1f4b8e",
|
2022-02-03 01:22:57 -08:00
|
|
|
"foreground": "#ffffff",
|
2021-11-15 14:58:42 -08: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": " \uf9b6{{ .CurrentDate | date .Format }} ",
|
2022-02-03 01:22:57 -08:00
|
|
|
"trailing_diamond": "\ue0b0",
|
|
|
|
"type": "time"
|
2021-11-15 14:58:42 -08:00
|
|
|
}
|
2022-02-03 01:22:57 -08:00
|
|
|
],
|
|
|
|
"type": "prompt"
|
2021-11-15 14:58:42 -08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"segments": [
|
|
|
|
{
|
|
|
|
"background": "#1f4b8e",
|
2022-02-03 01:22:57 -08:00
|
|
|
"foreground": "#ffffff",
|
|
|
|
"leading_diamond": "\ue0b2",
|
|
|
|
"style": "diamond",
|
2022-03-27 01:12:47 -07:00
|
|
|
"template": " \uf1bb {{ .Env.DAYS }} days till Christmas ",
|
2022-02-03 01:22:57 -08:00
|
|
|
"trailing_diamond": "\ue0b4",
|
|
|
|
"type": "text"
|
2021-11-15 14:58:42 -08:00
|
|
|
}
|
2022-02-03 01:22:57 -08:00
|
|
|
],
|
|
|
|
"type": "rprompt"
|
2021-11-15 14:58:42 -08:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"console_title_template": "{{ .Shell }} in {{ .Folder }}",
|
2022-02-03 01:22:57 -08:00
|
|
|
"final_space": true,
|
2021-11-15 14:58:42 -08:00
|
|
|
"transient_prompt": {
|
|
|
|
"background": "transparent",
|
|
|
|
"foreground": "#ffffff",
|
2022-02-03 01:22:57 -08:00
|
|
|
"template": "<#1f4b8e,transparent>\ue0b6</><#ffffff,#1f4b8e>\uf2dc</><#1f4b8e,transparent>\ue0b4</> {{ .Command }}"
|
|
|
|
},
|
2022-03-27 01:12:47 -07:00
|
|
|
"version": 2
|
2021-11-15 14:58:42 -08:00
|
|
|
}
|