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" ,
2022-02-03 01:22:57 -08:00
"style" : "powerline" ,
2022-03-27 01:12:47 -07:00
"template" : "{{ if .WSL }}WSL at {{ end }}{{.Icon}}" ,
2022-02-03 01:22:57 -08:00
"type" : "os"
2021-01-11 06:32:05 -08:00
} ,
{
2021-11-07 08:42:56 -08:00
"foreground" : "cyan" ,
"properties" : {
2022-03-27 01:12:47 -07:00
"style" : "full"
2022-02-03 01:22:57 -08:00
} ,
"style" : "plain" ,
2022-03-27 01:12:47 -07:00
"template" : " {{ .Path }} " ,
2022-02-03 01:22:57 -08:00
"type" : "path"
2021-01-11 06:32:05 -08:00
} ,
{
2021-11-07 08:42:56 -08:00
"foreground" : "#F1502F" ,
"properties" : {
2022-03-27 01:12:47 -07:00
"fetch_status" : true
2022-02-03 01:22:57 -08:00
} ,
"style" : "plain" ,
2022-03-27 01:12:47 -07: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 }} " ,
2022-02-03 01:22:57 -08:00
"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" ,
2022-02-03 01:22:57 -08:00
"style" : "plain" ,
2022-03-27 01:12:47 -07:00
"template" : "| root " ,
2022-02-03 01:22:57 -08:00
"type" : "root"
2021-11-07 08:42:56 -08:00
} ,
{
"foreground" : "#06A4CE" ,
2022-02-03 01:22:57 -08:00
"style" : "powerline" ,
2022-03-27 01:12:47 -07:00
"template" : "| \ue798 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} " ,
2022-02-03 01:22:57 -08:00
"type" : "dart"
2021-11-07 08:42:56 -08:00
} ,
{
"foreground" : "#6CA35E" ,
2022-02-03 01:22:57 -08:00
"style" : "powerline" ,
2022-03-27 01:12:47 -07:00
"template" : "| \ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} " ,
2022-02-03 01:22:57 -08:00
"type" : "node"
2021-11-07 08:42:56 -08:00
} ,
{
"foreground" : "#4584b6" ,
"properties" : {
"display_mode" : "context" ,
2022-03-27 01:12:47 -07:00
"fetch_virtual_env" : true
2022-02-03 01:22:57 -08:00
} ,
"style" : "plain" ,
2022-03-27 01:12:47 -07:00
"template" : "| \ue235 {{ .Venv }} " ,
2022-02-03 01:22:57 -08:00
"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-03-27 01:12:47 -07:00
"charging_icon" : "\ue234 "
2022-02-03 01:22:57 -08:00
} ,
"style" : "powerline" ,
2022-03-27 01:12:47 -07:00
"template" : "| {{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }} \uf295 " ,
2022-02-03 01:22:57 -08:00
"type" : "battery"
2021-11-07 08:42:56 -08:00
} ,
{
"foreground" : "lightGreen" ,
2022-02-03 01:22:57 -08:00
"style" : "plain" ,
2022-03-27 01:12:47 -07:00
"template" : "| {{ .CurrentDate | date .Format }} " ,
2022-02-03 01:22:57 -08:00
"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" : {
2022-03-27 01:12:47 -07:00
"always_enabled" : true
2022-02-03 01:22:57 -08:00
} ,
"style" : "powerline" ,
2022-03-27 01:12:47 -07:00
"template" : "\u279c " ,
2022-02-03 01:22:57 -08:00
"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
] ,
2022-03-27 01:12:47 -07:00
"version" : 2
2021-01-11 06:32:05 -08:00
}