2021-08-31 11:40:07 -07:00
{
"$schema" : "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json" ,
"blocks" : [
{
"alignment" : "left" ,
"segments" : [
{
"background" : "#a313a8" ,
2022-02-03 01:22:57 -08:00
"foreground" : "#FFEB3B" ,
2021-08-31 11:40:07 -07:00
"properties" : {
2022-02-03 01:22:57 -08:00
"template" : "\u26a1 "
} ,
"style" : "plain" ,
"type" : "root"
2021-08-31 11:40:07 -07:00
} ,
{
2021-11-07 08:42:56 -08:00
"background" : "transparent" ,
2022-02-03 01:22:57 -08:00
"foreground" : "#ffffff" ,
2021-11-07 08:42:56 -08:00
"properties" : {
2022-02-03 01:22:57 -08:00
"template" : "{{ if .WSL }}WSL at {{ end }}{{.Icon}} "
} ,
"style" : "plain" ,
"type" : "os"
2021-08-31 11:40:07 -07:00
} ,
{
"background" : "#01579B" ,
2022-02-03 01:22:57 -08:00
"foreground" : "#ffffff" ,
"leading_diamond" : "<transparent,#01579B>\ue0b0</>" ,
2021-08-31 11:40:07 -07:00
"properties" : {
2022-02-03 01:22:57 -08:00
"folder_icon" : "\uf6d7" ,
"folder_separator_icon" : "<transparent> \ue0bd </>" ,
"home_icon" : "\uf7db" ,
"style" : "agnoster_short" ,
"template" : " {{ .Path }} "
} ,
"style" : "diamond" ,
"trailing_diamond" : "\ue0b0" ,
"type" : "path"
2021-08-31 11:40:07 -07:00
} ,
{
"background" : "#00C853" ,
2021-11-07 08:42:56 -08:00
"background_templates" : [
2021-11-09 08:13:47 -08:00
"{{ if or (.Working.Changed) (.Staging.Changed) }}#FFEB3B{{ end }}" ,
"{{ if and (gt .Ahead 0) (gt .Behind 0) }}#FFCC80{{ end }}" ,
"{{ if gt .Ahead 0 }}#B388FF{{ end }}" ,
"{{ if gt .Behind 0 }}#B388FF{{ end }}"
2021-11-07 08:42:56 -08:00
] ,
2022-02-03 01:22:57 -08:00
"foreground" : "#000000" ,
"powerline_symbol" : "\ue0b0" ,
2021-08-31 11:40:07 -07:00
"properties" : {
2021-11-07 08:42:56 -08:00
"fetch_stash_count" : true ,
"fetch_status" : true ,
2022-02-03 01:22:57 -08:00
"template" : " {{ .HEAD }}{{ if .Staging.Changed }}<#FF6F00> \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 }} "
} ,
"style" : "powerline" ,
"type" : "git"
2021-08-31 11:40:07 -07:00
} ,
{
"background" : "#49404f" ,
2022-02-03 01:22:57 -08:00
"foreground" : "#ffffff" ,
"leading_diamond" : "<transparent,#49404f>\ue0b0</>" ,
2021-08-31 11:40:07 -07:00
"properties" : {
"style" : "dallas" ,
2022-02-03 01:22:57 -08:00
"template" : " {{ .FormattedMs }}s " ,
"threshold" : 0
} ,
"style" : "diamond" ,
"trailing_diamond" : "\ue0b0" ,
"type" : "executiontime"
2021-08-31 11:40:07 -07:00
} ,
{
"background" : "#910000" ,
2022-02-03 01:22:57 -08:00
"foreground" : "#ffffff" ,
"powerline_symbol" : "\ue0b0" ,
2021-08-31 11:40:07 -07:00
"properties" : {
2022-02-05 00:41:41 -08:00
"template" : "<transparent> \uf12a</> {{ .Meaning }} "
2022-02-03 01:22:57 -08:00
} ,
"style" : "powerline" ,
"type" : "exit"
2021-08-31 11:40:07 -07:00
}
2022-02-03 01:22:57 -08:00
] ,
"type" : "prompt"
2021-08-31 11:40:07 -07:00
} ,
{
"alignment" : "right" ,
"segments" : [
{
"background" : "#29315A" ,
2022-02-03 01:22:57 -08:00
"foreground" : "#43CCEA" ,
"leading_diamond" : "\ue0c5" ,
2021-08-31 11:40:07 -07:00
"properties" : {
2022-02-03 01:22:57 -08:00
"template" : " {{ .UserName }}<transparent> / </>{{ .HostName }}"
} ,
"style" : "diamond" ,
"type" : "session"
2021-08-31 11:40:07 -07:00
} ,
{
"background" : "#29315A" ,
2022-02-03 01:22:57 -08:00
"foreground" : "#3EC669" ,
2021-08-31 11:40:07 -07:00
"properties" : {
2022-02-03 01:22:57 -08:00
"template" : "<transparent> \ue0ba\ue0bc </>{{ .CurrentDate | date .Format }} " ,
"time_format" : "15:04:05"
} ,
"style" : "plain" ,
"type" : "time"
2021-08-31 11:40:07 -07:00
}
2022-02-03 01:22:57 -08:00
] ,
"type" : "prompt"
2021-08-31 11:40:07 -07:00
} ,
{
"alignment" : "left" ,
"newline" : true ,
"segments" : [
{
"foreground" : "#ffffff" ,
2022-02-03 01:22:57 -08:00
"foreground_templates" : [
"{{ if gt .Code 0 }}#ff0000{{ end }}"
] ,
2021-08-31 11:40:07 -07:00
"properties" : {
2022-02-03 01:22:57 -08:00
"always_enabled" : true ,
"template" : "\u276f "
} ,
"style" : "plain" ,
"type" : "exit"
2021-08-31 11:40:07 -07:00
}
2022-02-03 01:22:57 -08:00
] ,
"type" : "prompt"
2021-08-31 11:40:07 -07:00
}
2022-02-03 01:22:57 -08:00
] ,
"console_title" : true ,
"console_title_style" : "template" ,
"console_title_template" : "{{if .Root}} \u26a1 {{end}}{{.Folder | replace \"~\" \"🏚\" }} @ {{.HostName}}" ,
"osc99" : true ,
"version" : 1
2021-08-31 11:40:07 -07:00
}