2022-02-27 10:21:29 -08:00
|
|
|
|
{
|
|
|
|
|
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
|
|
|
|
"blocks": [
|
|
|
|
|
{
|
|
|
|
|
"alignment": "right",
|
|
|
|
|
"segments": [
|
|
|
|
|
{
|
|
|
|
|
"background": "#29315A",
|
|
|
|
|
"foreground": "#3EC669",
|
|
|
|
|
"leading_diamond": "\ue0b6",
|
|
|
|
|
"properties": {
|
2022-03-27 01:12:47 -07:00
|
|
|
|
"style": "folder"
|
2022-02-27 10:21:29 -08:00
|
|
|
|
},
|
|
|
|
|
"style": "diamond",
|
2022-03-27 01:12:47 -07:00
|
|
|
|
"template": "\ue5ff {{ .Path }}",
|
2022-02-27 10:21:29 -08:00
|
|
|
|
"trailing_diamond": "\ue0b4",
|
|
|
|
|
"type": "path"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"background": "#29315A",
|
|
|
|
|
"foreground": "#43CCEA",
|
|
|
|
|
"foreground_templates": [
|
|
|
|
|
"{{ if or (.Working.Changed) (.Staging.Changed) }}#FF9248{{ end }}",
|
|
|
|
|
"{{ if and (gt .Ahead 0) (gt .Behind 0) }}#ff4500{{ end }}",
|
|
|
|
|
"{{ if gt .Ahead 0 }}#B388FF{{ end }}",
|
|
|
|
|
"{{ if gt .Behind 0 }}#B388FF{{ end }}"
|
|
|
|
|
],
|
|
|
|
|
"leading_diamond": " \ue0b6",
|
|
|
|
|
"properties": {
|
|
|
|
|
"branch_max_length": 25,
|
|
|
|
|
"fetch_stash_count": true,
|
|
|
|
|
"fetch_status": true,
|
2022-03-27 01:12:47 -07:00
|
|
|
|
"fetch_upstream_icon": true
|
2022-02-27 10:21:29 -08:00
|
|
|
|
},
|
|
|
|
|
"style": "diamond",
|
2023-05-09 02:08:45 -07:00
|
|
|
|
"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 }} \ueb4b {{ .StashCount }}{{ end }} ",
|
2022-02-27 10:21:29 -08:00
|
|
|
|
"trailing_diamond": "\ue0b4",
|
|
|
|
|
"type": "git"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"background": "#29315A",
|
|
|
|
|
"foreground": "#E4F34A",
|
|
|
|
|
"leading_diamond": " \ue0b6",
|
|
|
|
|
"properties": {
|
2022-03-27 01:12:47 -07:00
|
|
|
|
"fetch_version": false
|
2022-02-27 10:21:29 -08:00
|
|
|
|
},
|
|
|
|
|
"style": "diamond",
|
2022-03-27 01:12:47 -07:00
|
|
|
|
"template": "\ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }}",
|
2022-02-27 10:21:29 -08:00
|
|
|
|
"trailing_diamond": "\ue0b4",
|
|
|
|
|
"type": "python"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"background": "#29315A",
|
|
|
|
|
"foreground": "#7FD5EA",
|
|
|
|
|
"leading_diamond": " \ue0b6",
|
|
|
|
|
"properties": {
|
2022-03-27 01:12:47 -07:00
|
|
|
|
"fetch_version": false
|
2022-02-27 10:21:29 -08:00
|
|
|
|
},
|
|
|
|
|
"style": "diamond",
|
2023-05-09 02:08:45 -07:00
|
|
|
|
"template": "\ue626{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}",
|
2022-02-27 10:21:29 -08:00
|
|
|
|
"trailing_diamond": "\ue0b4",
|
|
|
|
|
"type": "go"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"background": "#29315A",
|
|
|
|
|
"foreground": "#42E66C",
|
|
|
|
|
"leading_diamond": " \ue0b6",
|
|
|
|
|
"properties": {
|
2022-03-27 01:12:47 -07:00
|
|
|
|
"fetch_version": false
|
2022-02-27 10:21:29 -08:00
|
|
|
|
},
|
|
|
|
|
"style": "diamond",
|
2022-03-27 01:12:47 -07:00
|
|
|
|
"template": "\ue718{{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }}",
|
2022-02-27 10:21:29 -08:00
|
|
|
|
"trailing_diamond": "\ue0b4",
|
|
|
|
|
"type": "node"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"background": "#29315A",
|
|
|
|
|
"foreground": "#E64747",
|
|
|
|
|
"leading_diamond": " \ue0b6",
|
|
|
|
|
"properties": {
|
2022-03-27 01:12:47 -07:00
|
|
|
|
"fetch_version": false
|
2022-02-27 10:21:29 -08:00
|
|
|
|
},
|
|
|
|
|
"style": "diamond",
|
2022-03-27 01:12:47 -07:00
|
|
|
|
"template": "\ue791{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}",
|
2022-02-27 10:21:29 -08:00
|
|
|
|
"trailing_diamond": "\ue0b4",
|
|
|
|
|
"type": "ruby"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"background": "#29315A",
|
|
|
|
|
"foreground": "#E64747",
|
|
|
|
|
"leading_diamond": " \ue0b6",
|
|
|
|
|
"properties": {
|
2022-03-27 01:12:47 -07:00
|
|
|
|
"fetch_version": false
|
2022-02-27 10:21:29 -08:00
|
|
|
|
},
|
|
|
|
|
"style": "diamond",
|
2022-03-27 01:12:47 -07:00
|
|
|
|
"template": "\ue738{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}",
|
2022-02-27 10:21:29 -08:00
|
|
|
|
"trailing_diamond": "\ue0b4",
|
|
|
|
|
"type": "java"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"background": "#29315A",
|
|
|
|
|
"foreground": "#9B6BDF",
|
|
|
|
|
"leading_diamond": " \ue0b6",
|
|
|
|
|
"properties": {
|
2022-03-27 01:12:47 -07:00
|
|
|
|
"fetch_version": false
|
2022-02-27 10:21:29 -08:00
|
|
|
|
},
|
|
|
|
|
"style": "diamond",
|
2022-03-27 01:12:47 -07:00
|
|
|
|
"template": "\ue624{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ",
|
2022-02-27 10:21:29 -08:00
|
|
|
|
"trailing_diamond": "\ue0b4",
|
|
|
|
|
"type": "julia"
|
|
|
|
|
},
|
2022-12-23 05:11:31 -08:00
|
|
|
|
{
|
|
|
|
|
"type": "php",
|
|
|
|
|
"style": "diamond",
|
|
|
|
|
"foreground": "#ffffff",
|
|
|
|
|
"background": "#4063D8",
|
|
|
|
|
"leading_diamond": " \ue0b6",
|
|
|
|
|
"properties": {
|
|
|
|
|
"fetch_version": false
|
|
|
|
|
},
|
|
|
|
|
"template": "\ue73d {{ .Full }} ",
|
|
|
|
|
"trailing_diamond": "\ue0b4"
|
|
|
|
|
},
|
2022-02-27 10:21:29 -08:00
|
|
|
|
{
|
|
|
|
|
"background": "#29315A",
|
|
|
|
|
"foreground": "#9B6BDF",
|
|
|
|
|
"foreground_templates": [
|
|
|
|
|
"{{if eq \"Charging\" .State.String}}#40c4ff{{end}}",
|
|
|
|
|
"{{if eq \"Discharging\" .State.String}}#ff5722{{end}}",
|
|
|
|
|
"{{if eq \"Full\" .State.String}}#4caf50{{end}}"
|
|
|
|
|
],
|
|
|
|
|
"leading_diamond": " \ue0b6",
|
|
|
|
|
"properties": {
|
|
|
|
|
"charged_icon": " ",
|
|
|
|
|
"charging_icon": "\u21e1 ",
|
2022-03-27 01:12:47 -07:00
|
|
|
|
"discharging_icon": "\u21e3 "
|
2022-02-27 10:21:29 -08:00
|
|
|
|
},
|
|
|
|
|
"style": "diamond",
|
2022-03-27 01:12:47 -07:00
|
|
|
|
"template": "{{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }}",
|
2022-02-27 10:21:29 -08:00
|
|
|
|
"trailing_diamond": "\ue0b4",
|
|
|
|
|
"type": "battery"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"type": "prompt"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"alignment": "left",
|
|
|
|
|
"newline": true,
|
|
|
|
|
"segments": [
|
|
|
|
|
{
|
|
|
|
|
"background": "#29315A",
|
|
|
|
|
"foreground": "#AEA4BF",
|
|
|
|
|
"leading_diamond": "\ue0b6",
|
|
|
|
|
"properties": {
|
|
|
|
|
"style": "austin",
|
|
|
|
|
"threshold": 150
|
|
|
|
|
},
|
|
|
|
|
"style": "diamond",
|
2022-03-27 01:12:47 -07:00
|
|
|
|
"template": "{{ .FormattedMs }}",
|
2022-02-27 10:21:29 -08:00
|
|
|
|
"trailing_diamond": "\ue0b4 ",
|
|
|
|
|
"type": "executiontime"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"background": "#29315A",
|
|
|
|
|
"foreground": "#E64747",
|
|
|
|
|
"leading_diamond": "\ue0b6",
|
|
|
|
|
"style": "diamond",
|
2022-03-27 01:12:47 -07:00
|
|
|
|
"template": "{{ .UserName }} \u276f",
|
2022-02-27 10:21:29 -08:00
|
|
|
|
"trailing_diamond": "\ue0b4",
|
|
|
|
|
"type": "text"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"type": "prompt"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"final_space": true,
|
2022-03-27 01:12:47 -07:00
|
|
|
|
"version": 2
|
2022-02-27 10:21:29 -08:00
|
|
|
|
}
|