2021-12-19 00:33:17 -08:00
{
2022-02-03 01:22:57 -08:00
"$schema" : "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json" ,
"blocks" : [
{
"alignment" : "left" ,
"segments" : [
2021-12-19 00:33:17 -08:00
{
2022-02-03 01:22:57 -08:00
"background" : "#000000" ,
"foreground" : "#dd1e1e" ,
"style" : "plain" ,
2022-03-27 01:12:47 -07:00
"template" : " \u26a1 " ,
2022-02-03 01:22:57 -08:00
"type" : "root"
2021-12-19 00:33:17 -08:00
} ,
{
2022-02-03 01:22:57 -08:00
"background" : "transparent" ,
"foreground" : "#ffffff" ,
"style" : "plain" ,
2022-03-27 01:12:47 -07:00
"template" : "{{ if .WSL }}WSL at {{ end }}{{.Icon}} " ,
2022-02-03 01:22:57 -08:00
"type" : "os"
2021-12-19 00:33:17 -08:00
} ,
{
2022-02-03 01:22:57 -08:00
"background" : "#5a3d29" ,
"foreground" : "#43CCEA" ,
"properties" : {
2023-05-09 02:08:45 -07:00
"folder_icon" : "..." ,
2022-02-03 01:22:57 -08:00
"folder_separator_icon" : "<transparent> \ue0bd </>" ,
2023-05-09 02:08:45 -07:00
"home_icon" : "\ueb06" ,
2022-03-27 01:12:47 -07:00
"style" : "agnoster_short"
2022-02-03 01:22:57 -08:00
} ,
"style" : "plain" ,
2022-03-27 01:12:47 -07:00
"template" : " {{ .Path }} " ,
2022-02-03 01:22:57 -08:00
"type" : "path"
} ,
{
"background" : "#00C853" ,
"background_templates" : [
"{{ 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 }}"
] ,
"foreground" : "#000000" ,
2022-03-27 01:12:47 -07:00
"leading_diamond" : "<parentBackground,background>\ue0b0</>" ,
2022-02-03 01:22:57 -08:00
"properties" : {
"fetch_stash_count" : true ,
2022-03-27 01:12:47 -07:00
"fetch_status" : true
2022-02-03 01:22:57 -08:00
} ,
"style" : "diamond" ,
2023-05-09 02:08:45 -07: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 }} \ueb4b {{ .StashCount }}{{ end }} " ,
2022-02-03 01:22:57 -08:00
"type" : "git"
} ,
{
"background" : "#2ba1bb" ,
"foreground" : "#5a3d29" ,
2022-03-27 01:12:47 -07:00
"leading_diamond" : "<parentBackground,background>\ue0b0</>" ,
2022-02-03 01:22:57 -08: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
"type" : "executiontime"
} ,
{
"background" : "#910000" ,
"foreground" : "#ffffff" ,
"powerline_symbol" : "\ue0b0" ,
"properties" : {
2022-03-27 01:12:47 -07:00
"always_enabled" : true
2022-02-03 01:22:57 -08:00
} ,
"style" : "plain" ,
2023-07-23 00:29:54 -07:00
"template" : "{{ if gt .Code 0 }}<parentBackground,background>\ue0b0</><transparent> \uf12a</> {{ reason .Code }} <background,transparent>\ue0b0</>{{ else }}<parentBackground,transparent>\ue0b0</>{{ end }}" ,
"type" : "status"
2022-02-03 01:22:57 -08:00
}
] ,
"type" : "prompt"
} ,
{
"alignment" : "right" ,
"segments" : [
{
"background" : "#5a3d29" ,
"foreground" : "#43CCEA" ,
"leading_diamond" : "\ue0c5" ,
"style" : "diamond" ,
2023-05-09 02:08:45 -07:00
"template" : " {{ if .SSHSession }}\ueba9 {{ end }}{{ .UserName }}<transparent> / </>{{ .HostName }}" ,
2022-02-03 01:22:57 -08:00
"type" : "session"
} ,
{
"background" : "#5a3d29" ,
"foreground" : "#43CCEA" ,
"properties" : {
"time_format" : "3:04:05 PM"
} ,
"style" : "plain" ,
2022-03-27 01:12:47 -07:00
"template" : "<transparent> \ue0ba\ue0bc </>{{ .CurrentDate | date .Format }} " ,
2022-02-03 01:22:57 -08:00
"type" : "time"
}
] ,
"type" : "prompt"
} ,
{
"alignment" : "left" ,
"newline" : true ,
"segments" : [
{
"foreground" : "#ffffff" ,
"foreground_templates" : [
"{{ if gt .Code 0 }}#ff0000{{ end }}"
] ,
"properties" : {
2022-03-27 01:12:47 -07:00
"always_enabled" : true
2022-02-03 01:22:57 -08:00
} ,
"style" : "plain" ,
2022-03-27 01:12:47 -07:00
"template" : "\u276f " ,
2023-07-23 00:29:54 -07:00
"type" : "status"
2021-12-19 00:33:17 -08:00
}
2022-02-03 01:22:57 -08:00
] ,
"type" : "prompt"
}
] ,
"console_title_template" : "{{if .Root}} \u26a1 {{end}}{{.Folder | replace \"~\" \"🏚\" }} @ {{.HostName}}" ,
2024-10-28 05:59:40 -07:00
"version" : 3
2022-01-17 04:16:04 -08:00
}