2021-01-11 06:32:05 -08:00
{
2021-11-07 08:42:56 -08:00
"$schema" : "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json" ,
"blocks" : [
{
"alignment" : "left" ,
"segments" : [
2021-01-11 06:32:05 -08:00
{
2021-11-07 08:42:56 -08:00
"foreground" : "cyan" ,
"properties" : {
2022-02-03 01:22:57 -08:00
"template" : "{{ if .WSL }}WSL at {{ end }}{{.Icon}}"
} ,
"style" : "powerline" ,
"type" : "os"
2021-01-11 06:32:05 -08:00
} ,
{
2021-11-07 08:42:56 -08:00
"foreground" : "cyan" ,
"properties" : {
2022-02-03 01:22:57 -08:00
"style" : "full" ,
"template" : " {{ .Path }} "
} ,
"style" : "plain" ,
"type" : "path"
2021-01-11 06:32:05 -08:00
} ,
{
2021-11-07 08:42:56 -08:00
"foreground" : "#F1502F" ,
"properties" : {
"fetch_status" : true ,
2022-02-03 01:22:57 -08:00
"template" : ":: {{ .HEAD }}{{ .BranchStatus }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }} "
} ,
"style" : "plain" ,
"type" : "git"
2021-01-11 06:32:05 -08:00
}
2022-02-03 01:22:57 -08:00
] ,
"type" : "prompt"
2021-11-07 08:42:56 -08:00
} ,
{
"alignment" : "right" ,
"segments" : [
{
"foreground" : "red" ,
"properties" : {
2022-02-03 01:22:57 -08:00
"template" : "| root "
} ,
"style" : "plain" ,
"type" : "root"
2021-11-07 08:42:56 -08:00
} ,
{
"foreground" : "#06A4CE" ,
"properties" : {
2022-02-03 01:22:57 -08:00
"template" : "| \ue798 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} "
} ,
"style" : "powerline" ,
"type" : "dart"
2021-11-07 08:42:56 -08:00
} ,
{
"foreground" : "#6CA35E" ,
"properties" : {
2022-02-03 01:22:57 -08:00
"template" : "| \ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} "
} ,
"style" : "powerline" ,
"type" : "node"
2021-11-07 08:42:56 -08:00
} ,
{
"foreground" : "#4584b6" ,
"properties" : {
"display_mode" : "context" ,
2021-12-04 02:56:55 -08:00
"fetch_virtual_env" : true ,
2022-02-03 01:22:57 -08:00
"template" : "| \ue235 {{ .Venv }} "
} ,
"style" : "plain" ,
"type" : "python"
2021-11-07 08:42:56 -08:00
} ,
{
2021-11-25 04:55:03 -08:00
"foreground_templates" : [
"{{if eq \"Charging\" .State.String}}#4caf50{{end}}" ,
"{{if eq \"Discharging\" .State.String}}#40c4ff{{end}}" ,
"{{if eq \"Full\" .State.String}}#ff0000{{end}}"
] ,
2022-02-03 01:22:57 -08:00
"invert_powerline" : true ,
2021-11-07 08:42:56 -08:00
"properties" : {
"charged_icon" : "\uf00d " ,
2022-02-03 01:22:57 -08:00
"charging_icon" : "\ue234 " ,
"template" : "| {{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }} \uf295 "
} ,
"style" : "powerline" ,
"type" : "battery"
2021-11-07 08:42:56 -08:00
} ,
{
"foreground" : "lightGreen" ,
"properties" : {
2022-02-03 01:22:57 -08:00
"template" : "| {{ .CurrentDate | date .Format }} "
} ,
"style" : "plain" ,
"type" : "time"
2021-11-07 08:42:56 -08:00
}
2022-02-03 01:22:57 -08:00
] ,
"type" : "prompt"
2021-11-07 08:42:56 -08:00
} ,
{
"alignment" : "left" ,
"newline" : true ,
"segments" : [
{
"foreground" : "lightGreen" ,
2022-02-03 01:22:57 -08:00
"foreground_templates" : [
"{{ if gt .Code 0 }}red{{ end }}"
] ,
2021-11-07 08:42:56 -08:00
"properties" : {
"always_enabled" : true ,
2022-02-03 01:22:57 -08:00
"template" : "\u279c "
} ,
"style" : "powerline" ,
"type" : "exit"
2021-11-07 08:42:56 -08:00
}
2022-02-03 01:22:57 -08:00
] ,
"type" : "prompt"
2021-11-07 08:42:56 -08:00
}
2022-02-03 01:22:57 -08:00
] ,
"version" : 1
2021-01-11 06:32:05 -08:00
}