{
  "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
  "final_space": true,
  "version": 3,
  "palette": {
    "black": "#262B44",
    "blue": "#4B95E9",
    "cyan": "#61fdff",
    "green": "#61fd5f",
    "orange": "#F07623",
    "red": "#D81E5B",
    "white": "#FFFFFF",
    "whitesoft": "#7f8080",
    "yellow": "#F3AE35",
    "morado": "#D91C9A"
  },
  "secondary_prompt": {
    "template": "</><foreground>\u276f</> ",
    "foreground": "p:white",
    "background": "transparent"
  },
  "transient_prompt": {
    "template": "<p:cyan>{{ .Folder }}</> <foreground>\u276f</> ",
    "foreground": "p:whitesoft",
    "background": "transparent"
  },
  "console_title_template": "{{ .Shell }} in {{ .Folder }}",
  "upgrade": {
    "source": "cdn",
    "interval": "168h",
    "auto": false,
    "notice": false
  },
  "blocks": [
    {
      "type": "prompt",
      "alignment": "left",
      "segments": [
        {
          "type": "session",
          "style": "plain",
          "template": "<p:white><b>{{ if .SSHSession }}\ueba9 {{ end }}{{ .UserName }}</b><p:whitesoft>@{{ .HostName }}:"
        },
        {
          "type": "path",
          "style": "plain",
          "properties": {
            "style": "folder"
          },
          "template": "<p:cyan>{{ .Path }}</>"
        },
        {
          "type": "git",
          "style": "powerline",
          "properties": {
            "branch_max_length": 25,
            "fetch_status": true,
            "fetch_upstream_icon": true
          },
          "template": " ({{ if .UpstreamURL }}{{ url .UpstreamIcon .UpstreamURL }} {{ end }}{{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }})",
          "foreground": "p:green",
          "background": "transparent",
          "foreground_templates": [
            "{{ if or (.Working.Changed) (.Staging.Changed) }}p:orange{{ end }}",
            "{{ if and (gt .Ahead 0) (gt .Behind 0) }}p:red{{ end }}",
            "{{ if gt .Behind 0 }}p:morado{{ end }}",
            "{{ if gt .Ahead 0 }}p:blue{{ end }}"
          ]
        },

        {
          "type": "status",
          "style": "plain",
          "properties": {
            "always_enabled": true
          },
          "template": " {{ if gt .Code 0 }}<p:red>\uf00d</> {{ end }}</><foreground>\u276f</>",
          "foreground": "p:white",
          "background": "transparent"
        }
      ]
    }
  ],
  "tooltips": [
    {
      "properties": {
        "display_default": true
      },
      "leading_diamond": "\ue0b0",
      "trailing_diamond": "\ue0b4",
      "template": " \ue7ad {{ .Profile }}{{ if .Region }}@{{ .Region }}{{ end }} ",
      "foreground": "p:white",
      "background": "p:orange",
      "type": "aws",
      "style": "diamond",
      "tips": [
        "aws"
      ]
    },
    {
      "properties": {
        "display_default": true
      },
      "leading_diamond": "\ue0b0",
      "trailing_diamond": "\ue0b4",
      "template": " \uebd8 {{ .Name }} ",
      "foreground": "p:white",
      "background": "p:blue",
      "type": "az",
      "style": "diamond",
      "tips": [
        "az"
      ]
    }
  ]
}