2021-04-12 02:31:01 -07:00
|
|
|
{
|
|
|
|
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
|
|
|
"blocks": [
|
|
|
|
{
|
|
|
|
"alignment": "left",
|
|
|
|
"segments": [
|
|
|
|
{
|
|
|
|
"background": "#ffea00",
|
2022-02-03 01:22:57 -08:00
|
|
|
"foreground": "#000000",
|
|
|
|
"leading_diamond": "\ue0c7\u2593",
|
2021-04-12 02:31:01 -07:00
|
|
|
"properties": {
|
2022-02-03 01:22:57 -08:00
|
|
|
"template": ""
|
|
|
|
},
|
|
|
|
"style": "diamond",
|
|
|
|
"type": "text"
|
2021-04-12 02:31:01 -07:00
|
|
|
},
|
|
|
|
{
|
2021-04-18 10:16:06 -07:00
|
|
|
"background": "#ffea00",
|
2022-02-03 01:22:57 -08:00
|
|
|
"foreground": "#000000",
|
2021-04-18 10:16:06 -07:00
|
|
|
"properties": {
|
2022-02-03 01:22:57 -08:00
|
|
|
"template": " \ufd31{{.Context}}{{if .Namespace}} :: {{.Namespace}}{{end}} "
|
|
|
|
},
|
|
|
|
"style": "powerline",
|
|
|
|
"type": "kubectl"
|
2021-04-18 10:16:06 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"background": "#008AD7",
|
2022-02-03 01:22:57 -08:00
|
|
|
"foreground": "#000000",
|
|
|
|
"powerline_symbol": "\ue0b0",
|
2021-04-18 10:16:06 -07:00
|
|
|
"properties": {
|
2022-02-03 01:22:57 -08:00
|
|
|
"template": " \ufd03 {{ .Name }} "
|
|
|
|
},
|
|
|
|
"style": "powerline",
|
|
|
|
"type": "az"
|
2021-04-18 10:16:06 -07:00
|
|
|
}
|
2022-02-03 01:22:57 -08:00
|
|
|
],
|
|
|
|
"type": "prompt"
|
2021-04-12 02:31:01 -07:00
|
|
|
},
|
2021-04-18 10:16:06 -07:00
|
|
|
{
|
|
|
|
"alignment": "left",
|
|
|
|
"newline": true,
|
|
|
|
"segments": [
|
2021-04-12 02:31:01 -07:00
|
|
|
{
|
|
|
|
"background": "#2f2f2f",
|
2022-02-03 01:22:57 -08:00
|
|
|
"foreground": "#26C6DA",
|
|
|
|
"leading_diamond": "\ue0c7\u2593",
|
2021-04-12 02:31:01 -07:00
|
|
|
"properties": {
|
|
|
|
"alpine": "\uf300",
|
|
|
|
"arch": "\uf303",
|
|
|
|
"centos": "\uf304",
|
|
|
|
"debian": "\uf306",
|
|
|
|
"elementary": "\uf309",
|
|
|
|
"fedora": "\uf30a",
|
|
|
|
"gentoo": "\uf30d",
|
|
|
|
"linux": "\ue712",
|
|
|
|
"macos": "\ue711",
|
|
|
|
"manjaro": "\uf312",
|
|
|
|
"mint": "\uf30f",
|
|
|
|
"opensuse": "\uf314",
|
|
|
|
"raspbian": "\uf315",
|
2022-02-03 01:22:57 -08:00
|
|
|
"template": " {{ if .WSL }}\ue712 on {{ end }}{{ .Icon }}<#ffea00> \ue0b1</>",
|
2021-04-12 02:31:01 -07:00
|
|
|
"ubuntu": "\uf31c",
|
2022-02-03 01:22:57 -08:00
|
|
|
"windows": "\ue70f"
|
|
|
|
},
|
|
|
|
"style": "diamond",
|
|
|
|
"type": "os"
|
2021-04-12 02:31:01 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"background": "#2f2f2f",
|
2022-02-03 01:22:57 -08:00
|
|
|
"foreground": "#ffea00",
|
2021-04-12 02:31:01 -07:00
|
|
|
"properties": {
|
2022-02-03 01:22:57 -08:00
|
|
|
"template": " {{ if ne .Env.POSH_SESSION_DEFAULT_USER .UserName }}{{ .UserName }}{{ end }}<#ffea00> \ue0b1</>"
|
|
|
|
},
|
|
|
|
"style": "diamond",
|
|
|
|
"type": "session"
|
2021-04-12 02:31:01 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"background": "#2f2f2f",
|
2022-02-03 01:22:57 -08:00
|
|
|
"foreground": "#ffea00",
|
2021-04-12 02:31:01 -07:00
|
|
|
"properties": {
|
2022-02-03 01:22:57 -08:00
|
|
|
"template": " \uf0e7<#ffea00> \ue0b1</>"
|
|
|
|
},
|
|
|
|
"style": "diamond",
|
|
|
|
"type": "root"
|
2021-04-12 02:31:01 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"background": "#2f2f2f",
|
2022-02-03 01:22:57 -08:00
|
|
|
"foreground": "#fafafa",
|
2021-04-12 02:31:01 -07:00
|
|
|
"properties": {
|
|
|
|
"folder_icon": "<#B5B2C2>\ue5fe </>",
|
2022-02-03 01:22:57 -08:00
|
|
|
"folder_separator_icon": "<#ffea00>\ue0b1 </>",
|
|
|
|
"home_icon": "\uf7db ",
|
|
|
|
"style": "agnoster_short",
|
|
|
|
"template": "<#f2f200> \ue5ff </>{{ .Path }} "
|
|
|
|
},
|
|
|
|
"style": "diamond",
|
|
|
|
"type": "path"
|
2021-04-12 02:31:01 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"background": "#2f2f2f",
|
2022-02-03 01:22:57 -08:00
|
|
|
"foreground": "#ffea00",
|
2021-11-07 08:42:56 -08:00
|
|
|
"foreground_templates": [
|
2021-11-09 08:13:47 -08:00
|
|
|
"{{ if or (.Working.Changed) (.Staging.Changed) }}#ffea00{{ end }}",
|
|
|
|
"{{ if gt .Ahead 0 }}#2EC4B6{{ end }}",
|
|
|
|
"{{ if gt .Behind 0 }}#8A4FFF{{ end }}"
|
2021-11-07 08:42:56 -08:00
|
|
|
],
|
2021-04-12 02:31:01 -07:00
|
|
|
"properties": {
|
2021-11-07 08:42:56 -08:00
|
|
|
"fetch_stash_count": true,
|
|
|
|
"fetch_status": true,
|
2021-11-08 13:56:40 -08:00
|
|
|
"fetch_upstream_icon": true,
|
2022-02-03 01:22:57 -08:00
|
|
|
"template": "<#ffea00>\ue0b1 </>{{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }}<#E84855> \uf044 {{ .Working.String }}</>{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }}<#2FDA4E> \uf046 {{ .Staging.String }}</>{{ end }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} "
|
|
|
|
},
|
|
|
|
"style": "diamond",
|
|
|
|
"type": "git"
|
2021-04-12 02:31:01 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"background": "#2f2f2f",
|
2022-02-03 01:22:57 -08:00
|
|
|
"foreground": "#fafafa",
|
2021-04-12 02:31:01 -07:00
|
|
|
"properties": {
|
2022-02-03 01:22:57 -08:00
|
|
|
"template": ""
|
|
|
|
},
|
|
|
|
"style": "diamond",
|
|
|
|
"trailing_diamond": "\ue0b0",
|
|
|
|
"type": "text"
|
2021-04-12 02:31:01 -07:00
|
|
|
}
|
2022-02-03 01:22:57 -08:00
|
|
|
],
|
|
|
|
"type": "prompt"
|
2021-04-12 02:31:01 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"alignment": "left",
|
|
|
|
"segments": [
|
|
|
|
{
|
|
|
|
"foreground": "#ffea00",
|
|
|
|
"properties": {
|
2022-02-03 01:22:57 -08:00
|
|
|
"template": " \u276f "
|
|
|
|
},
|
|
|
|
"style": "plain",
|
|
|
|
"type": "text"
|
2021-04-12 02:31:01 -07:00
|
|
|
}
|
2022-02-03 01:22:57 -08:00
|
|
|
],
|
|
|
|
"type": "prompt"
|
2021-04-12 02:31:01 -07:00
|
|
|
}
|
2022-02-03 01:22:57 -08:00
|
|
|
],
|
|
|
|
"console_title": true,
|
|
|
|
"console_title_style": "template",
|
|
|
|
"console_title_template": "{{if .Root}}root :: {{end}}{{.Shell}} :: {{.Folder}}",
|
|
|
|
"final_space": true,
|
|
|
|
"version": 1
|
2021-04-18 10:16:06 -07:00
|
|
|
}
|