2022-03-03 08:36:13 -08:00
{
"$schema" : "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json" ,
"blocks" : [
{
"alignment" : "left" ,
"segments" : [
{
"background" : "#0077c2" ,
"foreground" : "#ffffff" ,
"leading_diamond" : "\u256d\u2500\ue0b6" ,
"style" : "diamond" ,
2022-03-27 01:12:47 -07:00
"template" : " {{ .Name }} " ,
2022-03-03 08:36:13 -08:00
"type" : "shell"
} ,
{
"background" : "#ef5350" ,
"foreground" : "#FFFB38" ,
"properties" : {
2022-03-27 01:12:47 -07:00
"root_icon" : "\uf292"
2022-03-03 08:36:13 -08:00
} ,
"style" : "diamond" ,
2022-03-27 01:12:47 -07:00
"template" : "<parentBackground>\ue0b0</> \uf0e7 " ,
2022-03-03 08:36:13 -08:00
"type" : "root"
} ,
{
"background" : "#444444" ,
"foreground" : "#E4E4E4" ,
"powerline_symbol" : "\ue0b0" ,
"properties" : {
2022-03-27 01:12:47 -07:00
"style" : "full"
2022-03-03 08:36:13 -08:00
} ,
"style" : "powerline" ,
2022-03-27 01:12:47 -07:00
"template" : " {{ .Path }} " ,
2022-03-03 08:36:13 -08:00
"type" : "path"
} ,
{
"background" : "#FFFB38" ,
"background_templates" : [
"{{ if or (.Working.Changed) (.Staging.Changed) }}#ffeb95{{ end }}" ,
"{{ if and (gt .Ahead 0) (gt .Behind 0) }}#c5e478{{ end }}" ,
"{{ if gt .Ahead 0 }}#C792EA{{ end }}" ,
"{{ if gt .Behind 0 }}#C792EA{{ end }}"
] ,
"foreground" : "#011627" ,
"powerline_symbol" : "\ue0b0" ,
"properties" : {
"branch_icon" : "\ue725 " ,
"fetch_status" : true ,
2022-03-27 01:12:47 -07:00
"fetch_upstream_icon" : true
2022-03-03 08:36:13 -08:00
} ,
"style" : "powerline" ,
2022-03-27 01:12:47 -07:00
"template" : " {{ .HEAD }} {{ if .Working.Changed }}{{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }}<#ef5350> \uf046 {{ .Staging.String }}</>{{ end }} " ,
2022-03-03 08:36:13 -08:00
"type" : "git"
}
] ,
"type" : "prompt"
} ,
{
"alignment" : "right" ,
"segments" : [
{
"background" : "#303030" ,
"foreground" : "#3C873A" ,
"leading_diamond" : " \ue0b6" ,
"properties" : {
"fetch_package_manager" : true ,
"npm_icon" : " <#cc3a3a>\ue5fa</> " ,
2023-05-09 02:08:45 -07:00
"yarn_icon" : " <#348cba>\ue6a7</>"
2022-03-03 08:36:13 -08:00
} ,
"style" : "diamond" ,
2022-03-27 01:12:47 -07:00
"template" : "\ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }}" ,
2022-03-03 08:36:13 -08:00
"trailing_diamond" : "\ue0b4" ,
"type" : "node"
} ,
{
"background" : "#40c4ff" ,
"foreground" : "#ffffff" ,
"invert_powerline" : true ,
"leading_diamond" : " \ue0b6" ,
"style" : "diamond" ,
2023-05-09 02:08:45 -07:00
"template" : " \ue641 {{ .CurrentDate | date .Format }} " ,
2022-03-03 08:36:13 -08:00
"trailing_diamond" : "\ue0b4" ,
"type" : "time"
}
] ,
"type" : "prompt"
} ,
{
"alignment" : "left" ,
"newline" : true ,
"segments" : [
{
"foreground" : "#21c7c7" ,
"style" : "plain" ,
2022-03-27 01:12:47 -07:00
"template" : "\u2570\u2500" ,
2022-03-03 08:36:13 -08:00
"type" : "text"
} ,
{
"foreground" : "#e0f8ff" ,
"foreground_templates" : [
"{{ if gt .Code 0 }}#ef5350{{ end }}"
] ,
"properties" : {
2022-03-27 01:12:47 -07:00
"always_enabled" : true
2022-03-03 08:36:13 -08:00
} ,
"style" : "plain" ,
2022-03-27 01:12:47 -07:00
"template" : "\u276f " ,
2023-07-23 00:29:54 -07:00
"type" : "status"
2022-03-03 08:36:13 -08:00
}
] ,
"type" : "prompt"
}
] ,
2024-10-28 05:59:40 -07:00
"version" : 3
2022-03-03 08:36:13 -08:00
}