2021-04-11 11:03:56 -07:00
{
"$schema" : "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json" ,
"blocks" : [
{
"alignment" : "left" ,
"horizontal_offset" : 0 ,
"vertical_offset" : 0 ,
"segments" : [
{
"background" : "#feae34" ,
"foreground" : "#262b44" ,
2021-11-07 08:42:56 -08:00
"powerline_symbol" : "\uE0B0" ,
2021-04-11 11:03:56 -07:00
"leading_diamond" : "" ,
2021-11-07 08:42:56 -08:00
"trailing_diamond" : "\uE0B0" ,
2021-04-11 11:03:56 -07:00
"properties" : {
"prefix" : " " ,
"style" : "folder"
} ,
"style" : "diamond" ,
"type" : "path"
} ,
{
"background" : "#fee761" ,
"foreground" : "#262b44" ,
2021-11-07 08:42:56 -08:00
"background_templates" : [
2021-11-09 08:13:47 -08:00
"{{ if or (.Working.Changed) (.Staging.Changed) }}#f77622{{ end }}" ,
"{{ if and (gt .Ahead 0) (gt .Behind 0) }}#e43b44{{ end }}" ,
"{{ if gt .Ahead 0 }}#2ce8f5{{ end }}" ,
"{{ if gt .Behind 0 }}#f77622{{ end }}"
2021-11-07 08:42:56 -08:00
] ,
"powerline_symbol" : "\uE0B0" ,
2021-04-11 11:03:56 -07:00
"properties" : {
2021-11-07 08:42:56 -08:00
"fetch_status" : true ,
"fetch_stash_count" : true ,
2021-11-08 13:56:40 -08:00
"fetch_upstream_icon" : true ,
2021-11-09 08:13:47 -08:00
"template" : "{{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Staging.Changed }} \uF046 {{ .Staging.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Working.Changed }} \uF044 {{ .Working.String }}{{ end }}{{ if gt .StashCount 0 }} \uF692 {{ .StashCount }}{{ end }}"
2021-04-11 11:03:56 -07:00
} ,
"style" : "powerline" ,
"type" : "git"
} ,
{
"background" : "#fee761" ,
"foreground" : "#262b44" ,
2021-11-07 08:42:56 -08:00
"powerline_symbol" : "\uE0B0" ,
2021-04-11 11:03:56 -07:00
"style" : "powerline" ,
"type" : "root"
} ,
{
"background" : "#0095e9" ,
"foreground" : "#ffffff" ,
2021-11-14 04:39:00 -08:00
"background_templates" : [ "{{ if gt .Code 0 }}#ff0044{{ end }}" ] ,
"leading_diamond" : "<transparent,background>\uE0B0</>" ,
2021-04-11 11:03:56 -07:00
"properties" : {
"always_enabled" : true ,
2021-11-14 04:39:00 -08:00
"template" : ""
2021-04-11 11:03:56 -07:00
} ,
"style" : "diamond" ,
"trailing_diamond" : "" ,
"type" : "exit"
}
] ,
"type" : "prompt"
}
] ,
"final_space" : true
}