2021-06-07 22:39:09 -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" : "{{ .Shell }} in {{ .Folder }}" ,
"blocks" : [
{
"type" : "prompt" ,
"alignment" : "left" ,
"segments" : [
{
"type" : "os" ,
"style" : "powerline" ,
"powerline_symbol" : "\uE0B0" ,
"foreground" : "#fff" ,
"background" : "#003543" ,
"properties" : {
"windows" : "\uF179" ,
"postfix" : ""
}
} ,
{
"type" : "session" ,
"style" : "powerline" ,
"powerline_symbol" : "\uE0B0" ,
"foreground" : "#d2ff5e" ,
"background" : "#003543" ,
"properties" : {
"prefix" : "" ,
2021-12-03 14:44:58 -08:00
"template" : "{{ .UserName }}"
2021-06-07 22:39:09 -07:00
}
} ,
{
"type" : "path" ,
"style" : "powerline" ,
"powerline_symbol" : "\uE0B0" ,
"foreground" : "#003544" ,
"background" : "#0087D8" ,
"properties" : {
"prefix" : " \uE5FF " ,
"style" : "full" ,
"folder_separator_icon" : "/"
}
} ,
{
"type" : "git" ,
"style" : "powerline" ,
2021-11-07 08:42:56 -08:00
"powerline_symbol" : "\uE0B0" ,
2021-06-07 22:39:09 -07:00
"foreground" : "#193549" ,
"background" : "#d2ff5e" ,
2021-11-07 08:42:56 -08:00
"background_templates" : [
2021-11-09 08:13:47 -08:00
"{{ if or (.Working.Changed) (.Staging.Changed) }}#ff9248{{ end }}" ,
"{{ if and (gt .Ahead 0) (gt .Behind 0) }}#f26d50{{ end }}" ,
"{{ if gt .Ahead 0 }}#89d1dc{{ end }}" ,
"{{ if gt .Behind 0 }}#f17c37{{ end }}"
2021-11-07 08:42:56 -08:00
] ,
2021-06-07 22:39:09 -07:00
"properties" : {
2021-11-07 08:42:56 -08:00
"fetch_status" : true ,
"fetch_stash_count" : true ,
2021-11-09 08:13:47 -08:00
"template" : "{{ .HEAD }}{{ if .Staging.Changed }} \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 }}"
2021-06-07 22:39:09 -07:00
}
} ,
{
"type" : "exit" ,
"style" : "powerline" ,
"powerline_symbol" : "\uE0B0" ,
"foreground" : "#242424" ,
"background" : "#33DD2D" ,
2021-11-14 04:39:00 -08:00
"background_templates" : [ "{{ if gt .Code 0 }}#f1184c{{ end }}" ] ,
2021-06-07 22:39:09 -07:00
"properties" : {
2021-11-14 04:39:00 -08:00
"template" : "\ufc8d" ,
"always_enabled" : true
2021-06-07 22:39:09 -07:00
}
}
]
} ,
{
"type" : "prompt" ,
"alignment" : "right" ,
"segments" : [
{
"type" : "battery" ,
"style" : "powerline" ,
"invert_powerline" : true ,
"powerline_symbol" : "\uE0B2" ,
"foreground" : "#242424" ,
"background" : "#f36943" ,
2021-11-25 04:55:03 -08:00
"background_templates" : [
"{{if eq \"Charging\" .State.String}}#33DD2D{{end}}" ,
"{{if eq \"Discharging\" .State.String}}#FFCD58{{end}}" ,
"{{if eq \"Full\" .State.String}}#0476d0{{end}}"
] ,
2021-06-07 22:39:09 -07:00
"properties" : {
"postfix" : "\uF295 \uf583 "
}
} ,
{
"type" : "python" ,
"style" : "powerline" ,
"invert_powerline" : true ,
"powerline_symbol" : "\uE0B2" ,
"foreground" : "#003544" ,
"background" : "#0087D8" ,
"properties" : {
"prefix" : " \uE235 " ,
"display_mode" : "context" ,
2021-12-04 02:56:55 -08:00
"fetch_virtual_env" : true ,
"template" : "{{ .Venv }}"
2021-06-07 22:39:09 -07:00
}
} ,
{
"type" : "time" ,
"style" : "powerline" ,
"invert_powerline" : true ,
"powerline_symbol" : "\uE0B2" ,
"foreground" : "#fff" ,
"background" : "#003543" ,
"properties" : {
"prefix" : "<#fff> \uf64f </>"
}
}
]
} ,
{
"type" : "prompt" ,
"alignment" : "left" ,
"newline" : true ,
"segments" : [
{
"type" : "root" ,
"style" : "plain" ,
"foreground" : "#FFD700" ,
"properties" : {
2022-01-22 10:46:56 -08:00
"template" : "⚡"
2021-06-07 22:39:09 -07:00
}
} ,
{
"type" : "text" ,
"style" : "plain" ,
"foreground" : "#f1184c" ,
"properties" : {
"prefix" : "" ,
"text" : "🚀"
}
}
]
}
]
}