2021-10-13 18:16:09 -07:00
{
"$schema" : "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json" ,
"final_space" : true ,
"osc99" : true ,
"console_title" : true ,
"console_title_style" : "template" ,
"console_title_template" : "{{if .Root}} ⚡ {{end}}{{.Folder | replace \"~\" \"🏠\"}} @ {{.Host}}" ,
"blocks" : [
{
"type" : "prompt" ,
"alignment" : "left" ,
"segments" : [
{
"background" : "#0C212F" ,
"foreground" : "#FFFFFF" ,
"leading_diamond" : "\uE0B6" ,
"trailing_diamond" : "\uE0B0" ,
"properties" : {
"wsl" : "" ,
"wsl_separator" : ""
} ,
"style" : "diamond" ,
"type" : "os"
} ,
{
"background" : "#DE2121" ,
"foreground" : "#FFFFFF" ,
"leading_diamond" : "<transparent,#DE2121>\uE0B0</>" ,
"style" : "diamond" ,
"trailing_diamond" : "\uE0B0" ,
"type" : "root"
} ,
{
"background" : "#26BDBB" ,
"foreground" : "#0C212F" ,
"leading_diamond" : "<transparent,#26BDBB>\uE0B0</>" ,
"properties" : {
"folder_icon" : "\uF6D7" ,
"folder_separator_icon" : "<transparent> \uE0B1 </>" ,
"home_icon" : "\uF7DB" ,
"style" : "agnoster_short"
} ,
"style" : "diamond" ,
"trailing_diamond" : "\uE0B0" ,
"type" : "path"
} ,
{
"background" : "#280C2E" ,
"foreground" : "#FFFFFF" ,
2021-11-07 08:42:56 -08:00
"background_templates" : [
2021-11-09 08:13:47 -08:00
"{{ if or (.Working.Changed) (.Staging.Changed) }}#7621DE{{ end }}" ,
"{{ if and (gt .Ahead 0) (gt .Behind 0) }}#7621DE{{ end }}" ,
"{{ if gt .Ahead 0 }}#7621DE{{ end }}" ,
"{{ if gt .Behind 0 }}#7621DE{{ end }}"
2021-11-07 08:42:56 -08:00
] ,
2021-10-13 18:16:09 -07:00
"powerline_symbol" : "\uE0B0" ,
"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 ,
2021-11-09 08:13:47 -08:00
"template" : "{{ .UpstreamIcon }}{{ .HEAD }}{{ 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-10-13 18:16:09 -07:00
} ,
"style" : "powerline" ,
"type" : "git"
} ,
{
"background" : "#0C212F" ,
"foreground" : "#FFFFFF" ,
"leading_diamond" : "<transparent,#0C212F>\uE0B0</>" ,
"properties" : {
"time_format" : "15:04"
} ,
"style" : "diamond" ,
"trailing_diamond" : "\uE0B0" ,
"type" : "time"
} ,
{
"background" : "#26BDBB" ,
"foreground" : "#0C212F" ,
"leading_diamond" : "<transparent,#26BDBB>\uE0B0</>" ,
"properties" : {
"postfix" : "s " ,
"style" : "dallas" ,
"threshold" : 0
} ,
"style" : "diamond" ,
"trailing_diamond" : "\uE0B0" ,
"type" : "executiontime"
} ,
{
"background" : "#910000" ,
"foreground" : "#ffffff" ,
2021-11-14 04:39:00 -08:00
"leading_diamond" : "<transparent,background>\uE0B0</>" ,
2021-10-13 18:16:09 -07:00
"properties" : {
2021-11-14 04:39:00 -08:00
"template" : "{{ .Text }}" ,
2021-10-13 18:16:09 -07:00
"prefix" : "<transparent> \uF12A</> "
} ,
"style" : "diamond" ,
"trailing_diamond" : "\uE0B0" ,
"type" : "exit"
}
]
}
]
}