2021-09-24 08:33:37 -07:00
{
"$schema" : "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json" ,
"final_space" : true ,
"console_title" : true ,
"console_title_style" : "template" ,
"console_title_template" : "{{if .Root}}Admin: {{end}} {{.Folder}}" ,
"blocks" : [
{
2021-11-07 08:42:56 -08:00
"type" : "prompt" ,
"alignment" : "left" ,
"newline" : true ,
"segments" : [
{
"type" : "text" ,
"style" : "plain" ,
"foreground" : "#ffffff" ,
"properties" : {
2021-09-24 08:33:37 -07:00
"prefix" : "" ,
"text" : "" ,
"postfix" : ""
}
}
2021-11-07 08:42:56 -08:00
]
2021-09-24 08:33:37 -07:00
} ,
{
"type" : "prompt" ,
"alignment" : "left" ,
"segments" : [
{
"type" : "text" ,
"style" : "plain" ,
"foreground" : "#185F7B" ,
2021-11-07 08:42:56 -08:00
"properties" : {
2021-09-24 08:33:37 -07:00
"prefix" : "\ue0c5" ,
"text" : "" ,
"postfix" : ""
}
} ,
{
"type" : "text" ,
"style" : "powerline" ,
"powerline_symbol" : "\ue0c4" ,
"background" : "#185F7B" ,
"foreground" : "#185F7B" ,
2021-11-07 08:42:56 -08:00
"properties" : {
2021-09-24 08:33:37 -07:00
"text" : "" ,
"prefix" : "" ,
"postfix" : ""
}
} ,
{
"type" : "path" ,
"style" : "diamond" ,
"leading_diamond" : "" ,
"trailing_diamond" : "\uE0B0" ,
"foreground" : "#ffffff" ,
"background" : "#185F7B" ,
"properties" : {
"style" : "mixed" ,
"home_icon" : "\uf7dd " ,
"prefix" : "" ,
2021-11-07 08:42:56 -08:00
"postfix" : " " ,
2021-09-24 08:33:37 -07:00
"enable_hyperlink" : true
}
} ,
{
2021-11-07 08:42:56 -08:00
"type" : "git" ,
"style" : "powerline" ,
"powerline_symbol" : "\uE0B0" ,
"foreground" : "#ffffff" ,
"background" : "#6f42c1" ,
"backround_templates" : [
"{{ if or (.Repo.Working.Changed) (.Repo.Staging.Changed) }}#176f2c{{ end }}" ,
"{{ if and (.Repo.Ahead gt 0) (.Repo.Behind gt 0) }}#f26d50{{ end }}" ,
"{{ if .Repo.Ahead gt 0 }}#0366d6{{ end }}" ,
"{{ if .Repo.Behind gt 0 }}#f9c513{{ end }}"
] ,
"properties" : {
"fetch_stash_count" : true ,
"fetch_status" : true ,
"display_upstream_icon" : true ,
"template" : "{{ .Repo.HEAD }}{{ .Repo.BranchStatus }}{{ if .Repo.Working.Changed }} \uF044 {{ .Repo.Working.String }}{{ end }}{{ if and (.Repo.Working.Changed) (.Repo.Staging.Changed) }} |{{ end }}{{ if .Repo.Staging.Changed }} \uF046 {{ .Repo.Staging.String }}{{ end }}{{ if gt .Repo.StashCount 0 }} \uF692 {{ .Repo.StashCount }}{{ end }}"
}
2021-09-24 08:33:37 -07:00
} ,
{
"type" : "text" ,
"style" : "plain" ,
"leading_diamond" : "<transparent,#49404f>\uE0B0</>" ,
"trailing_diamond" : "\uE0B0" ,
"properties" : {
"prefix" : "" ,
"text" : "" ,
"postfix" : ""
}
} ,
{
"type" : "exit" ,
"style" : "powerline" ,
"powerline_symbol" : "\uE0B0" ,
"foreground" : "#ffffff" ,
"background" : "#4caf50" ,
"background_templates" : [ ] ,
"properties" : {
"always_enabled" : true ,
"success_icon" : "\uf469 \u2665 " ,
"color_background" : true ,
"error_icon" : "\uf525 " ,
2021-11-07 08:42:56 -08:00
"error_color" : "red"
2021-09-24 08:33:37 -07:00
}
}
]
} ,
{
2021-11-07 08:42:56 -08:00
"type" : "prompt" ,
"alignment" : "right" ,
"segments" : [
2021-09-24 08:33:37 -07:00
{
"type" : "time" ,
"style" : "diamond" ,
"leading_diamond" : "\ue0c5" ,
"trailing_diamond" : "\ue0c4" ,
"invert_powerline" : true ,
"foreground" : "#ffffff" ,
"background" : "#2B2B2B" ,
"properties" : {
"postfix" : "\u003c#ffffff\u003e \uF64F \u003c/\u003e" ,
"time_format" : "3:04:05 PM"
}
} ,
{
2021-11-07 08:42:56 -08:00
"type" : "executiontime" ,
"style" : "diamond" ,
"leading_diamond" : "\ue0c5" ,
"trailing_diamond" : "\ue0c4" ,
"invert_powerline" : true ,
"foreground" : "#ffffff" ,
"background" : "#2B2B2B" ,
"properties" : {
"postfix" : "<#ffffff> \uF252 </>" ,
"always_enabled" : true
}
2021-09-24 08:33:37 -07:00
}
]
} ,
{
"type" : "prompt" ,
"alignment" : "left" ,
"newline" : true ,
"segments" : [
{
"type" : "text" ,
"style" : "plain" ,
"foreground" : "#2B2B2B" ,
2021-11-07 08:42:56 -08:00
"properties" : {
2021-09-24 08:33:37 -07:00
"prefix" : "\ue0c5" ,
"text" : "" ,
"postfix" : ""
}
} ,
{
"type" : "os" ,
"style" : "powerline" ,
"powerline_symbol" : "\ue0c4" ,
"foreground" : "#1CA6A3" ,
"background" : "#2B2B2B"
} ,
{
"type" : "root" ,
"style" : "powerline" ,
"powerline_symbol" : "\uE0B0" ,
"foreground" : "#FBD951" ,
"background" : "#2B2B2B" ,
2021-11-07 08:42:56 -08:00
"properties" : {
2021-09-24 08:33:37 -07:00
"prefix" : ""
}
} ,
{
"type" : "session" ,
"style" : "powerline" ,
"powerline_symbol" : "\uE0B0" ,
"foreground" : "#ffffff" ,
"background" : "#DC291E" ,
"properties" : {
"postfix" : " " ,
"display_host" : false
}
}
2021-11-07 08:42:56 -08:00
]
} ,
2021-09-24 08:33:37 -07:00
{
"type" : "rprompt" ,
"alignment" : "right" ,
"segments" : [
2021-11-07 08:42:56 -08:00
{
"type" : "shell" ,
"style" : "plain" ,
"foreground" : "#666666" ,
"background" : "#000000" ,
"properties" : {
"prefix" : " " ,
"postfix" : ""
}
2021-09-24 08:33:37 -07:00
}
2021-11-07 08:42:56 -08:00
]
2021-09-24 08:33:37 -07:00
}
]
}