2022-03-08 10:11:04 -08:00
{
"$schema" : "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json" ,
"blocks" : [
{
"alignment" : "left" ,
"newline" : true ,
"segments" : [
{
"foreground" : "#ffffff" ,
"style" : "plain" ,
"type" : "text"
}
] ,
"type" : "prompt"
} ,
{
"alignment" : "left" ,
2022-03-14 11:14:10 -07:00
"segments" : [
2022-03-08 10:11:04 -08:00
{
"foreground" : "#0057b7" ,
"style" : "plain" ,
2022-03-27 01:12:47 -07:00
"template" : "\ue0c5" ,
2022-03-08 10:11:04 -08:00
"type" : "text"
} ,
{
"background" : "#0057b7" ,
"foreground" : "#FBD951" ,
"powerline_symbol" : "\ue0c4" ,
"style" : "powerline" ,
2022-03-27 01:12:47 -07:00
"template" : " \ue795 " ,
2022-03-08 10:11:04 -08:00
"type" : "text"
} ,
{
"background" : "#0057b7" ,
"foreground" : "#FBD951" ,
"properties" : {
2023-05-09 02:08:45 -07:00
"home_icon" : "\ue617" ,
2022-03-27 01:12:47 -07:00
"style" : "mixed"
2022-03-08 10:11:04 -08:00
} ,
"style" : "diamond" ,
2022-03-27 01:12:47 -07:00
"template" : "{{ .Path }} " ,
2022-03-08 10:11:04 -08:00
"trailing_diamond" : "\ue0b0" ,
"type" : "path"
2022-03-14 11:14:10 -07:00
} ,
2022-03-08 10:11:04 -08:00
{
"background" : "#0057b7" ,
"foreground" : "#ffd700" ,
"powerline_symbol" : "\ue0b0" ,
2022-03-14 11:14:10 -07:00
"properties" : {
2022-03-08 10:11:04 -08:00
"fetch_stash_count" : true ,
"fetch_status" : true ,
2022-03-27 01:12:47 -07:00
"fetch_upstream_icon" : true
2022-03-08 10:11:04 -08:00
} ,
"style" : "powerline" ,
2023-05-09 02:08:45 -07:00
"template" : " \uf1d3 {{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if and (.Staging.Changed) (.Working.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0}}\ueb4b {{ .StashCount }}{{ end }}{{ if gt .WorktreeCount 0}} \uf1bb {{ .WorktreeCount }}{{ end }} " ,
2022-03-08 10:11:04 -08:00
"type" : "git"
} ,
{
"background" : "#3379c5" ,
"background_templates" : [
"{{ if or (.Working.Changed) (.Staging.Changed) }}#3379c5{{ end }}" ,
"{{ if and (gt .Ahead 0) (gt .Behind 0) }}#c57f33{{ end }}" ,
"{{ if gt .Ahead 0 }}#79c533{{ end }}" ,
"{{ if gt .Behind 0 }}#c53379{{ end }}"
] ,
"foreground" : "#0057b7" ,
"powerline_symbol" : "\ue0b0" ,
2022-03-14 11:14:10 -07:00
"properties" : {
2022-03-08 10:11:04 -08:00
"fetch_stash_count" : false ,
"fetch_status" : false ,
2022-03-27 01:12:47 -07:00
"fetch_upstream_icon" : false
2022-03-08 10:11:04 -08:00
} ,
"style" : "powerline" ,
2022-03-27 01:12:47 -07:00
"template" : "\uf105" ,
2022-03-08 10:11:04 -08:00
"type" : "git"
} ,
{
"leading_diamond" : "<transparent,#49404f>\ue0b0</>" ,
"style" : "plain" ,
"trailing_diamond" : "\ue0b0" ,
"type" : "text"
2022-03-14 11:14:10 -07:00
} ,
2022-03-08 10:11:04 -08:00
{
2022-03-27 01:12:47 -07:00
"background" : "#ffd700" ,
2022-03-08 10:11:04 -08:00
"foreground" : "#0057b7" ,
"foreground_templates" : [
"{{ if gt .Code 0 }}#a30000{{ end }}"
] ,
"leading_diamond" : "<transparent,#ffd700>\ue0b0</>" ,
"properties" : {
2022-03-27 01:12:47 -07:00
"always_enabled" : true
2022-03-08 10:11:04 -08:00
} ,
"style" : "diamond" ,
2022-03-27 01:12:47 -07:00
"template" : " {{ if gt .Code 0 }}\uf421 \uf119 {{ else }}\uf469 \u2665 {{ end }}" ,
2022-03-08 10:11:04 -08:00
"trailing_diamond" : "\ue0b0" ,
"type" : "exit"
2022-03-14 11:14:10 -07:00
}
2022-03-08 10:11:04 -08:00
] ,
"type" : "prompt"
} ,
{
"alignment" : "right" ,
"segments" : [
{
2022-03-14 11:14:10 -07:00
"background" : "#0057b7" ,
2022-03-08 10:11:04 -08:00
"foreground" : "#FBD951" ,
"leading_diamond" : "\ue0b6" ,
"style" : "diamond" ,
2022-03-27 01:12:47 -07:00
"template" : " \uf0ac <#111111>\ue0b2</>" ,
2022-03-08 10:11:04 -08:00
"type" : "text"
} ,
{
"background" : "#0057b7" ,
"foreground" : "#FBD951" ,
"invert_powerline" : true ,
"leading_diamond" : "\ue0b2" ,
"properties" : {
2023-05-09 02:08:45 -07:00
"charged_icon" : "\ueb2d " ,
2022-03-08 10:11:04 -08:00
"charging_icon" : "\uf492 " ,
2023-05-09 02:08:45 -07:00
"discharging_icon" : "\uf243 "
2022-03-08 10:11:04 -08:00
} ,
"style" : "diamond" ,
2022-03-27 01:12:47 -07:00
"template" : " {{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }}% <#111111>\ue0b2</>" ,
2022-03-08 10:11:04 -08:00
"type" : "battery"
} ,
{
"background" : "#0057b7" ,
"foreground" : "#FBD951" ,
"invert_powerline" : true ,
"leading_diamond" : "\ue0b2" ,
"properties" : {
2022-03-27 01:12:47 -07:00
"always_enabled" : true
2022-03-08 10:11:04 -08:00
} ,
"style" : "diamond" ,
2023-05-09 02:08:45 -07:00
"template" : " \ueba2 {{ .FormattedMs }} <#111111>\ue0b2</>" ,
2022-03-08 10:11:04 -08:00
"type" : "executiontime"
} ,
{
"background" : "#0057b7" ,
"foreground" : "#FBD951" ,
"invert_powerline" : true ,
"leading_diamond" : "\ue0b2" ,
"properties" : {
"time_format" : "_2,15:04"
} ,
"style" : "diamond" ,
2023-05-09 02:08:45 -07:00
"template" : " \uf073 {{ .CurrentDate | date .Format }}" ,
2022-03-08 10:11:04 -08:00
"trailing_diamond" : "\ue0b4" ,
"type" : "time"
}
] ,
"type" : "prompt"
} ,
{
"alignment" : "left" ,
"newline" : true ,
"segments" : [
{
"foreground" : "#0057b7" ,
"style" : "plain" ,
2022-03-27 01:12:47 -07:00
"template" : "\ue0c5" ,
2022-03-08 10:11:04 -08:00
"type" : "text"
} ,
{
"background" : "#0057b7" ,
"foreground" : "#ffd700" ,
"powerline_symbol" : "\ue0c4" ,
"style" : "powerline" ,
2022-03-27 01:12:47 -07:00
"template" : " {{ if .WSL }}WSL at {{ end }}{{.Icon}} " ,
2022-03-08 10:11:04 -08:00
"type" : "os"
} ,
{
"background" : "#0057b7" ,
"foreground" : "#FBD951" ,
"powerline_symbol" : "\ue0b0" ,
"style" : "powerline" ,
2022-03-27 01:12:47 -07:00
"template" : "\uf0e7 " ,
2022-03-08 10:11:04 -08:00
"type" : "root"
2022-03-14 11:14:10 -07:00
} ,
2022-03-08 10:11:04 -08:00
{
"background" : "#FBD951" ,
"foreground" : "#0057b7" ,
"powerline_symbol" : "\ue0b0" ,
"properties" : {
2022-03-27 01:12:47 -07:00
"display_host" : false
2022-03-08 10:11:04 -08:00
} ,
"style" : "powerline" ,
2023-05-09 02:08:45 -07:00
"template" : " {{ if .SSHSession }}\ueba9 {{ end }}{{ .UserName }} " ,
2022-03-08 10:11:04 -08:00
"type" : "session"
2022-03-14 11:14:10 -07:00
}
2022-03-08 10:11:04 -08:00
] ,
"type" : "prompt"
} ,
{
"alignment" : "right" ,
"segments" : [
{
"foreground" : "#0057b7" ,
"style" : "plain" ,
2022-03-27 01:12:47 -07:00
"template" : "\uf004" ,
2022-03-08 10:11:04 -08:00
"type" : "text"
} ,
{
"foreground" : "#FBD951" ,
"style" : "plain" ,
2022-03-27 01:12:47 -07:00
"template" : "\uf004" ,
2022-03-08 10:11:04 -08:00
"type" : "text"
} ,
{
"foreground" : "#0057b7" ,
"style" : "plain" ,
2022-03-27 01:12:47 -07:00
"template" : "\uf004" ,
2022-03-08 10:11:04 -08:00
"type" : "text"
} ,
{
"foreground" : "#FBD951" ,
"style" : "plain" ,
2022-03-27 01:12:47 -07:00
"template" : "\uf004 Ukraine" ,
2022-03-08 10:11:04 -08:00
"type" : "text"
}
] ,
"type" : "rprompt"
}
] ,
"console_title_template" : "{{if .Root}}Admin: {{end}} {{.Folder}}" ,
"final_space" : true ,
2022-03-27 01:12:47 -07:00
"version" : 2
2022-03-08 10:11:04 -08:00
}