2021-03-21 18:42:20 -07:00
|
|
|
{
|
2022-02-03 01:22:57 -08:00
|
|
|
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
|
|
|
"blocks": [
|
|
|
|
{
|
|
|
|
"alignment": "left",
|
|
|
|
"segments": [
|
|
|
|
{
|
|
|
|
"foreground": "#FFE082",
|
|
|
|
"style": "plain",
|
2022-03-27 01:12:47 -07:00
|
|
|
"template": "@{{ .UserName }} \u279c",
|
2022-02-03 01:22:57 -08:00
|
|
|
"type": "session"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"foreground": "#56B6C2",
|
|
|
|
"properties": {
|
2022-03-27 01:12:47 -07:00
|
|
|
"style": "agnoster_short"
|
2022-02-03 01:22:57 -08:00
|
|
|
},
|
|
|
|
"style": "plain",
|
2022-03-27 01:12:47 -07:00
|
|
|
"template": " {{ .Path }} ",
|
2022-02-03 01:22:57 -08:00
|
|
|
"type": "path"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"foreground": "#7FD5EA",
|
|
|
|
"style": "powerline",
|
2022-03-27 01:12:47 -07:00
|
|
|
"template": "(\ufcd1{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}) ",
|
2022-02-03 01:22:57 -08:00
|
|
|
"type": "go"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"foreground": "#9e7eff",
|
|
|
|
"style": "powerline",
|
2022-03-27 01:12:47 -07:00
|
|
|
"template": "(\ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }}) ",
|
2022-02-03 01:22:57 -08:00
|
|
|
"type": "python"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"foreground": "#56B6C2",
|
|
|
|
"properties": {
|
2022-03-27 01:12:47 -07:00
|
|
|
"branch_icon": ""
|
2022-02-03 01:22:57 -08:00
|
|
|
},
|
|
|
|
"style": "plain",
|
2022-03-27 01:12:47 -07:00
|
|
|
"template": "<#E8CC97>git(</>{{ .HEAD }}<#E8CC97>) </>",
|
2022-02-03 01:22:57 -08:00
|
|
|
"type": "git"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"foreground": "#FFAB91",
|
|
|
|
"properties": {
|
|
|
|
"always_enabled": false,
|
|
|
|
"style": "austin",
|
|
|
|
"threshold": 100
|
2021-03-21 18:42:20 -07:00
|
|
|
},
|
|
|
|
"style": "powerline",
|
2022-03-27 01:12:47 -07:00
|
|
|
"template": "{{{ .FormattedMs }}}",
|
2022-02-03 01:22:57 -08:00
|
|
|
"type": "executiontime"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"type": "prompt"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"alignment": "left",
|
|
|
|
"newline": true,
|
|
|
|
"segments": [
|
|
|
|
{
|
2021-03-21 18:42:20 -07:00
|
|
|
"foreground": "#193549",
|
2021-11-25 04:55:03 -08:00
|
|
|
"foreground_templates": [
|
|
|
|
"{{if eq \"Charging\" .State.String}}#64B5F6{{end}}",
|
|
|
|
"{{if eq \"Discharging\" .State.String}}#E36464{{end}}",
|
|
|
|
"{{if eq \"Full\" .State.String}}#66BB6A{{end}}"
|
|
|
|
],
|
2021-03-21 18:42:20 -07:00
|
|
|
"properties": {
|
2022-02-03 01:22:57 -08:00
|
|
|
"charged_icon": "\ue22f ",
|
|
|
|
"charging_icon": "\ue234 ",
|
2022-03-27 01:12:47 -07:00
|
|
|
"discharging_icon": "\ue231 "
|
2022-02-03 01:22:57 -08:00
|
|
|
},
|
|
|
|
"style": "powerline",
|
2022-03-27 01:12:47 -07:00
|
|
|
"template": "[{{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }}\uf295]",
|
2022-02-03 01:22:57 -08:00
|
|
|
"type": "battery"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"type": "prompt"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"final_space": true,
|
2022-03-27 01:12:47 -07:00
|
|
|
"version": 2
|
2022-02-03 01:22:57 -08:00
|
|
|
}
|