2021-10-13 18:16:09 -07:00
{
"$schema" : "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json" ,
"blocks" : [
{
"alignment" : "left" ,
"segments" : [
{
"background" : "#0C212F" ,
"foreground" : "#FFFFFF" ,
2022-02-03 01:22:57 -08:00
"leading_diamond" : "\ue0b6" ,
2021-10-13 18:16:09 -07:00
"style" : "diamond" ,
2022-03-27 01:12:47 -07:00
"template" : " {{ .Icon }} " ,
2022-02-03 01:22:57 -08:00
"trailing_diamond" : "\ue0b0" ,
2021-10-13 18:16:09 -07:00
"type" : "os"
} ,
{
"background" : "#DE2121" ,
"foreground" : "#FFFFFF" ,
2022-02-03 01:22:57 -08:00
"leading_diamond" : "<transparent,#DE2121>\ue0b0</>" ,
2021-10-13 18:16:09 -07:00
"style" : "diamond" ,
2022-03-27 01:12:47 -07:00
"template" : " \uf0e7 " ,
2022-02-03 01:22:57 -08:00
"trailing_diamond" : "\ue0b0" ,
2021-10-13 18:16:09 -07:00
"type" : "root"
} ,
{
"background" : "#26BDBB" ,
"foreground" : "#0C212F" ,
2022-02-03 01:22:57 -08:00
"leading_diamond" : "<transparent,#26BDBB>\ue0b0</>" ,
2021-10-13 18:16:09 -07:00
"properties" : {
2023-05-09 02:08:45 -07:00
"folder_icon" : "..." ,
2022-02-03 01:22:57 -08:00
"folder_separator_icon" : "<transparent> \ue0b1 </>" ,
2023-05-09 02:08:45 -07:00
"home_icon" : "\ueb06" ,
2022-03-27 01:12:47 -07:00
"style" : "agnoster_short"
2021-10-13 18:16:09 -07:00
} ,
"style" : "diamond" ,
2022-03-27 01:12:47 -07:00
"template" : " {{ .Path }} " ,
2022-02-03 01:22:57 -08:00
"trailing_diamond" : "\ue0b0" ,
2021-10-13 18:16:09 -07:00
"type" : "path"
} ,
{
"background" : "#280C2E" ,
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
] ,
2022-02-03 01:22:57 -08:00
"foreground" : "#FFFFFF" ,
"powerline_symbol" : "\ue0b0" ,
2021-10-13 18:16:09 -07:00
"properties" : {
2021-11-07 08:42:56 -08:00
"fetch_stash_count" : true ,
"fetch_status" : true ,
2022-03-27 01:12:47 -07:00
"fetch_upstream_icon" : true
2021-10-13 18:16:09 -07:00
} ,
"style" : "powerline" ,
2023-05-09 02:08:45 -07: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 }} \ueb4b {{ .StashCount }}{{ end }} " ,
2021-10-13 18:16:09 -07:00
"type" : "git"
} ,
{
"background" : "#0C212F" ,
"foreground" : "#FFFFFF" ,
2022-02-03 01:22:57 -08:00
"leading_diamond" : "<transparent,#0C212F>\ue0b0</>" ,
2021-10-13 18:16:09 -07:00
"properties" : {
"time_format" : "15:04"
} ,
"style" : "diamond" ,
2022-03-27 01:12:47 -07:00
"template" : " {{ .CurrentDate | date .Format }} " ,
2022-02-03 01:22:57 -08:00
"trailing_diamond" : "\ue0b0" ,
2021-10-13 18:16:09 -07:00
"type" : "time"
} ,
{
"background" : "#26BDBB" ,
"foreground" : "#0C212F" ,
2022-02-03 01:22:57 -08:00
"leading_diamond" : "<transparent,#26BDBB>\ue0b0</>" ,
2021-10-13 18:16:09 -07:00
"properties" : {
"style" : "dallas" ,
"threshold" : 0
} ,
"style" : "diamond" ,
2022-03-27 01:12:47 -07:00
"template" : " {{ .FormattedMs }}s " ,
2022-02-03 01:22:57 -08:00
"trailing_diamond" : "\ue0b0" ,
2021-10-13 18:16:09 -07:00
"type" : "executiontime"
} ,
{
"background" : "#910000" ,
"foreground" : "#ffffff" ,
2022-02-03 01:22:57 -08:00
"leading_diamond" : "<transparent,background>\ue0b0</>" ,
2021-10-13 18:16:09 -07:00
"style" : "diamond" ,
2023-07-23 00:29:54 -07:00
"template" : "<transparent> \uf12a</> {{ reason .Code }} " ,
2022-02-03 01:22:57 -08:00
"trailing_diamond" : "\ue0b0" ,
2023-07-23 00:29:54 -07:00
"type" : "status"
2021-10-13 18:16:09 -07:00
}
2022-02-03 01:22:57 -08:00
] ,
"type" : "prompt"
2021-10-13 18:16:09 -07:00
}
2022-02-03 01:22:57 -08:00
] ,
"console_title_template" : "{{if .Root}} \u26a1 {{end}}{{.Folder | replace \"~\" \"🏠\"}} @ {{.HostName}}" ,
"final_space" : true ,
2022-03-27 01:12:47 -07:00
"version" : 2
2021-10-13 18:16:09 -07:00
}