feat: move template to segment

This commit is contained in:
Jan De Dobbeleer 2022-03-27 10:12:47 +02:00 committed by Jan De Dobbeleer
parent b9e2f9b229
commit ee3b1127de
144 changed files with 1537 additions and 2331 deletions

View file

@ -13,8 +13,8 @@ sidebar_label: Sample
"segments": [ "segments": [
{ {
"foreground": "#007ACC", "foreground": "#007ACC",
"properties": {
"template": " {{ .CurrentDate | date .Format }} ", "template": " {{ .CurrentDate | date .Format }} ",
"properties": {
"time_format": "15:04:05" "time_format": "15:04:05"
}, },
"style": "plain", "style": "plain",
@ -32,9 +32,7 @@ sidebar_label: Sample
"background": "#ffb300", "background": "#ffb300",
"foreground": "#ffffff", "foreground": "#ffffff",
"leading_diamond": "\ue0b6", "leading_diamond": "\ue0b6",
"properties": { "template": " {{ .UserName }} ",
"template": " {{ .UserName }} "
},
"style": "diamond", "style": "diamond",
"trailing_diamond": "\ue0b0", "trailing_diamond": "\ue0b0",
"type": "session" "type": "session"
@ -43,12 +41,12 @@ sidebar_label: Sample
"background": "#61AFEF", "background": "#61AFEF",
"foreground": "#ffffff", "foreground": "#ffffff",
"powerline_symbol": "\ue0b0", "powerline_symbol": "\ue0b0",
"template": " {{ .Path }} ",
"properties": { "properties": {
"exclude_folders": [ "exclude_folders": [
"/super/secret/project" "/super/secret/project"
], ],
"style": "folder", "style": "folder"
"template": " {{ .Path }} "
}, },
"style": "powerline", "style": "powerline",
"type": "path" "type": "path"
@ -66,10 +64,10 @@ sidebar_label: Sample
"{{ if and (gt .Ahead 0) (gt .Behind 0) }}#ffffff{{ end }}" "{{ if and (gt .Ahead 0) (gt .Behind 0) }}#ffffff{{ end }}"
], ],
"powerline_symbol": "\ue0b0", "powerline_symbol": "\ue0b0",
"template": " {{ .HEAD }}{{ .BranchStatus }} ",
"properties": { "properties": {
"branch_max_length": 25, "branch_max_length": 25,
"fetch_status": true, "fetch_status": true
"template": " {{ .HEAD }}{{ .BranchStatus }} "
}, },
"style": "powerline", "style": "powerline",
"type": "git" "type": "git"
@ -80,9 +78,9 @@ sidebar_label: Sample
"{{ if gt .Code 0 }}#e91e63{{ end }}" "{{ if gt .Code 0 }}#e91e63{{ end }}"
], ],
"foreground": "#ffffff", "foreground": "#ffffff",
"template": "<parentBackground>\ue0b0</> \ue23a ",
"properties": { "properties": {
"always_enabled": true, "always_enabled": true
"template": "<parentBackground>\ue0b0</> \ue23a "
}, },
"style": "diamond", "style": "diamond",
"trailing_diamond": "\ue0b4", "trailing_diamond": "\ue0b4",
@ -93,6 +91,6 @@ sidebar_label: Sample
} }
], ],
"final_space": true, "final_space": true,
"version": 1 "version": 2
} }
``` ```

View file

@ -39,10 +39,10 @@ You need to extend or create a custom theme with your tooltips. For example:
"background": "#fffb38", "background": "#fffb38",
"leading_diamond": "", "leading_diamond": "",
"trailing_diamond": "", "trailing_diamond": "",
"template": "{{ .HEAD }}{{ if .Staging.Changed }} \uF046 {{ .Staging.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Working.Changed }} \uF044 {{ .Working.String }}{{ end }}",
"properties": { "properties": {
"fetch_status": true, "fetch_status": true,
"fetch_upstream_icon": true, "fetch_upstream_icon": true
"template": "{{ .HEAD }}{{ if .Staging.Changed }} \uF046 {{ .Staging.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Working.Changed }} \uF044 {{ .Working.String }}{{ end }}"
} }
} }
] ]

View file

@ -17,10 +17,8 @@ Display the currently active Angular CLI version.
"powerline_symbol": "\uE0B0", "powerline_symbol": "\uE0B0",
"foreground": "#000000", "foreground": "#000000",
"background": "#1976d2", "background": "#1976d2",
"properties": {
"template": " \uE753 {{ .Full }} " "template": " \uE753 {{ .Full }} "
} }
}
``` ```
## Properties ## Properties

View file

@ -17,10 +17,8 @@ Display the currently active AWS profile and region.
"powerline_symbol": "\uE0B0", "powerline_symbol": "\uE0B0",
"foreground": "#ffffff", "foreground": "#ffffff",
"background": "#FFA400", "background": "#FFA400",
"properties": {
"template": " \uE7AD {{.Profile}}{{if .Region}}@{{.Region}}{{end}}" "template": " \uE7AD {{.Profile}}{{if .Region}}@{{.Region}}{{end}}"
} }
}
``` ```
## Properties ## Properties

View file

@ -17,10 +17,8 @@ Display the currently active Azure subscription information.
"powerline_symbol": "\uE0B0", "powerline_symbol": "\uE0B0",
"foreground": "#000000", "foreground": "#000000",
"background": "#9ec3f0", "background": "#9ec3f0",
"properties": {
"template": " \uFD03 {{ .EnvironmentName }}" "template": " \uFD03 {{ .EnvironmentName }}"
} }
}
``` ```
## Properties ## Properties

View file

@ -17,8 +17,8 @@ Display the currently active Azure functions CLI version.
"powerline_symbol": "\uE0B0", "powerline_symbol": "\uE0B0",
"foreground": "#ffffff", "foreground": "#ffffff",
"background": "#FEAC19", "background": "#FEAC19",
"properties": {
"template": " \uf0e7 {{ .Full }} ", "template": " \uf0e7 {{ .Full }} ",
"properties": {
"fetch_version": true, "fetch_version": true,
"display_mode": "files" "display_mode": "files"
} }

View file

@ -26,11 +26,11 @@ Battery displays the remaining power percentage for your battery.
"{{if eq \"Discharging\" .State.String}}#ff5722{{end}}", "{{if eq \"Discharging\" .State.String}}#ff5722{{end}}",
"{{if eq \"Full\" .State.String}}#4caf50{{end}}" "{{if eq \"Full\" .State.String}}#4caf50{{end}}"
], ],
"template": " {{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}\uF295 ",
"properties": { "properties": {
"discharging_icon": "\uE231 ", "discharging_icon": "\uE231 ",
"charging_icon": "\uE234 ", "charging_icon": "\uE234 ",
"charged_icon": "\uE22F ", "charged_icon": "\uE22F "
"template": " {{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}\uF295 "
} }
} }
``` ```

View file

@ -15,9 +15,7 @@ Display the active [CDS CLI][sap-cap-cds] version.
"background": "#a7cae1", "background": "#a7cae1",
"foreground": "#100e23", "foreground": "#100e23",
"powerline_symbol": "\ue0b0", "powerline_symbol": "\ue0b0",
"properties": { "template": " \ue311 cds {{ .Full }} ",
"template": " \ue311 cds {{ .Full }} "
},
"style": "powerline", "style": "powerline",
"type": "cds" "type": "cds"
} }

View file

@ -15,9 +15,7 @@ Display the active [Cloud Foundry CLI][cloud-foundry] version.
"background": "#a7cae1", "background": "#a7cae1",
"foreground": "#100e23", "foreground": "#100e23",
"powerline_symbol": "\ue0b0", "powerline_symbol": "\ue0b0",
"properties": { "template": " \uf40a cf {{ .Full }} ",
"template": " \uf40a cf {{ .Full }} "
},
"style": "powerline", "style": "powerline",
"type": "cf" "type": "cf"
} }

View file

@ -15,9 +15,7 @@ Display the details of the logged [Cloud Foundry endpoint][cf-target] (`cf targe
"background": "#a7cae1", "background": "#a7cae1",
"foreground": "#100e23", "foreground": "#100e23",
"powerline_symbol": "\ue0b0", "powerline_symbol": "\ue0b0",
"properties": { "template": " \uf40a {{ .Org }}/{{ .Space }} ",
"template": " \uf40a {{ .Org }}/{{ .Space }} "
},
"style": "powerline", "style": "powerline",
"type": "cftarget" "type": "cftarget"
} }

View file

@ -17,10 +17,8 @@ Display the currently active crystal version.
"powerline_symbol": "\uE0B0", "powerline_symbol": "\uE0B0",
"foreground": "#ffffff", "foreground": "#ffffff",
"background": "#4063D8", "background": "#4063D8",
"properties": {
"template": " \uE370 {{ .Full }} " "template": " \uE370 {{ .Full }} "
} }
}
``` ```
## Properties ## Properties

View file

@ -17,10 +17,8 @@ Display the currently active dart version.
"powerline_symbol": "\uE0B0", "powerline_symbol": "\uE0B0",
"foreground": "#ffffff", "foreground": "#ffffff",
"background": "#06A4CE", "background": "#06A4CE",
"properties": {
"template": " \uE798 {{ .Full }} " "template": " \uE798 {{ .Full }} "
} }
}
``` ```
## Properties ## Properties

View file

@ -17,10 +17,8 @@ Display the currently active .NET SDK version.
"powerline_symbol": "\uE0B0", "powerline_symbol": "\uE0B0",
"foreground": "#000000", "foreground": "#000000",
"background": "#00ffff", "background": "#00ffff",
"properties": {
"template": " \uE77F {{ .Full }} " "template": " \uE77F {{ .Full }} "
} }
}
``` ```
## Properties ## Properties

View file

@ -21,10 +21,10 @@ The installation guide shows how to include this argument for PowerShell and Zsh
"powerline_symbol": "\uE0B0", "powerline_symbol": "\uE0B0",
"foreground": "#ffffff", "foreground": "#ffffff",
"background": "#8800dd", "background": "#8800dd",
"template": " <#fefefe>\ufbab</> ",
"properties": { "properties": {
"threshold": 500, "threshold": 500,
"style": "austin", "style": "austin"
"template": " <#fefefe>\ufbab</> "
} }
} }
``` ```

View file

@ -21,9 +21,9 @@ Displays the last exit code or that the last command failed based on the configu
], ],
"leading_diamond": "", "leading_diamond": "",
"trailing_diamond": "\uE0B4", "trailing_diamond": "\uE0B4",
"template": "<#193549>\uE0B0</> \uE23A ",
"properties": { "properties": {
"always_enabled": true, "always_enabled": true
"template": "<#193549>\uE0B0</> \uE23A "
} }
} }
``` ```

View file

@ -42,11 +42,11 @@ An alternative is to use the [Posh-Git segment][poshgit]
"{{ if gt .Ahead 0 }}#B388FF{{ end }}", "{{ if gt .Ahead 0 }}#B388FF{{ end }}",
"{{ if gt .Behind 0 }}#B388FB{{ end }}" "{{ if gt .Behind 0 }}#B388FB{{ end }}"
], ],
"template": "{{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }} \uF044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uF046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} \uF692 {{ .StashCount }}{{ end }}",
"properties": { "properties": {
"fetch_status": true, "fetch_status": true,
"fetch_stash_count": true, "fetch_stash_count": true,
"fetch_upstream_icon": true, "fetch_upstream_icon": true
"template": "{{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }} \uF044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uF046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} \uF692 {{ .StashCount }}{{ end }}"
} }
} }
``` ```

View file

@ -17,10 +17,8 @@ Display the currently active golang version.
"powerline_symbol": "\uE0B0", "powerline_symbol": "\uE0B0",
"foreground": "#ffffff", "foreground": "#ffffff",
"background": "#7FD5EA", "background": "#7FD5EA",
"properties": {
"template": " \uFCD1 {{ .Full }} " "template": " \uFCD1 {{ .Full }} "
} }
}
``` ```
## Properties ## Properties

View file

@ -17,10 +17,8 @@ Display the currently active Glasgow Haskell Compiler (GHC) version.
"powerline_symbol": "\uE0B0", "powerline_symbol": "\uE0B0",
"foreground": "#906cff", "foreground": "#906cff",
"background": "#100e23", "background": "#100e23",
"properties": {
"template": " \ue61f {{ .Full }}" "template": " \ue61f {{ .Full }}"
} }
}
``` ```
## Properties ## Properties

View file

@ -18,8 +18,8 @@ sidebar_label: Ipify
"background": "#c386f1", "background": "#c386f1",
"leading_diamond": "", "leading_diamond": "",
"trailing_diamond": "\uE0B0", "trailing_diamond": "\uE0B0",
"properties": {
"template": "{{ .IP }}", "template": "{{ .IP }}",
"properties": {
"cache_timeout": 5, "cache_timeout": 5,
"http_timeout": 1000 "http_timeout": 1000
} }

View file

@ -17,10 +17,8 @@ Display the currently active java version.
"powerline_symbol": "\uE0B0", "powerline_symbol": "\uE0B0",
"foreground": "#ffffff", "foreground": "#ffffff",
"background": "#4063D8", "background": "#4063D8",
"properties": {
"template": " \uE738 {{ .Full }}" "template": " \uE738 {{ .Full }}"
} }
}
``` ```
## Properties ## Properties

View file

@ -17,10 +17,8 @@ Display the currently active julia version.
"powerline_symbol": "\uE0B0", "powerline_symbol": "\uE0B0",
"foreground": "#ffffff", "foreground": "#ffffff",
"background": "#4063D8", "background": "#4063D8",
"properties": {
"template": " \uE624 {{ .Full }} " "template": " \uE624 {{ .Full }} "
} }
}
``` ```
## Properties ## Properties

View file

@ -17,10 +17,8 @@ Display the currently active [Kotlin][kotlin] version.
"powerline_symbol": "\uE0B0", "powerline_symbol": "\uE0B0",
"foreground": "#ffffff", "foreground": "#ffffff",
"background": "#906cff", "background": "#906cff",
"properties": {
"template": " \ufa05 {{ .Full }} " "template": " \ufa05 {{ .Full }} "
} }
}
``` ```
## Properties ## Properties

View file

@ -17,10 +17,8 @@ Display the currently active Kubernetes context name and namespace name.
"powerline_symbol": "\uE0B0", "powerline_symbol": "\uE0B0",
"foreground": "#000000", "foreground": "#000000",
"background": "#ebcc34", "background": "#ebcc34",
"properties": {
"template": " \uFD31 {{.Context}}{{if .Namespace}} :: {{.Namespace}}{{end}} " "template": " \uFD31 {{.Context}}{{if .Namespace}} :: {{.Namespace}}{{end}} "
} }
}
``` ```
## Properties ## Properties

View file

@ -21,10 +21,8 @@ The Nerdbank.GitVersioning CLI can be a bit slow causing the prompt to feel slow
"powerline_symbol": "\uE0B0", "powerline_symbol": "\uE0B0",
"foreground": "#ffffff", "foreground": "#ffffff",
"background": "#3a579a", "background": "#3a579a",
"properties": {
"template": " \uF1D2 {{ .Version }} " "template": " \uF1D2 {{ .Version }} "
} }
}
``` ```
## Template ([info][templates]) ## Template ([info][templates])

View file

@ -42,10 +42,10 @@ if that color is visible against any of your backgrounds.
"leading_diamond": "", "leading_diamond": "",
"trailing_diamond": "\uE0B0", "trailing_diamond": "\uE0B0",
"template": "\ue2a1 {{ .Sgv }}{{ .TrendIcon }}",
"properties": { "properties": {
"url": "https://YOURNIGHTSCOUTAPP.herokuapp.com/api/v1/entries.json?count=1&token=APITOKENFROMYOURADMIN", "url": "https://YOURNIGHTSCOUTAPP.herokuapp.com/api/v1/entries.json?count=1&token=APITOKENFROMYOURADMIN",
"http_timeout": 1500, "http_timeout": 1500
"template": "\ue2a1 {{ .Sgv }}{{ .TrendIcon }}"
} }
} }
``` ```

View file

@ -17,10 +17,8 @@ Display the currently active node version.
"powerline_symbol": "\uE0B0", "powerline_symbol": "\uE0B0",
"foreground": "#ffffff", "foreground": "#ffffff",
"background": "#6CA35E", "background": "#6CA35E",
"properties": {
"template": " \uE718 {{ .Full }} " "template": " \uE718 {{ .Full }} "
} }
}
``` ```
## Properties ## Properties

View file

@ -17,10 +17,8 @@ Display the currently active npm version.
"powerline_symbol": "\uE0B0", "powerline_symbol": "\uE0B0",
"foreground": "#193549", "foreground": "#193549",
"background": "#ffeb3b", "background": "#ffeb3b",
"properties": {
"template": "\ue71e {{ .Full }} " "template": "\ue71e {{ .Full }} "
} }
}
``` ```
## Template ([info][templates]) ## Template ([info][templates])

View file

@ -16,8 +16,8 @@ Display OS specific info - defaults to Icon.
"style": "plain", "style": "plain",
"foreground": "#26C6DA", "foreground": "#26C6DA",
"background": "#546E7A", "background": "#546E7A",
"properties": {
"template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}}\uE0B1", "template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}}\uE0B1",
"properties": {
"macos": "mac" "macos": "mac"
} }
} }

View file

@ -23,13 +23,13 @@ The free tier for *Current weather and forecasts collection* is sufficient.
"powerline_symbol": "\uE0B0", "powerline_symbol": "\uE0B0",
"foreground": "#ffffff", "foreground": "#ffffff",
"background": "#FF0000", "background": "#FF0000",
"template": "{{.Weather}} ({{.Temperature}}{{.UnitIcon}})",
"properties": { "properties": {
"apikey": "<YOUR_API_KEY>", "apikey": "<YOUR_API_KEY>",
"location": "AMSTERDAM,NL", "location": "AMSTERDAM,NL",
"units": "metric", "units": "metric",
"http_timeout": 20, "http_timeout": 20,
"cache_timeout": 10, "cache_timeout": 10
"template": "{{.Weather}} ({{.Temperature}}{{.UnitIcon}})"
} }
} }
``` ```

View file

@ -17,10 +17,8 @@ Display the currently active php version.
"powerline_symbol": "\uE0B0", "powerline_symbol": "\uE0B0",
"foreground": "#ffffff", "foreground": "#ffffff",
"background": "#4063D8", "background": "#4063D8",
"properties": {
"template": " \ue73d {{ .Full }} ", "template": " \ue73d {{ .Full }} ",
} }
}
``` ```
## Properties ## Properties

View file

@ -33,11 +33,11 @@ Local changes can also be displayed which uses the following syntax (see `.Statu
"{{ if and .Changed .Behind }}#ff4500{{ end }}", "{{ if and .Changed .Behind }}#ff4500{{ end }}",
"{{ if .Behind }}#B388FF{{ end }}" "{{ if .Behind }}#B388FF{{ end }}"
], ],
"template": "{{ .Selector }}{{ if .Status.Changed }} \uF044 {{ end }}{{ .Status.String }}",
"properties": { "properties": {
"fetch_status": true, "fetch_status": true,
"branch_max_length": 25, "branch_max_length": 25,
"truncate_symbol": "\u2026", "truncate_symbol": "\u2026"
"template": "{{ .Selector }}{{ if .Status.Changed }} \uF044 {{ end }}{{ .Status.String }}"
} }
} }
``` ```

View file

@ -21,10 +21,8 @@ Supports:
"powerline_symbol": "\uE0B0", "powerline_symbol": "\uE0B0",
"foreground": "#193549", "foreground": "#193549",
"background": "#ffeb3b", "background": "#ffeb3b",
"properties": {
"template": " {{ if .Error }}{{ .Error }}{{ else }}{{ if .Version }}\uf487 {{.Version}}{{ end }}{{ end }} " "template": " {{ if .Error }}{{ .Error }}{{ else }}{{ if .Version }}\uf487 {{.Version}}{{ end }}{{ end }} "
} }
}
``` ```
## Template ([info][templates]) ## Template ([info][templates])

View file

@ -18,10 +18,8 @@ Supports conda, virtualenv and pyenv.
"powerline_symbol": "\uE0B0", "powerline_symbol": "\uE0B0",
"foreground": "#100e23", "foreground": "#100e23",
"background": "#906cff", "background": "#906cff",
"properties": {
"template": " \uE235 {{ .Full }} " "template": " \uE235 {{ .Full }} "
} }
}
``` ```
## Properties ## Properties

View file

@ -17,10 +17,8 @@ Display the currently active [R][r-homepage] version.
"powerline_symbol": "\uE0B0", "powerline_symbol": "\uE0B0",
"foreground": "blue", "foreground": "blue",
"background": "lightWhite", "background": "lightWhite",
"properties": {
"template": " R {{ .Full }} " "template": " R {{ .Full }} "
} }
}
``` ```
## Properties ## Properties

View file

@ -17,10 +17,8 @@ Show when the current user is root or when in an elevated shell (Windows).
"powerline_symbol": "\uE0B0", "powerline_symbol": "\uE0B0",
"foreground": "#111111", "foreground": "#111111",
"background": "#ffff66", "background": "#ffff66",
"properties": {
"template": "\uF0E7" "template": "\uF0E7"
} }
}
``` ```
## Template ([info][templates]) ## Template ([info][templates])

View file

@ -17,10 +17,8 @@ Display the currently active ruby version.
"powerline_symbol": "\uE0B0", "powerline_symbol": "\uE0B0",
"foreground": "#ffffff", "foreground": "#ffffff",
"background": "#4063D8", "background": "#4063D8",
"properties": {
"template": " \uE791 {{ .Full }}" "template": " \uE791 {{ .Full }}"
} }
}
``` ```
## Properties ## Properties

View file

@ -17,10 +17,8 @@ Display the currently active rust version.
"powerline_symbol": "\uE0B0", "powerline_symbol": "\uE0B0",
"foreground": "#193549", "foreground": "#193549",
"background": "#99908a", "background": "#99908a",
"properties": {
"template": " \uE7a8 {{ .Full }} " "template": " \uE7a8 {{ .Full }} "
} }
}
``` ```
## Properties ## Properties

View file

@ -18,10 +18,8 @@ Show the current user and host name.
"background": "#c386f1", "background": "#c386f1",
"leading_diamond": "\uE0B6", "leading_diamond": "\uE0B6",
"trailing_diamond": "\uE0B0", "trailing_diamond": "\uE0B0",
"properties": {
"template": "{{ if .SSHSession }}\uF817 {{ end }}{{ .UserName }}" "template": "{{ if .SSHSession }}\uF817 {{ end }}{{ .UserName }}"
} }
}
``` ```
## Template ([info][templates]) ## Template ([info][templates])

View file

@ -47,11 +47,11 @@ if that color is visible against any of your backgrounds.
"{{ if and (lt .Hours 100) (gt .Hours 50) }}#343a40{{ end }}", "{{ if and (lt .Hours 100) (gt .Hours 50) }}#343a40{{ end }}",
"{{ if lt .Hours 50 }}#FFFFFF{{ end }}" "{{ if lt .Hours 50 }}#FFFFFF{{ end }}"
], ],
"template": "{{.Name}} {{.Ago}} {{.Icon}}",
"properties": { "properties": {
"access_token":"11111111111111111", "access_token":"11111111111111111",
"refresh_token":"1111111111111111", "refresh_token":"1111111111111111",
"http_timeout": 1500, "http_timeout": 1500
"template": "{{.Name}} {{.Ago}} {{.Icon}}"
} }
} }
``` ```

View file

@ -17,10 +17,8 @@ Display the currently active [Swift][swift] version.
"powerline_symbol": "\uE0B0", "powerline_symbol": "\uE0B0",
"foreground": "#ffffff", "foreground": "#ffffff",
"background": "#f6553c", "background": "#f6553c",
"properties": {
"template": " \ue755 {{ .Full }} " "template": " \ue755 {{ .Full }} "
} }
}
``` ```
## Properties ## Properties

View file

@ -16,9 +16,9 @@ Display SysInfo.
"powerline_symbol": "\ue0b0", "powerline_symbol": "\ue0b0",
"foreground": "#ffffff", "foreground": "#ffffff",
"background": "#8f43f3", "background": "#8f43f3",
"template":" \uf85a {{ round .PhysicalPercentUsed .Precision }}% ",
"properties": { "properties": {
"precision": 2, "precision": 2
"template":" \uf85a {{ round .PhysicalPercentUsed .Precision }}% "
}, },
"style":"powerline" "style":"powerline"
}, },

View file

@ -21,9 +21,7 @@ This requires a terraform binary in your PATH and will only show in directories
"powerline_symbol": "\uE0B0", "powerline_symbol": "\uE0B0",
"foreground": "#000000", "foreground": "#000000",
"background": "#ebcc34", "background": "#ebcc34",
"properties": {
"template": "{{.WorkspaceName}}" "template": "{{.WorkspaceName}}"
},
} }
``` ```

View file

@ -15,10 +15,8 @@ Display text.
"type": "text", "type": "text",
"style": "plain", "style": "plain",
"foreground": "#E06C75", "foreground": "#E06C75",
"properties": {
"template": "\u276F" "template": "\u276F"
} }
}
``` ```
:::tip :::tip

View file

@ -16,9 +16,7 @@ see [the documentation][ui5-version-help]).
"background": "#f5a834", "background": "#f5a834",
"foreground": "#100e23", "foreground": "#100e23",
"powerline_symbol": "\ue0b0", "powerline_symbol": "\ue0b0",
"properties": { "template": " \ufab6ui5 {{ .Full }} ",
"template": " \ufab6ui5 {{ .Full }} "
},
"style": "powerline", "style": "powerline",
"type": "ui5tooling" "type": "ui5tooling"
} }

View file

@ -24,10 +24,8 @@ Currently only supports Windows and WSL. Pull requests for Darwin and Linux supp
"{{ if (lt .Signal 60) }}#DDDD11{{ else if (lt .Signal 90) }}#DD6611{{ else }}#11CC11{{ end }}" "{{ if (lt .Signal 60) }}#DDDD11{{ else if (lt .Signal 90) }}#DD6611{{ else }}#11CC11{{ end }}"
], ],
"powerline_symbol": "\uE0B0", "powerline_symbol": "\uE0B0",
"properties": {
"template": "\uFAA8 {{ .SSID }} {{ .Signal }}% {{ .ReceiveRate }}Mbps" "template": "\uFAA8 {{ .SSID }} {{ .Signal }}% {{ .ReceiveRate }}Mbps"
} }
}
``` ```
## Template ([info][templates]) ## Template ([info][templates])

View file

@ -23,10 +23,10 @@ Supported registry key types:
"powerline_symbol": "\uE0B0", "powerline_symbol": "\uE0B0",
"foreground": "#ffffff", "foreground": "#ffffff",
"background": "#444444", "background": "#444444",
"template":" \uE62A {{ .Value }}",
"properties": { "properties": {
"path": "HKLM\\software\\microsoft\\windows nt\\currentversion\\buildlab", "path": "HKLM\\software\\microsoft\\windows nt\\currentversion\\buildlab",
"fallback":"unknown", "fallback":"unknown"
"template":" \uE62A {{ .Value }}"
} }
}, },
``` ```

View file

@ -24,7 +24,7 @@ const (
YAML string = "yaml" YAML string = "yaml"
TOML string = "toml" TOML string = "toml"
configVersion = 1 configVersion = 2
) )
// Config holds all the theme for rendering the prompt // Config holds all the theme for rendering the prompt
@ -43,7 +43,7 @@ type Config struct {
DebugPrompt *ExtraPrompt `json:"debug_prompt,omitempty"` DebugPrompt *ExtraPrompt `json:"debug_prompt,omitempty"`
Palette color.Palette `json:"palette,omitempty"` Palette color.Palette `json:"palette,omitempty"`
Output string Output string `json:"-"`
format string format string
origin string origin string
@ -280,9 +280,7 @@ func defaultConfig() *Config {
PowerlineSymbol: "\uE0B0", PowerlineSymbol: "\uE0B0",
Background: "#ffffff", Background: "#ffffff",
Foreground: "#111111", Foreground: "#111111",
Properties: properties.Map{ Template: " no config ",
properties.SegmentTemplate: " no config ",
},
}, },
{ {
Type: EXIT, Type: EXIT,
@ -294,9 +292,9 @@ func defaultConfig() *Config {
BackgroundTemplates: []string{ BackgroundTemplates: []string{
"{{ if gt .Code 0 }}#f1184c{{ end }}", "{{ if gt .Code 0 }}#f1184c{{ end }}",
}, },
Template: " \uE23A",
Properties: properties.Map{ Properties: properties.Map{
properties.AlwaysEnabled: true, properties.AlwaysEnabled: true,
properties.SegmentTemplate: " \uE23A",
}, },
}, },
}, },

View file

@ -13,6 +13,7 @@ const (
prefix = properties.Property("prefix") prefix = properties.Property("prefix")
postfix = properties.Property("postfix") postfix = properties.Property("postfix")
segmentTemplate = properties.Property("template")
) )
func (cfg *Config) Migrate(env environment.Environment) { func (cfg *Config) Migrate(env environment.Environment) {
@ -35,6 +36,9 @@ func (segment *Segment) migrate(env environment.Environment, version int) {
if version < 1 { if version < 1 {
segment.migrationOne(env) segment.migrationOne(env)
} }
if version < 2 {
segment.migrationTwo(env)
}
} }
func (segment *Segment) migrationOne(env environment.Environment) { func (segment *Segment) migrationOne(env environment.Environment) {
@ -46,10 +50,10 @@ func (segment *Segment) migrationOne(env environment.Environment) {
delete(segment.Properties, "enable_hyperlink") delete(segment.Properties, "enable_hyperlink")
switch segment.Type { // nolint:exhaustive switch segment.Type { // nolint:exhaustive
case TEXT: case TEXT:
segment.migratePropertyKey("text", properties.SegmentTemplate) segment.migratePropertyKey("text", segmentTemplate)
segment.migrateTemplate() segment.migrateTemplate()
case GIT: case GIT:
hasTemplate := segment.hasProperty(properties.SegmentTemplate) hasTemplate := segment.hasProperty(segmentTemplate)
segment.migratePropertyKey("display_status", segments.FetchStatus) segment.migratePropertyKey("display_status", segments.FetchStatus)
segment.migratePropertyKey("display_stash_count", segments.FetchStashCount) segment.migratePropertyKey("display_stash_count", segments.FetchStashCount)
segment.migratePropertyKey("display_worktree_count", segments.FetchWorktreeCount) segment.migratePropertyKey("display_worktree_count", segments.FetchWorktreeCount)
@ -90,9 +94,9 @@ func (segment *Segment) migrationOne(env environment.Environment) {
} }
if len(stateList) < 3 { if len(stateList) < 3 {
enabledTemplate := "{{ $stateList := list %s }}{{ if has .State.String $stateList }}{{ .Icon }}{{ .Percentage }}{{ end }}" enabledTemplate := "{{ $stateList := list %s }}{{ if has .State.String $stateList }}{{ .Icon }}{{ .Percentage }}{{ end }}"
template := segment.Properties.GetString(properties.SegmentTemplate, segment.writer.Template()) template := segment.Properties.GetString(segmentTemplate, segment.writer.Template())
template = strings.ReplaceAll(template, "{{ .Icon }}{{ .Percentage }}", fmt.Sprintf(enabledTemplate, strings.Join(stateList, " "))) template = strings.ReplaceAll(template, "{{ .Icon }}{{ .Percentage }}", fmt.Sprintf(enabledTemplate, strings.Join(stateList, " ")))
segment.Properties[properties.SegmentTemplate] = template segment.Properties[segmentTemplate] = template
} }
// legacy properties // legacy properties
delete(segment.Properties, "display_charging") delete(segment.Properties, "display_charging")
@ -102,10 +106,10 @@ func (segment *Segment) migrationOne(env environment.Environment) {
segment.migrateTemplate() segment.migrateTemplate()
segment.migratePropertyKey("display_virtual_env", segments.FetchVirtualEnv) segment.migratePropertyKey("display_virtual_env", segments.FetchVirtualEnv)
case SESSION: case SESSION:
hasTemplate := segment.hasProperty(properties.SegmentTemplate) hasTemplate := segment.hasProperty(segmentTemplate)
segment.migrateTemplate() segment.migrateTemplate()
segment.migrateIconOverride("ssh_icon", "\uf817 ") segment.migrateIconOverride("ssh_icon", "\uf817 ")
template := segment.Properties.GetString(properties.SegmentTemplate, segment.writer.Template()) template := segment.Properties.GetString(segmentTemplate, segment.writer.Template())
template = strings.ReplaceAll(template, ".ComputerName", ".HostName") template = strings.ReplaceAll(template, ".ComputerName", ".HostName")
if !segment.Properties.GetBool(properties.Property("display_host"), true) { if !segment.Properties.GetBool(properties.Property("display_host"), true) {
template = strings.ReplaceAll(template, "@{{ .HostName }}", "") template = strings.ReplaceAll(template, "@{{ .HostName }}", "")
@ -114,7 +118,7 @@ func (segment *Segment) migrationOne(env environment.Environment) {
template = strings.ReplaceAll(template, "@", "") template = strings.ReplaceAll(template, "@", "")
template = strings.ReplaceAll(template, "{{ .UserName }}", "") template = strings.ReplaceAll(template, "{{ .UserName }}", "")
} }
segment.Properties[properties.SegmentTemplate] = template segment.Properties[segmentTemplate] = template
segment.migrateIconOverride("user_info_separator", "@") segment.migrateIconOverride("user_info_separator", "@")
if !hasTemplate { if !hasTemplate {
segment.migrateInlineColorOverride("user_color", "{{ .UserName }}") segment.migrateInlineColorOverride("user_color", "{{ .UserName }}")
@ -130,10 +134,10 @@ func (segment *Segment) migrationOne(env environment.Environment) {
segment.migrateColorOverride("version_mismatch_color", "{{ if .Mismatch }}%s{{ end }}", background) segment.migrateColorOverride("version_mismatch_color", "{{ if .Mismatch }}%s{{ end }}", background)
} }
case EXIT: case EXIT:
template := segment.Properties.GetString(properties.SegmentTemplate, segment.writer.Template()) template := segment.Properties.GetString(segmentTemplate, segment.writer.Template())
if strings.Contains(template, ".Text") { if strings.Contains(template, ".Text") {
template = strings.ReplaceAll(template, ".Text", ".Meaning") template = strings.ReplaceAll(template, ".Text", ".Meaning")
segment.Properties[properties.SegmentTemplate] = template segment.Properties[segmentTemplate] = template
} }
displayExitCode := properties.Property("display_exit_code") displayExitCode := properties.Property("display_exit_code")
if !segment.Properties.GetBool(displayExitCode, true) { if !segment.Properties.GetBool(displayExitCode, true) {
@ -145,7 +149,7 @@ func (segment *Segment) migrationOne(env environment.Environment) {
delete(segment.Properties, alwaysNumeric) delete(segment.Properties, alwaysNumeric)
template = strings.ReplaceAll(template, ".Meaning", ".Code") template = strings.ReplaceAll(template, ".Meaning", ".Code")
} }
segment.Properties[properties.SegmentTemplate] = template segment.Properties[segmentTemplate] = template
segment.migrateTemplate() segment.migrateTemplate()
segment.migrateIconOverride("success_icon", "\uf42e") segment.migrateIconOverride("success_icon", "\uf42e")
segment.migrateIconOverride("error_icon", "\uf00d") segment.migrateIconOverride("error_icon", "\uf00d")
@ -157,6 +161,18 @@ func (segment *Segment) migrationOne(env environment.Environment) {
delete(segment.Properties, colorBackground) delete(segment.Properties, colorBackground)
} }
func (segment *Segment) migrationTwo(env environment.Environment) {
if err := segment.mapSegmentWithWriter(env); err != nil {
return
}
if !segment.hasProperty(segmentTemplate) {
return
}
template := segment.Properties.GetString(segmentTemplate, segment.writer.Template())
segment.Template = template
delete(segment.Properties, segmentTemplate)
}
func (segment *Segment) hasProperty(property properties.Property) bool { func (segment *Segment) hasProperty(property properties.Property) bool {
for key := range segment.Properties { for key := range segment.Properties {
if key == property { if key == property {
@ -184,7 +200,7 @@ func (segment *Segment) migratePropertyKey(oldProperty, newProperty properties.P
func (segment *Segment) migrateTemplate() { func (segment *Segment) migrateTemplate() {
defer segment.migratePreAndPostFix() defer segment.migratePreAndPostFix()
if segment.hasProperty(properties.SegmentTemplate) { if segment.hasProperty(segmentTemplate) {
// existing template, ensure to add default pre/postfix values // existing template, ensure to add default pre/postfix values
if !segment.hasProperty(prefix) { if !segment.hasProperty(prefix) {
segment.Properties[prefix] = " " segment.Properties[prefix] = " "
@ -194,18 +210,18 @@ func (segment *Segment) migrateTemplate() {
} }
return return
} }
segment.Properties[properties.SegmentTemplate] = segment.writer.Template() segment.Properties[segmentTemplate] = segment.writer.Template()
} }
func (segment *Segment) migrateIconOverride(property properties.Property, overrideValue string) { func (segment *Segment) migrateIconOverride(property properties.Property, overrideValue string) {
if !segment.hasProperty(property) { if !segment.hasProperty(property) {
return return
} }
template := segment.Properties.GetString(properties.SegmentTemplate, segment.writer.Template()) template := segment.Properties.GetString(segmentTemplate, segment.writer.Template())
if strings.Contains(template, overrideValue) { if strings.Contains(template, overrideValue) {
template = strings.ReplaceAll(template, overrideValue, segment.Properties.GetString(property, "")) template = strings.ReplaceAll(template, overrideValue, segment.Properties.GetString(property, ""))
} }
segment.Properties[properties.SegmentTemplate] = template segment.Properties[segmentTemplate] = template
delete(segment.Properties, property) delete(segment.Properties, property)
} }
@ -236,13 +252,13 @@ func (segment *Segment) migrateInlineColorOverride(property properties.Property,
return return
} }
colorTemplate := fmt.Sprintf("<%s>%s</>", color, old) colorTemplate := fmt.Sprintf("<%s>%s</>", color, old)
template := segment.Properties.GetString(properties.SegmentTemplate, segment.writer.Template()) template := segment.Properties.GetString(segmentTemplate, segment.writer.Template())
template = strings.ReplaceAll(template, old, colorTemplate) template = strings.ReplaceAll(template, old, colorTemplate)
segment.Properties[properties.SegmentTemplate] = template segment.Properties[segmentTemplate] = template
} }
func (segment *Segment) migratePreAndPostFix() { func (segment *Segment) migratePreAndPostFix() {
template := segment.Properties.GetString(properties.SegmentTemplate, segment.writer.Template()) template := segment.Properties.GetString(segmentTemplate, segment.writer.Template())
defaultValue := " " defaultValue := " "
if segment.hasProperty(prefix) { if segment.hasProperty(prefix) {
prefix := segment.Properties.GetString(prefix, defaultValue) prefix := segment.Properties.GetString(prefix, defaultValue)
@ -256,5 +272,5 @@ func (segment *Segment) migratePreAndPostFix() {
template += postfix template += postfix
delete(segment.Properties, "postfix") delete(segment.Properties, "postfix")
} }
segment.Properties[properties.SegmentTemplate] = template segment.Properties[segmentTemplate] = template
} }

View file

@ -103,7 +103,7 @@ func TestIconOverride(t *testing.T) {
Property: Foo, Property: Foo,
Props: properties.Map{ Props: properties.Map{
Foo: " bar ", Foo: " bar ",
properties.SegmentTemplate: "hello foo bar", segmentTemplate: "hello foo bar",
}, },
}, },
{ {
@ -112,7 +112,7 @@ func TestIconOverride(t *testing.T) {
Property: Foo, Property: Foo,
Props: properties.Map{ Props: properties.Map{
Bar: " bar ", Bar: " bar ",
properties.SegmentTemplate: "hello foo bar", segmentTemplate: "hello foo bar",
}, },
}, },
} }
@ -120,11 +120,11 @@ func TestIconOverride(t *testing.T) {
segment := &Segment{ segment := &Segment{
Properties: tc.Props, Properties: tc.Props,
writer: &MockedWriter{ writer: &MockedWriter{
template: tc.Props.GetString(properties.SegmentTemplate, ""), template: tc.Props.GetString(segmentTemplate, ""),
}, },
} }
segment.migrateIconOverride(tc.Property, " foo ") segment.migrateIconOverride(tc.Property, " foo ")
assert.Equal(t, tc.Expected, segment.Properties[properties.SegmentTemplate], tc.Case) assert.Equal(t, tc.Expected, segment.Properties[segmentTemplate], tc.Case)
} }
} }
@ -325,7 +325,7 @@ func TestSegmentTemplateMigration(t *testing.T) {
Properties: tc.Props, Properties: tc.Props,
} }
segment.migrationOne(&mock.MockedEnvironment{}) segment.migrationOne(&mock.MockedEnvironment{})
assert.Equal(t, tc.Expected, segment.Properties[properties.SegmentTemplate], tc.Case) assert.Equal(t, tc.Expected, segment.Properties[segmentTemplate], tc.Case)
} }
} }
@ -342,7 +342,7 @@ func TestInlineColorOverride(t *testing.T) {
Property: Foo, Property: Foo,
Props: properties.Map{ Props: properties.Map{
Foo: "#123456", Foo: "#123456",
properties.SegmentTemplate: "hello foo bar", segmentTemplate: "hello foo bar",
}, },
}, },
{ {
@ -351,7 +351,7 @@ func TestInlineColorOverride(t *testing.T) {
Property: Foo, Property: Foo,
Props: properties.Map{ Props: properties.Map{
Bar: "#123456", Bar: "#123456",
properties.SegmentTemplate: "hello foo bar", segmentTemplate: "hello foo bar",
}, },
}, },
} }
@ -359,11 +359,11 @@ func TestInlineColorOverride(t *testing.T) {
segment := &Segment{ segment := &Segment{
Properties: tc.Props, Properties: tc.Props,
writer: &MockedWriter{ writer: &MockedWriter{
template: tc.Props.GetString(properties.SegmentTemplate, ""), template: tc.Props.GetString(segmentTemplate, ""),
}, },
} }
segment.migrateInlineColorOverride(tc.Property, "foo") segment.migrateInlineColorOverride(tc.Property, "foo")
assert.Equal(t, tc.Expected, segment.Properties[properties.SegmentTemplate], tc.Case) assert.Equal(t, tc.Expected, segment.Properties[segmentTemplate], tc.Case)
} }
} }
@ -403,11 +403,11 @@ func TestMigratePreAndPostfix(t *testing.T) {
segment := &Segment{ segment := &Segment{
Properties: tc.Props, Properties: tc.Props,
writer: &MockedWriter{ writer: &MockedWriter{
template: tc.Props.GetString(properties.SegmentTemplate, ""), template: tc.Props.GetString(segmentTemplate, ""),
}, },
} }
segment.migrateTemplate() segment.migrateTemplate()
assert.Equal(t, tc.Expected, segment.Properties[properties.SegmentTemplate], tc.Case) assert.Equal(t, tc.Expected, segment.Properties[segmentTemplate], tc.Case)
assert.NotContains(t, segment.Properties, "prefix", tc.Case) assert.NotContains(t, segment.Properties, "prefix", tc.Case)
assert.NotContains(t, segment.Properties, "postfix", tc.Case) assert.NotContains(t, segment.Properties, "postfix", tc.Case)
} }
@ -431,3 +431,36 @@ func TestMigrateConfig(t *testing.T) {
assert.Equal(t, tc.Expected, cfg.ConsoleTitleTemplate, tc.Case) assert.Equal(t, tc.Expected, cfg.ConsoleTitleTemplate, tc.Case)
} }
} }
func TestMigrationTwo(t *testing.T) {
cases := []struct {
Case string
Expected string
Template string
}{
{
Case: "With template",
Expected: "{{ .Name }}",
Template: "{{ .Name }}",
},
{
Case: "No template",
Expected: "",
},
}
for _, tc := range cases {
segment := &Segment{
Type: SESSION,
Properties: properties.Map{},
writer: &MockedWriter{
template: tc.Template,
},
}
if tc.Template != "" {
segment.Properties[segmentTemplate] = tc.Template
}
segment.migrationTwo(&mock.MockedEnvironment{})
assert.Equal(t, tc.Expected, segment.Template, tc.Case)
assert.NotContains(t, segment.Properties, segmentTemplate, tc.Case)
}
}

View file

@ -26,6 +26,7 @@ type Segment struct {
BackgroundTemplates color.Templates `json:"background_templates,omitempty"` BackgroundTemplates color.Templates `json:"background_templates,omitempty"`
LeadingDiamond string `json:"leading_diamond,omitempty"` LeadingDiamond string `json:"leading_diamond,omitempty"`
TrailingDiamond string `json:"trailing_diamond,omitempty"` TrailingDiamond string `json:"trailing_diamond,omitempty"`
Template string `json:"template,omitempty"`
Properties properties.Map `json:"properties,omitempty"` Properties properties.Map `json:"properties,omitempty"`
writer SegmentWriter writer SegmentWriter
@ -300,9 +301,11 @@ func (segment *Segment) mapSegmentWithWriter(env environment.Environment) error
} }
func (segment *Segment) string() string { func (segment *Segment) string() string {
segmentTemplate := segment.Properties.GetString(properties.SegmentTemplate, segment.writer.Template()) if len(segment.Template) == 0 {
segment.Template = segment.writer.Template()
}
tmpl := &template.Text{ tmpl := &template.Text{
Template: segmentTemplate, Template: segment.Template,
Context: segment.writer, Context: segment.writer,
Env: segment.env, Env: segment.env,
} }

View file

@ -33,8 +33,6 @@ const (
FetchVersion Property = "fetch_version" FetchVersion Property = "fetch_version"
// AlwaysEnabled decides whether or not to always display the info // AlwaysEnabled decides whether or not to always display the info
AlwaysEnabled Property = "always_enabled" AlwaysEnabled Property = "always_enabled"
// SegmentTemplate is the template to use to render the information
SegmentTemplate Property = "template"
// VersionURLTemplate is the template to use when building language segment hyperlink // VersionURLTemplate is the template to use when building language segment hyperlink
VersionURLTemplate Property = "version_url_template" VersionURLTemplate Property = "version_url_template"
// DisplayError to display when an error occurs or not // DisplayError to display when an error occurs or not

View file

@ -3,7 +3,6 @@ package segments
import ( import (
"oh-my-posh/environment" "oh-my-posh/environment"
"oh-my-posh/mock" "oh-my-posh/mock"
"oh-my-posh/properties"
"testing" "testing"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
@ -41,9 +40,6 @@ func TestTextSegment(t *testing.T) {
}) })
txt := &Text{ txt := &Text{
env: env, env: env,
props: properties.Map{
properties.SegmentTemplate: tc.Template,
},
} }
assert.Equal(t, tc.ExpectedString, renderTemplate(env, tc.Template, txt), tc.Case) assert.Equal(t, tc.ExpectedString, renderTemplate(env, tc.Template, txt), tc.Case)
} }

View file

@ -8,10 +8,8 @@
"background": "#9A348E", "background": "#9A348E",
"foreground": "#ffffff", "foreground": "#ffffff",
"leading_diamond": "\ue0b6", "leading_diamond": "\ue0b6",
"properties": {
"template": "{{ .UserName }} "
},
"style": "diamond", "style": "diamond",
"template": "{{ .UserName }} ",
"type": "session" "type": "session"
}, },
{ {
@ -19,10 +17,10 @@
"foreground": "#ffffff", "foreground": "#ffffff",
"powerline_symbol": "\ue0b0", "powerline_symbol": "\ue0b0",
"properties": { "properties": {
"style": "folder", "style": "folder"
"template": " {{ .Path }} "
}, },
"style": "powerline", "style": "powerline",
"template": " {{ .Path }} ",
"type": "path" "type": "path"
}, },
{ {
@ -33,30 +31,28 @@
"branch_icon": "", "branch_icon": "",
"fetch_stash_count": true, "fetch_stash_count": true,
"fetch_status": false, "fetch_status": false,
"fetch_upstream_icon": true, "fetch_upstream_icon": true
"template": " \u279c ({{ .UpstreamIcon }}{{ .HEAD }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }}) "
}, },
"style": "powerline", "style": "powerline",
"template": " \u279c ({{ .UpstreamIcon }}{{ .HEAD }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }}) ",
"type": "git" "type": "git"
}, },
{ {
"background": "#86BBD8", "background": "#86BBD8",
"foreground": "#ffffff", "foreground": "#ffffff",
"powerline_symbol": "\ue0b0", "powerline_symbol": "\ue0b0",
"properties": {
"template": " \ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} "
},
"style": "powerline", "style": "powerline",
"template": " \ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} ",
"type": "node" "type": "node"
}, },
{ {
"background": "#33658A", "background": "#33658A",
"foreground": "#ffffff", "foreground": "#ffffff",
"properties": { "properties": {
"template": " \u2665 {{ .CurrentDate | date .Format }} ",
"time_format": "15:04" "time_format": "15:04"
}, },
"style": "diamond", "style": "diamond",
"template": " \u2665 {{ .CurrentDate | date .Format }} ",
"trailing_diamond": "\ue0b0", "trailing_diamond": "\ue0b0",
"type": "time" "type": "time"
} }
@ -65,5 +61,5 @@
} }
], ],
"final_space": true, "final_space": true,
"version": 1 "version": 2
} }

View file

@ -8,20 +8,16 @@
"background": "#ffe9aa", "background": "#ffe9aa",
"foreground": "#100e23", "foreground": "#100e23",
"powerline_symbol": "\ue0b0", "powerline_symbol": "\ue0b0",
"properties": {
"template": " \uf0e7 "
},
"style": "powerline", "style": "powerline",
"template": " \uf0e7 ",
"type": "root" "type": "root"
}, },
{ {
"background": "#ffffff", "background": "#ffffff",
"foreground": "#100e23", "foreground": "#100e23",
"powerline_symbol": "\ue0b0", "powerline_symbol": "\ue0b0",
"properties": {
"template": " {{ .UserName }}@{{ .HostName }} "
},
"style": "powerline", "style": "powerline",
"template": " {{ .UserName }}@{{ .HostName }} ",
"type": "session" "type": "session"
}, },
{ {
@ -32,40 +28,34 @@
"folder_icon": "\uf115", "folder_icon": "\uf115",
"folder_separator_icon": " \ue0b1 ", "folder_separator_icon": " \ue0b1 ",
"home_icon": "\uf7db", "home_icon": "\uf7db",
"style": "agnoster", "style": "agnoster"
"template": " {{ .Path }} "
}, },
"style": "powerline", "style": "powerline",
"template": " {{ .Path }} ",
"type": "path" "type": "path"
}, },
{ {
"background": "#95ffa4", "background": "#95ffa4",
"foreground": "#193549", "foreground": "#193549",
"powerline_symbol": "\ue0b0", "powerline_symbol": "\ue0b0",
"properties": {
"template": " {{ .HEAD }} "
},
"style": "powerline", "style": "powerline",
"template": " {{ .HEAD }} ",
"type": "git" "type": "git"
}, },
{ {
"background": "#906cff", "background": "#906cff",
"foreground": "#100e23", "foreground": "#100e23",
"powerline_symbol": "\ue0b0", "powerline_symbol": "\ue0b0",
"properties": {
"template": " \ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }} "
},
"style": "powerline", "style": "powerline",
"template": " \ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }} ",
"type": "python" "type": "python"
}, },
{ {
"background": "#ff8080", "background": "#ff8080",
"foreground": "#ffffff", "foreground": "#ffffff",
"powerline_symbol": "\ue0b0", "powerline_symbol": "\ue0b0",
"properties": {
"template": " {{ .Meaning }} "
},
"style": "powerline", "style": "powerline",
"template": " {{ .Meaning }} ",
"type": "exit" "type": "exit"
} }
], ],
@ -73,5 +63,5 @@
} }
], ],
"final_space": true, "final_space": true,
"version": 1 "version": 2
} }

View file

@ -7,10 +7,10 @@
{ {
"foreground": "#007ACC", "foreground": "#007ACC",
"properties": { "properties": {
"template": " {{ .CurrentDate | date .Format }} ",
"time_format": "15:04:05" "time_format": "15:04:05"
}, },
"style": "plain", "style": "plain",
"template": " {{ .CurrentDate | date .Format }} ",
"type": "time" "type": "time"
} }
], ],
@ -25,10 +25,8 @@
"background": "#ffffff", "background": "#ffffff",
"foreground": "#100e23", "foreground": "#100e23",
"powerline_symbol": "\ue0b0", "powerline_symbol": "\ue0b0",
"properties": {
"template": " {{ .UserName }}@{{ .HostName }} "
},
"style": "powerline", "style": "powerline",
"template": " {{ .UserName }}@{{ .HostName }} ",
"type": "session" "type": "session"
}, },
{ {
@ -39,20 +37,18 @@
"folder_icon": "\uf115", "folder_icon": "\uf115",
"folder_separator_icon": " \ue0b1 ", "folder_separator_icon": " \ue0b1 ",
"home_icon": "\uf7db", "home_icon": "\uf7db",
"style": "agnoster", "style": "agnoster"
"template": " {{ .Path }} "
}, },
"style": "powerline", "style": "powerline",
"template": " {{ .Path }} ",
"type": "path" "type": "path"
}, },
{ {
"background": "#95ffa4", "background": "#95ffa4",
"foreground": "#193549", "foreground": "#193549",
"powerline_symbol": "\ue0b0", "powerline_symbol": "\ue0b0",
"properties": {
"template": " {{ .HEAD }} "
},
"style": "powerline", "style": "powerline",
"template": " {{ .HEAD }} ",
"type": "git" "type": "git"
} }
], ],
@ -60,5 +56,5 @@
} }
], ],
"final_space": true, "final_space": true,
"version": 1 "version": 2
} }

View file

@ -8,10 +8,8 @@
"background": "#61AFEF", "background": "#61AFEF",
"foreground": "#ffffff", "foreground": "#ffffff",
"leading_diamond": "\ue0b6", "leading_diamond": "\ue0b6",
"properties": {
"template": " {{ .UserName }}@{{ .HostName }} "
},
"style": "diamond", "style": "diamond",
"template": " {{ .UserName }}@{{ .HostName }} ",
"trailing_diamond": "\ue0b0", "trailing_diamond": "\ue0b0",
"type": "session" "type": "session"
}, },
@ -20,30 +18,26 @@
"foreground": "#ffffff", "foreground": "#ffffff",
"powerline_symbol": "\ue0b0", "powerline_symbol": "\ue0b0",
"properties": { "properties": {
"style": "full", "style": "full"
"template": " {{ .Path }} "
}, },
"style": "powerline", "style": "powerline",
"template": " {{ .Path }} ",
"type": "path" "type": "path"
}, },
{ {
"background": "#95ffa4", "background": "#95ffa4",
"foreground": "#193549", "foreground": "#193549",
"powerline_symbol": "\ue0b0", "powerline_symbol": "\ue0b0",
"properties": {
"template": " {{ .HEAD }} "
},
"style": "powerline", "style": "powerline",
"template": " {{ .HEAD }} ",
"type": "git" "type": "git"
}, },
{ {
"background": "#FF6471", "background": "#FF6471",
"foreground": "#ffffff", "foreground": "#ffffff",
"leading_diamond": "<transparent,background>\ue0b0</>", "leading_diamond": "<transparent,background>\ue0b0</>",
"properties": {
"template": " {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }} "
},
"style": "diamond", "style": "diamond",
"template": " {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }} ",
"trailing_diamond": "\ue0b4", "trailing_diamond": "\ue0b4",
"type": "python" "type": "python"
} }
@ -52,5 +46,5 @@
} }
], ],
"final_space": true, "final_space": true,
"version": 1 "version": 2
} }

View file

@ -6,20 +6,18 @@
"segments": [ "segments": [
{ {
"foreground": "#45F1C2", "foreground": "#45F1C2",
"properties": {
"template": "\uf508 {{ .UserName }} on"
},
"style": "plain", "style": "plain",
"template": "\uf508 {{ .UserName }} on",
"type": "session" "type": "session"
}, },
{ {
"foreground": "#0CA0D8", "foreground": "#0CA0D8",
"properties": { "properties": {
"folder_separator_icon": "/", "folder_separator_icon": "/",
"style": "full", "style": "full"
"template": " \uf07b {{ .Path }} "
}, },
"style": "plain", "style": "plain",
"template": " \uf07b {{ .Path }} ",
"type": "path" "type": "path"
}, },
{ {
@ -27,10 +25,10 @@
"powerline_symbol": "\ue0b0", "powerline_symbol": "\ue0b0",
"properties": { "properties": {
"fetch_stash_count": true, "fetch_stash_count": true,
"fetch_upstream_icon": true, "fetch_upstream_icon": true
"template": "{{ .UpstreamIcon }}{{ .HEAD }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} "
}, },
"style": "plain", "style": "plain",
"template": "{{ .UpstreamIcon }}{{ .HEAD }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} ",
"type": "git" "type": "git"
} }
], ],
@ -42,23 +40,19 @@
"segments": [ "segments": [
{ {
"foreground": "#cd5e42", "foreground": "#cd5e42",
"properties": {
"template": "\ue3bf "
},
"style": "plain", "style": "plain",
"template": "\ue3bf ",
"type": "root" "type": "root"
}, },
{ {
"foreground": "#CD4277", "foreground": "#CD4277",
"properties": {
"template": "# "
},
"style": "plain", "style": "plain",
"template": "# ",
"type": "text" "type": "text"
} }
], ],
"type": "prompt" "type": "prompt"
} }
], ],
"version": 1 "version": 2
} }

View file

@ -8,19 +8,15 @@
"background": "#0077c2", "background": "#0077c2",
"foreground": "#ffffff", "foreground": "#ffffff",
"leading_diamond": "\u256d\u2500\ue0b6", "leading_diamond": "\u256d\u2500\ue0b6",
"properties": {
"template": "\uf120 {{ .Name }} "
},
"style": "diamond", "style": "diamond",
"template": "\uf120 {{ .Name }} ",
"type": "shell" "type": "shell"
}, },
{ {
"background": "#ef5350", "background": "#ef5350",
"foreground": "#FFFB38", "foreground": "#FFFB38",
"properties": {
"template": "<parentBackground>\ue0b0</> \uf292 "
},
"style": "diamond", "style": "diamond",
"template": "<parentBackground>\ue0b0</> \uf292 ",
"type": "root" "type": "root"
}, },
{ {
@ -30,10 +26,10 @@
"properties": { "properties": {
"folder_icon": " \uf07b ", "folder_icon": " \uf07b ",
"home_icon": "\uf7dd", "home_icon": "\uf7dd",
"style": "folder", "style": "folder"
"template": " \uf07b\uf553{{ .Path }} "
}, },
"style": "powerline", "style": "powerline",
"template": " \uf07b\uf553{{ .Path }} ",
"type": "path" "type": "path"
}, },
{ {
@ -49,10 +45,10 @@
"properties": { "properties": {
"branch_icon": "\ue725 ", "branch_icon": "\ue725 ",
"fetch_status": true, "fetch_status": true,
"fetch_upstream_icon": true, "fetch_upstream_icon": true
"template": " {{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }}<#ef5350> \uf046 {{ .Staging.String }}</>{{ end }} "
}, },
"style": "powerline", "style": "powerline",
"template": " {{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }}<#ef5350> \uf046 {{ .Staging.String }}</>{{ end }} ",
"type": "git" "type": "git"
}, },
{ {
@ -60,10 +56,10 @@
"foreground": "#ffffff", "foreground": "#ffffff",
"properties": { "properties": {
"style": "roundrock", "style": "roundrock",
"template": " \ufa1e{{ .FormattedMs }}\u2800",
"threshold": 0 "threshold": 0
}, },
"style": "diamond", "style": "diamond",
"template": " \ufa1e{{ .FormattedMs }}\u2800",
"trailing_diamond": "\ue0b4", "trailing_diamond": "\ue0b4",
"type": "executiontime" "type": "executiontime"
} }
@ -80,10 +76,10 @@
"properties": { "properties": {
"fetch_package_manager": true, "fetch_package_manager": true,
"npm_icon": " <#cc3a3a>\ue5fa</> ", "npm_icon": " <#cc3a3a>\ue5fa</> ",
"template": "\ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }}",
"yarn_icon": " <#348cba>\uf61a</>" "yarn_icon": " <#348cba>\uf61a</>"
}, },
"style": "diamond", "style": "diamond",
"template": "\ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }}",
"trailing_diamond": "\ue0b4 ", "trailing_diamond": "\ue0b4 ",
"type": "node" "type": "node"
}, },
@ -91,10 +87,8 @@
"background": "#306998", "background": "#306998",
"foreground": "#FFE873", "foreground": "#FFE873",
"leading_diamond": "\ue0b6", "leading_diamond": "\ue0b6",
"properties": {
"template": "\ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }}"
},
"style": "diamond", "style": "diamond",
"template": "\ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }}",
"trailing_diamond": "\ue0b4 ", "trailing_diamond": "\ue0b4 ",
"type": "python" "type": "python"
}, },
@ -102,10 +96,8 @@
"background": "#0e8ac8", "background": "#0e8ac8",
"foreground": "#ec2729", "foreground": "#ec2729",
"leading_diamond": "\ue0b6", "leading_diamond": "\ue0b6",
"properties": {
"template": "\ue738 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}"
},
"style": "diamond", "style": "diamond",
"template": "\ue738 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}",
"trailing_diamond": "\ue0b4 ", "trailing_diamond": "\ue0b4 ",
"type": "java" "type": "java"
}, },
@ -113,10 +105,8 @@
"background": "#0e0e0e", "background": "#0e0e0e",
"foreground": "#0d6da8", "foreground": "#0d6da8",
"leading_diamond": "\ue0b6", "leading_diamond": "\ue0b6",
"properties": {
"template": "\ue77f {{ if .Unsupported }}\uf071{{ else }}{{ .Full }}{{ end }}"
},
"style": "diamond", "style": "diamond",
"template": "\ue77f {{ if .Unsupported }}\uf071{{ else }}{{ .Full }}{{ end }}",
"trailing_diamond": "\ue0b4 ", "trailing_diamond": "\ue0b4 ",
"type": "dotnet" "type": "dotnet"
}, },
@ -124,10 +114,8 @@
"background": "#ffffff", "background": "#ffffff",
"foreground": "#06aad5", "foreground": "#06aad5",
"leading_diamond": "\ue0b6", "leading_diamond": "\ue0b6",
"properties": {
"template": "\ufcd1 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}"
},
"style": "diamond", "style": "diamond",
"template": "\ufcd1 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}",
"trailing_diamond": "\ue0b4 ", "trailing_diamond": "\ue0b4 ",
"type": "go" "type": "go"
}, },
@ -135,10 +123,8 @@
"background": "#f3f0ec", "background": "#f3f0ec",
"foreground": "#925837", "foreground": "#925837",
"leading_diamond": "\ue0b6", "leading_diamond": "\ue0b6",
"properties": {
"template": "\ue7a8 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}"
},
"style": "diamond", "style": "diamond",
"template": "\ue7a8 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}",
"trailing_diamond": "\ue0b4 ", "trailing_diamond": "\ue0b4 ",
"type": "rust" "type": "rust"
}, },
@ -146,10 +132,8 @@
"background": "#e1e8e9", "background": "#e1e8e9",
"foreground": "#055b9c", "foreground": "#055b9c",
"leading_diamond": " \ue0b6", "leading_diamond": " \ue0b6",
"properties": {
"template": "\ue798 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}"
},
"style": "diamond", "style": "diamond",
"template": "\ue798 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}",
"trailing_diamond": "\ue0b4 ", "trailing_diamond": "\ue0b4 ",
"type": "dart" "type": "dart"
}, },
@ -157,10 +141,8 @@
"background": "#ffffff", "background": "#ffffff",
"foreground": "#ce092f", "foreground": "#ce092f",
"leading_diamond": " \ue0b6", "leading_diamond": " \ue0b6",
"properties": {
"template": "\ue753 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}"
},
"style": "diamond", "style": "diamond",
"template": "\ue753 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}",
"trailing_diamond": "\ue0b4 ", "trailing_diamond": "\ue0b4 ",
"type": "angular" "type": "angular"
}, },
@ -168,10 +150,8 @@
"background": "#945bb3", "background": "#945bb3",
"foreground": "#359a25", "foreground": "#359a25",
"leading_diamond": " \ue0b6", "leading_diamond": " \ue0b6",
"properties": {
"template": "<#ca3c34>\ue624</> {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}"
},
"style": "diamond", "style": "diamond",
"template": "<#ca3c34>\ue624</> {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}",
"trailing_diamond": "\ue0b4 ", "trailing_diamond": "\ue0b4 ",
"type": "julia" "type": "julia"
}, },
@ -179,10 +159,8 @@
"background": "#ffffff", "background": "#ffffff",
"foreground": "#9c1006", "foreground": "#9c1006",
"leading_diamond": "\ue0b6", "leading_diamond": "\ue0b6",
"properties": {
"template": "\ue791 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}"
},
"style": "diamond", "style": "diamond",
"template": "\ue791 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}",
"trailing_diamond": "\ue0b4 ", "trailing_diamond": "\ue0b4 ",
"type": "ruby" "type": "ruby"
}, },
@ -190,10 +168,8 @@
"background": "#ffffff", "background": "#ffffff",
"foreground": "#5398c2", "foreground": "#5398c2",
"leading_diamond": "\ue0b6", "leading_diamond": "\ue0b6",
"properties": {
"template": "\uf104<#f5bf45>\uf0e7</>\uf105 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}"
},
"style": "diamond", "style": "diamond",
"template": "\uf104<#f5bf45>\uf0e7</>\uf105 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}",
"trailing_diamond": "\ue0b4 ", "trailing_diamond": "\ue0b4 ",
"type": "azfunc" "type": "azfunc"
}, },
@ -201,10 +177,8 @@
"background": "#565656", "background": "#565656",
"foreground": "#faa029", "foreground": "#faa029",
"leading_diamond": "\ue0b6", "leading_diamond": "\ue0b6",
"properties": {
"template": "\ue7ad {{.Profile}}{{if .Region}}@{{.Region}}{{end}}"
},
"style": "diamond", "style": "diamond",
"template": "\ue7ad {{.Profile}}{{if .Region}}@{{.Region}}{{end}}",
"trailing_diamond": "\ue0b4 ", "trailing_diamond": "\ue0b4 ",
"type": "aws" "type": "aws"
}, },
@ -212,10 +186,8 @@
"background": "#316ce4", "background": "#316ce4",
"foreground": "#ffffff", "foreground": "#ffffff",
"leading_diamond": "\ue0b6", "leading_diamond": "\ue0b6",
"properties": {
"template": "\ufd31 {{.Context}}{{if .Namespace}} :: {{.Namespace}}{{end}}"
},
"style": "diamond", "style": "diamond",
"template": "\ufd31 {{.Context}}{{if .Namespace}} :: {{.Namespace}}{{end}}",
"trailing_diamond": "\ue0b4", "trailing_diamond": "\ue0b4",
"type": "kubectl" "type": "kubectl"
}, },
@ -226,10 +198,10 @@
"properties": { "properties": {
"linux": "\ue27f", "linux": "\ue27f",
"macos": "\ue27f", "macos": "\ue27f",
"template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}}<#262626> \ue0b2</>",
"windows": "\ue27f" "windows": "\ue27f"
}, },
"style": "diamond", "style": "diamond",
"template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}}<#262626> \ue0b2</>",
"type": "os" "type": "os"
}, },
{ {
@ -245,10 +217,10 @@
"properties": { "properties": {
"charged_icon": "\uf58e ", "charged_icon": "\uf58e ",
"charging_icon": "\uf1e6 ", "charging_icon": "\uf1e6 ",
"discharging_icon": "\ue234 ", "discharging_icon": "\ue234 "
"template": " {{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }}\uf295 <#262626>\ue0b2</>"
}, },
"style": "diamond", "style": "diamond",
"template": " {{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }}\uf295 <#262626>\ue0b2</>",
"type": "battery" "type": "battery"
}, },
{ {
@ -257,10 +229,10 @@
"invert_powerline": true, "invert_powerline": true,
"leading_diamond": "\ue0b2", "leading_diamond": "\ue0b2",
"properties": { "properties": {
"template": " \uf5ef {{ .CurrentDate | date .Format }} ",
"time_format": "_2,15:04" "time_format": "_2,15:04"
}, },
"style": "diamond", "style": "diamond",
"template": " \uf5ef {{ .CurrentDate | date .Format }} ",
"trailing_diamond": "\ue0b4", "trailing_diamond": "\ue0b4",
"type": "time" "type": "time"
} }
@ -273,10 +245,8 @@
"segments": [ "segments": [
{ {
"foreground": "#21c7c7", "foreground": "#21c7c7",
"properties": {
"template": "\u2570\u2500"
},
"style": "plain", "style": "plain",
"template": "\u2570\u2500",
"type": "text" "type": "text"
}, },
{ {
@ -285,10 +255,10 @@
"{{ if gt .Code 0 }}#ef5350{{ end }}" "{{ if gt .Code 0 }}#ef5350{{ end }}"
], ],
"properties": { "properties": {
"always_enabled": true, "always_enabled": true
"template": "\ue285\ufb00 "
}, },
"style": "plain", "style": "plain",
"template": "\ue285\ufb00 ",
"type": "exit" "type": "exit"
} }
], ],
@ -296,5 +266,5 @@
} }
], ],
"osc99": true, "osc99": true,
"version": 1 "version": 2
} }

View file

@ -5,26 +5,20 @@
"alignment": "left", "alignment": "left",
"segments": [ "segments": [
{ {
"properties": {
"template": "\u256d\u2500[<#ffff55>{{ .UserName }}</><#ff5555>@</><#55ff55>{{ .HostName }}</>]\u2500"
},
"style": "plain", "style": "plain",
"template": "\u256d\u2500[<#ffff55>{{ .UserName }}</><#ff5555>@</><#55ff55>{{ .HostName }}</>]\u2500",
"type": "session" "type": "session"
}, },
{ {
"foreground": "#ff5555", "foreground": "#ff5555",
"properties": {
"template": "<#ffffff>[</>{{ .Path }}<#ffffff>]</>"
},
"style": "plain", "style": "plain",
"template": "<#ffffff>[</>{{ .Path }}<#ffffff>]</>",
"type": "path" "type": "path"
}, },
{ {
"foreground": "#FF9248", "foreground": "#FF9248",
"properties": {
"template": "<#ffffff>\u2500(</>#<#ffffff>)</>"
},
"style": "plain", "style": "plain",
"template": "<#ffffff>\u2500(</>#<#ffffff>)</>",
"type": "root" "type": "root"
} }
], ],
@ -38,106 +32,82 @@
"properties": { "properties": {
"fetch_package_manager": true, "fetch_package_manager": true,
"npm_icon": " <#cc3a3a>\ue5fa</> ", "npm_icon": " <#cc3a3a>\ue5fa</> ",
"template": "<#ffffff>(</>{{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }}<#ffffff>)</>",
"yarn_icon": " <#348cba>\uf61a</>" "yarn_icon": " <#348cba>\uf61a</>"
}, },
"style": "plain", "style": "plain",
"template": "<#ffffff>(</>{{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }}<#ffffff>)</>",
"type": "node" "type": "node"
}, },
{ {
"foreground": "#FFE873", "foreground": "#FFE873",
"properties": {
"template": "<#ffffff>(</>{{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }}<#ffffff>)</>"
},
"style": "plain", "style": "plain",
"template": "<#ffffff>(</>{{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }}<#ffffff>)</>",
"type": "python" "type": "python"
}, },
{ {
"foreground": "#ec2729", "foreground": "#ec2729",
"properties": {
"template": "<#ffffff>(</>{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}<#ffffff>)</>"
},
"style": "plain", "style": "plain",
"template": "<#ffffff>(</>{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}<#ffffff>)</>",
"type": "java" "type": "java"
}, },
{ {
"foreground": "#0d6da8", "foreground": "#0d6da8",
"properties": {
"template": "<#ffffff>(</>{{ if .Unsupported }}\uf071{{ else }}{{ .Full }}{{ end }}<#ffffff>)</>"
},
"style": "plain", "style": "plain",
"template": "<#ffffff>(</>{{ if .Unsupported }}\uf071{{ else }}{{ .Full }}{{ end }}<#ffffff>)</>",
"type": "dotnet" "type": "dotnet"
}, },
{ {
"foreground": "#06aad5", "foreground": "#06aad5",
"properties": {
"template": "<#ffffff>(</>{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}<#ffffff>)</>"
},
"style": "plain", "style": "plain",
"template": "<#ffffff>(</>{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}<#ffffff>)</>",
"type": "go" "type": "go"
}, },
{ {
"foreground": "#925837", "foreground": "#925837",
"properties": {
"template": "<#ffffff>(</>{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}<#ffffff>)</>"
},
"style": "plain", "style": "plain",
"template": "<#ffffff>(</>{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}<#ffffff>)</>",
"type": "rust" "type": "rust"
}, },
{ {
"foreground": "#055b9c", "foreground": "#055b9c",
"properties": {
"template": "<#ffffff>(</>{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}<#ffffff>)</>"
},
"style": "plain", "style": "plain",
"template": "<#ffffff>(</>{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}<#ffffff>)</>",
"type": "dart" "type": "dart"
}, },
{ {
"foreground": "#ce092f", "foreground": "#ce092f",
"properties": {
"template": "<#ffffff>(</>{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}<#ffffff>)</>"
},
"style": "plain", "style": "plain",
"template": "<#ffffff>(</>{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}<#ffffff>)</>",
"type": "angular" "type": "angular"
}, },
{ {
"foreground": "#359a25", "foreground": "#359a25",
"properties": {
"template": "<#ffffff>(</>{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}<#ffffff>)</>"
},
"style": "plain", "style": "plain",
"template": "<#ffffff>(</>{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}<#ffffff>)</>",
"type": "julia" "type": "julia"
}, },
{ {
"foreground": "#9c1006", "foreground": "#9c1006",
"properties": {
"template": "<#ffffff>(</>{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}<#ffffff>)</>"
},
"style": "plain", "style": "plain",
"template": "<#ffffff>(</>{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}<#ffffff>)</>",
"type": "ruby" "type": "ruby"
}, },
{ {
"foreground": "#5398c2", "foreground": "#5398c2",
"properties": {
"template": "<#ffffff>(</>{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}<#ffffff>)</>"
},
"style": "plain", "style": "plain",
"template": "<#ffffff>(</>{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}<#ffffff>)</>",
"type": "azfunc" "type": "azfunc"
}, },
{ {
"foreground": "#faa029", "foreground": "#faa029",
"properties": {
"template": "<#ffffff>(</>{{.Profile}}{{if .Region}}@{{.Region}}{{end}}<#ffffff>)</>"
},
"style": "plain", "style": "plain",
"template": "<#ffffff>(</>{{.Profile}}{{if .Region}}@{{.Region}}{{end}}<#ffffff>)</>",
"type": "aws" "type": "aws"
}, },
{ {
"foreground": "#316ce4", "foreground": "#316ce4",
"properties": {
"template": "<#ffffff>(</>{{.Context}}{{if .Namespace}} :: {{.Namespace}}{{end}}<#ffffff>)</>"
},
"style": "plain", "style": "plain",
"template": "<#ffffff>(</>{{.Context}}{{if .Namespace}} :: {{.Namespace}}{{end}}<#ffffff>)</>",
"type": "kubectl" "type": "kubectl"
}, },
{ {
@ -145,10 +115,10 @@
"properties": { "properties": {
"linux": "<#ffffff>\ue27f</>", "linux": "<#ffffff>\ue27f</>",
"macos": "<#ffffff>\ue27f</>", "macos": "<#ffffff>\ue27f</>",
"template": "<#ffffff>(</>{{ if .WSL }}WSL at {{ end }}{{.Icon}}<#ffffff>)\u2500</>",
"windows": "<#ffffff>\ue27f</>" "windows": "<#ffffff>\ue27f</>"
}, },
"style": "plain", "style": "plain",
"template": "<#ffffff>(</>{{ if .WSL }}WSL at {{ end }}{{.Icon}}<#ffffff>)\u2500</>",
"type": "os" "type": "os"
}, },
{ {
@ -161,19 +131,19 @@
"properties": { "properties": {
"charged_icon": "\uf58e ", "charged_icon": "\uf58e ",
"charging_icon": "\uf1e6 ", "charging_icon": "\uf1e6 ",
"discharging_icon": "\ue234 ", "discharging_icon": "\ue234 "
"template": "<#ffffff>[</>{{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }}%<#ffffff>]\u2500</>"
}, },
"style": "plain", "style": "plain",
"template": "<#ffffff>[</>{{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }}%<#ffffff>]\u2500</>",
"type": "battery" "type": "battery"
}, },
{ {
"foreground": "#55ffff", "foreground": "#55ffff",
"properties": { "properties": {
"template": "<#ffffff>[</>{{ .CurrentDate | date .Format }}<#ffffff>]</>",
"time_format": "_2,15:04" "time_format": "_2,15:04"
}, },
"style": "plain", "style": "plain",
"template": "<#ffffff>[</>{{ .CurrentDate | date .Format }}<#ffffff>]</>",
"type": "time" "type": "time"
} }
], ],
@ -184,10 +154,8 @@
"newline": true, "newline": true,
"segments": [ "segments": [
{ {
"properties": {
"template": "\u2570\u2500"
},
"style": "plain", "style": "plain",
"template": "\u2570\u2500",
"type": "text" "type": "text"
}, },
{ {
@ -195,10 +163,10 @@
"properties": { "properties": {
"branch_icon": "\ue725 ", "branch_icon": "\ue725 ",
"fetch_status": true, "fetch_status": true,
"fetch_upstream_icon": true, "fetch_upstream_icon": true
"template": "<#ffffff>[</>{{ .HEAD }}{{ if .Staging.Changed }}<#00AA00> \u25cf {{ .Staging.String }}</>{{ end }}{{ if .Working.Changed }}<#D75F00> \u25cf {{ .Working.String }}</>{{ end }}<#ffffff>]-</>"
}, },
"style": "plain", "style": "plain",
"template": "<#ffffff>[</>{{ .HEAD }}{{ if .Staging.Changed }}<#00AA00> \u25cf {{ .Staging.String }}</>{{ end }}{{ if .Working.Changed }}<#D75F00> \u25cf {{ .Working.String }}</>{{ end }}<#ffffff>]-</>",
"type": "git" "type": "git"
}, },
{ {
@ -207,10 +175,10 @@
"{{ if gt .Code 0 }}#ef5350{{ end }}" "{{ if gt .Code 0 }}#ef5350{{ end }}"
], ],
"properties": { "properties": {
"always_enabled": true, "always_enabled": true
"template": "\ue285\ufb00 "
}, },
"style": "plain", "style": "plain",
"template": "\ue285\ufb00 ",
"type": "exit" "type": "exit"
} }
], ],
@ -218,5 +186,5 @@
} }
], ],
"osc99": true, "osc99": true,
"version": 1 "version": 2
} }

View file

@ -7,34 +7,28 @@
{ {
"foreground": "#ffffff", "foreground": "#ffffff",
"properties": { "properties": {
"style": "full", "style": "full"
"template": "{{ .Path }} "
}, },
"style": "plain", "style": "plain",
"template": "{{ .Path }} ",
"type": "path" "type": "path"
}, },
{ {
"foreground": "#C2C206", "foreground": "#C2C206",
"properties": {
"template": "{{ .HEAD }} "
},
"style": "plain", "style": "plain",
"template": "{{ .HEAD }} ",
"type": "git" "type": "git"
}, },
{ {
"foreground": "#B5B50D", "foreground": "#B5B50D",
"properties": {
"template": " \uf0e7 "
},
"style": "plain", "style": "plain",
"template": " \uf0e7 ",
"type": "root" "type": "root"
}, },
{ {
"foreground": "#C94A16", "foreground": "#C94A16",
"properties": {
"template": "x{{ .Meaning }} "
},
"style": "plain", "style": "plain",
"template": "x{{ .Meaning }} ",
"type": "exit" "type": "exit"
} }
], ],
@ -46,10 +40,8 @@
"segments": [ "segments": [
{ {
"foreground": "#007ACC", "foreground": "#007ACC",
"properties": {
"template": "\ue602 "
},
"style": "plain", "style": "plain",
"template": "\ue602 ",
"type": "text" "type": "text"
} }
], ],
@ -57,5 +49,5 @@
} }
], ],
"final_space": true, "final_space": true,
"version": 1 "version": 2
} }

View file

@ -7,19 +7,15 @@
{ {
"background": "#a313a8", "background": "#a313a8",
"foreground": "#FFEB3B", "foreground": "#FFEB3B",
"properties": {
"template": "\u26a1 "
},
"style": "plain", "style": "plain",
"template": "\u26a1 ",
"type": "root" "type": "root"
}, },
{ {
"background": "transparent", "background": "transparent",
"foreground": "#ffffff", "foreground": "#ffffff",
"properties": {
"template": "{{ if .WSL }}WSL at {{ end }}{{.Icon}} "
},
"style": "plain", "style": "plain",
"template": "{{ if .WSL }}WSL at {{ end }}{{.Icon}} ",
"type": "os" "type": "os"
}, },
{ {
@ -30,10 +26,10 @@
"folder_icon": "\uf6d7", "folder_icon": "\uf6d7",
"folder_separator_icon": "<transparent> \ue0bd </>", "folder_separator_icon": "<transparent> \ue0bd </>",
"home_icon": "\uf7db", "home_icon": "\uf7db",
"style": "agnoster_short", "style": "agnoster_short"
"template": " {{ .Path }} "
}, },
"style": "diamond", "style": "diamond",
"template": " {{ .Path }} ",
"trailing_diamond": "\ue0b0", "trailing_diamond": "\ue0b0",
"type": "path" "type": "path"
}, },
@ -49,10 +45,10 @@
"powerline_symbol": "\ue0b0", "powerline_symbol": "\ue0b0",
"properties": { "properties": {
"fetch_stash_count": true, "fetch_stash_count": true,
"fetch_status": true, "fetch_status": true
"template": " {{ .HEAD }}{{ if .Staging.Changed }}<#FF6F00> \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 }} "
}, },
"style": "powerline", "style": "powerline",
"template": " {{ .HEAD }}{{ if .Staging.Changed }}<#FF6F00> \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 }} ",
"type": "git" "type": "git"
}, },
{ {
@ -61,10 +57,10 @@
"leading_diamond": "<transparent,#49404f>\ue0b0</>", "leading_diamond": "<transparent,#49404f>\ue0b0</>",
"properties": { "properties": {
"style": "dallas", "style": "dallas",
"template": " {{ .FormattedMs }}s ",
"threshold": 0 "threshold": 0
}, },
"style": "diamond", "style": "diamond",
"template": " {{ .FormattedMs }}s ",
"trailing_diamond": "\ue0b0", "trailing_diamond": "\ue0b0",
"type": "executiontime" "type": "executiontime"
}, },
@ -72,10 +68,8 @@
"background": "#910000", "background": "#910000",
"foreground": "#ffffff", "foreground": "#ffffff",
"powerline_symbol": "\ue0b0", "powerline_symbol": "\ue0b0",
"properties": {
"template": "<transparent> \uf12a</> {{ .Meaning }} "
},
"style": "powerline", "style": "powerline",
"template": "<transparent> \uf12a</> {{ .Meaning }} ",
"type": "exit" "type": "exit"
} }
], ],
@ -88,20 +82,18 @@
"background": "#29315A", "background": "#29315A",
"foreground": "#43CCEA", "foreground": "#43CCEA",
"leading_diamond": "\ue0c5", "leading_diamond": "\ue0c5",
"properties": {
"template": " {{ .UserName }}<transparent> / </>{{ .HostName }}"
},
"style": "diamond", "style": "diamond",
"template": " {{ .UserName }}<transparent> / </>{{ .HostName }}",
"type": "session" "type": "session"
}, },
{ {
"background": "#29315A", "background": "#29315A",
"foreground": "#3EC669", "foreground": "#3EC669",
"properties": { "properties": {
"template": "<transparent> \ue0ba\ue0bc </>{{ .CurrentDate | date .Format }} ",
"time_format": "15:04:05" "time_format": "15:04:05"
}, },
"style": "plain", "style": "plain",
"template": "<transparent> \ue0ba\ue0bc </>{{ .CurrentDate | date .Format }} ",
"type": "time" "type": "time"
} }
], ],
@ -117,10 +109,10 @@
"{{ if gt .Code 0 }}#ff0000{{ end }}" "{{ if gt .Code 0 }}#ff0000{{ end }}"
], ],
"properties": { "properties": {
"always_enabled": true, "always_enabled": true
"template": "\u276f "
}, },
"style": "plain", "style": "plain",
"template": "\u276f ",
"type": "exit" "type": "exit"
} }
], ],
@ -129,5 +121,5 @@
], ],
"console_title_template": "{{if .Root}} \u26a1 {{end}}{{.Folder | replace \"~\" \"🏚\" }} @ {{.HostName}}", "console_title_template": "{{if .Root}} \u26a1 {{end}}{{.Folder | replace \"~\" \"🏚\" }} @ {{.HostName}}",
"osc99": true, "osc99": true,
"version": 1 "version": 2
} }

View file

@ -9,10 +9,10 @@
"foreground": "#26C6DA", "foreground": "#26C6DA",
"leading_diamond": "\ue0c5", "leading_diamond": "\ue0c5",
"properties": { "properties": {
"macos": "mac", "macos": "mac"
"template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}} \ue0b1"
}, },
"style": "diamond", "style": "diamond",
"template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}} \ue0b1",
"trailing_diamond": "\ue0b0", "trailing_diamond": "\ue0b0",
"type": "os" "type": "os"
}, },
@ -20,10 +20,8 @@
"background": "#546E7A", "background": "#546E7A",
"foreground": "#26C6DA", "foreground": "#26C6DA",
"powerline_symbol": "\ue0b0", "powerline_symbol": "\ue0b0",
"properties": {
"template": " {{ .UserName }}@{{ .HostName }} "
},
"style": "powerline", "style": "powerline",
"template": " {{ .UserName }}@{{ .HostName }} ",
"type": "session" "type": "session"
}, },
{ {
@ -35,10 +33,8 @@
], ],
"foreground": "#193549", "foreground": "#193549",
"powerline_symbol": "\ue0b0", "powerline_symbol": "\ue0b0",
"properties": {
"template": " {{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }}\uf295 \uf583 "
},
"style": "powerline", "style": "powerline",
"template": " {{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }}\uf295 \uf583 ",
"type": "battery" "type": "battery"
}, },
{ {
@ -46,10 +42,10 @@
"foreground": "#193549", "foreground": "#193549",
"powerline_symbol": "\ue0b0", "powerline_symbol": "\ue0b0",
"properties": { "properties": {
"style": "folder", "style": "folder"
"template": " \ue5ff {{ .Path }} "
}, },
"style": "powerline", "style": "powerline",
"template": " \ue5ff {{ .Path }} ",
"type": "path" "type": "path"
}, },
{ {
@ -58,40 +54,34 @@
"powerline_symbol": "\ue0b0", "powerline_symbol": "\ue0b0",
"properties": { "properties": {
"fetch_stash_count": true, "fetch_stash_count": true,
"fetch_upstream_icon": true, "fetch_upstream_icon": true
"template": " {{ .UpstreamIcon }}{{ .HEAD }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} "
}, },
"style": "powerline", "style": "powerline",
"template": " {{ .UpstreamIcon }}{{ .HEAD }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} ",
"type": "git" "type": "git"
}, },
{ {
"background": "#6CA35E", "background": "#6CA35E",
"foreground": "#ffffff", "foreground": "#ffffff",
"powerline_symbol": "\ue0b0", "powerline_symbol": "\ue0b0",
"properties": {
"template": " \ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} "
},
"style": "powerline", "style": "powerline",
"template": " \ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} ",
"type": "node" "type": "node"
}, },
{ {
"background": "#ffff66", "background": "#ffff66",
"foreground": "#193549", "foreground": "#193549",
"powerline_symbol": "\ue0b0", "powerline_symbol": "\ue0b0",
"properties": {
"template": " \uf0e7 "
},
"style": "powerline", "style": "powerline",
"template": " \uf0e7 ",
"type": "root" "type": "root"
}, },
{ {
"background": "#0077c2", "background": "#0077c2",
"foreground": "#ffffff", "foreground": "#ffffff",
"powerline_symbol": "\ue0b0", "powerline_symbol": "\ue0b0",
"properties": {
"template": " \ufd31 {{.Context}} :: {{if .Namespace}}{{.Namespace}}{{else}}default{{end}} "
},
"style": "powerline", "style": "powerline",
"template": " \ufd31 {{.Context}} :: {{if .Namespace}}{{.Namespace}}{{else}}default{{end}} ",
"type": "kubectl" "type": "kubectl"
}, },
{ {
@ -102,10 +92,10 @@
"foreground": "#ffffff", "foreground": "#ffffff",
"leading_diamond": "<transparent,background>\ue0b0</>", "leading_diamond": "<transparent,background>\ue0b0</>",
"properties": { "properties": {
"always_enabled": true, "always_enabled": true
"template": " \ufc8d "
}, },
"style": "diamond", "style": "diamond",
"template": " \ufc8d ",
"trailing_diamond": "\ue0b0", "trailing_diamond": "\ue0b0",
"type": "exit" "type": "exit"
} }
@ -118,10 +108,8 @@
"segments": [ "segments": [
{ {
"foreground": "#007ACC", "foreground": "#007ACC",
"properties": {
"template": "\u279c "
},
"style": "plain", "style": "plain",
"template": "\u279c ",
"type": "text" "type": "text"
} }
], ],
@ -129,5 +117,5 @@
} }
], ],
"final_space": true, "final_space": true,
"version": 1 "version": 2
} }

View file

@ -8,10 +8,8 @@
"background": "#29315A", "background": "#29315A",
"foreground": "#E64747", "foreground": "#E64747",
"leading_diamond": "\ue0b6", "leading_diamond": "\ue0b6",
"properties": {
"template": "{{ .UserName }}"
},
"style": "diamond", "style": "diamond",
"template": "{{ .UserName }}",
"trailing_diamond": "\ue0b4 ", "trailing_diamond": "\ue0b4 ",
"type": "session" "type": "session"
}, },
@ -20,10 +18,10 @@
"foreground": "#3EC669", "foreground": "#3EC669",
"leading_diamond": "\ue0b6", "leading_diamond": "\ue0b6",
"properties": { "properties": {
"style": "folder", "style": "folder"
"template": "\ue5ff {{ .Path }}"
}, },
"style": "diamond", "style": "diamond",
"template": "\ue5ff {{ .Path }}",
"trailing_diamond": "\ue0b4", "trailing_diamond": "\ue0b4",
"type": "path" "type": "path"
}, },
@ -32,10 +30,10 @@
"foreground": "#43CCEA", "foreground": "#43CCEA",
"leading_diamond": " \ue0b6", "leading_diamond": " \ue0b6",
"properties": { "properties": {
"branch_icon": "", "branch_icon": ""
"template": "{{ .HEAD }}"
}, },
"style": "diamond", "style": "diamond",
"template": "{{ .HEAD }}",
"trailing_diamond": "\ue0b4", "trailing_diamond": "\ue0b4",
"type": "git" "type": "git"
}, },
@ -44,10 +42,10 @@
"foreground": "#E4F34A", "foreground": "#E4F34A",
"leading_diamond": " \ue0b6", "leading_diamond": " \ue0b6",
"properties": { "properties": {
"fetch_version": false, "fetch_version": false
"template": "\ue235{{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }}"
}, },
"style": "diamond", "style": "diamond",
"template": "\ue235{{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }}",
"trailing_diamond": "\ue0b4", "trailing_diamond": "\ue0b4",
"type": "python" "type": "python"
}, },
@ -56,10 +54,10 @@
"foreground": "#7FD5EA", "foreground": "#7FD5EA",
"leading_diamond": " \ue0b6", "leading_diamond": " \ue0b6",
"properties": { "properties": {
"fetch_version": false, "fetch_version": false
"template": "\ufcd1{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}"
}, },
"style": "diamond", "style": "diamond",
"template": "\ufcd1{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}",
"trailing_diamond": "\ue0b4", "trailing_diamond": "\ue0b4",
"type": "go" "type": "go"
}, },
@ -68,10 +66,10 @@
"foreground": "#42E66C", "foreground": "#42E66C",
"leading_diamond": " \ue0b6", "leading_diamond": " \ue0b6",
"properties": { "properties": {
"fetch_version": false, "fetch_version": false
"template": "\ue718{{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }}"
}, },
"style": "diamond", "style": "diamond",
"template": "\ue718{{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }}",
"trailing_diamond": "\ue0b4", "trailing_diamond": "\ue0b4",
"type": "node" "type": "node"
}, },
@ -80,10 +78,10 @@
"foreground": "#E64747", "foreground": "#E64747",
"leading_diamond": " \ue0b6", "leading_diamond": " \ue0b6",
"properties": { "properties": {
"fetch_version": false, "fetch_version": false
"template": "\ue791{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}"
}, },
"style": "diamond", "style": "diamond",
"template": "\ue791{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}",
"trailing_diamond": "\ue0b4", "trailing_diamond": "\ue0b4",
"type": "ruby" "type": "ruby"
}, },
@ -92,10 +90,10 @@
"foreground": "#E64747", "foreground": "#E64747",
"leading_diamond": " \ue0b6", "leading_diamond": " \ue0b6",
"properties": { "properties": {
"fetch_version": false, "fetch_version": false
"template": "\ue738{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}"
}, },
"style": "diamond", "style": "diamond",
"template": "\ue738{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}",
"trailing_diamond": "\ue0b4", "trailing_diamond": "\ue0b4",
"type": "java" "type": "java"
}, },
@ -104,10 +102,10 @@
"foreground": "#9B6BDF", "foreground": "#9B6BDF",
"leading_diamond": " \ue0b6", "leading_diamond": " \ue0b6",
"properties": { "properties": {
"fetch_version": false, "fetch_version": false
"template": "\ue624{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} "
}, },
"style": "diamond", "style": "diamond",
"template": "\ue624{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ",
"trailing_diamond": "\ue0b4", "trailing_diamond": "\ue0b4",
"type": "julia" "type": "julia"
}, },
@ -123,10 +121,10 @@
"properties": { "properties": {
"charged_icon": "• ", "charged_icon": "• ",
"charging_icon": "\u21e1 ", "charging_icon": "\u21e1 ",
"discharging_icon": "\u21e3 ", "discharging_icon": "\u21e3 "
"template": "{{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }}"
}, },
"style": "diamond", "style": "diamond",
"template": "{{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }}",
"trailing_diamond": "\ue0b4", "trailing_diamond": "\ue0b4",
"type": "battery" "type": "battery"
} }
@ -143,10 +141,10 @@
"leading_diamond": "\ue0b6", "leading_diamond": "\ue0b6",
"properties": { "properties": {
"style": "austin", "style": "austin",
"template": "{{ .FormattedMs }}",
"threshold": 150 "threshold": 150
}, },
"style": "diamond", "style": "diamond",
"template": "{{ .FormattedMs }}",
"trailing_diamond": "\ue0b4 ", "trailing_diamond": "\ue0b4 ",
"type": "executiontime" "type": "executiontime"
}, },
@ -154,10 +152,8 @@
"background": "#29315A", "background": "#29315A",
"foreground": "#7FD5EA", "foreground": "#7FD5EA",
"leading_diamond": "\ue0b6", "leading_diamond": "\ue0b6",
"properties": {
"template": "\u276f"
},
"style": "diamond", "style": "diamond",
"template": "\u276f",
"trailing_diamond": "\ue0b4", "trailing_diamond": "\ue0b4",
"type": "text" "type": "text"
} }
@ -166,5 +162,5 @@
} }
], ],
"final_space": true, "final_space": true,
"version": 1 "version": 2
} }

View file

@ -9,10 +9,10 @@
"foreground": "#3EC669", "foreground": "#3EC669",
"leading_diamond": "\ue0b6", "leading_diamond": "\ue0b6",
"properties": { "properties": {
"style": "folder", "style": "folder"
"template": "\ue5ff {{ .Path }}"
}, },
"style": "diamond", "style": "diamond",
"template": "\ue5ff {{ .Path }}",
"trailing_diamond": "\ue0b4", "trailing_diamond": "\ue0b4",
"type": "path" "type": "path"
}, },
@ -30,10 +30,10 @@
"branch_max_length": 25, "branch_max_length": 25,
"fetch_stash_count": true, "fetch_stash_count": true,
"fetch_status": true, "fetch_status": true,
"fetch_upstream_icon": true, "fetch_upstream_icon": true
"template": " {{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} "
}, },
"style": "diamond", "style": "diamond",
"template": " {{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} ",
"trailing_diamond": "\ue0b4", "trailing_diamond": "\ue0b4",
"type": "git" "type": "git"
}, },
@ -42,10 +42,10 @@
"foreground": "#E4F34A", "foreground": "#E4F34A",
"leading_diamond": " \ue0b6", "leading_diamond": " \ue0b6",
"properties": { "properties": {
"fetch_version": false, "fetch_version": false
"template": "\ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }}"
}, },
"style": "diamond", "style": "diamond",
"template": "\ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }}",
"trailing_diamond": "\ue0b4", "trailing_diamond": "\ue0b4",
"type": "python" "type": "python"
}, },
@ -54,10 +54,10 @@
"foreground": "#7FD5EA", "foreground": "#7FD5EA",
"leading_diamond": " \ue0b6", "leading_diamond": " \ue0b6",
"properties": { "properties": {
"fetch_version": false, "fetch_version": false
"template": "\ufcd1{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}"
}, },
"style": "diamond", "style": "diamond",
"template": "\ufcd1{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}",
"trailing_diamond": "\ue0b4", "trailing_diamond": "\ue0b4",
"type": "go" "type": "go"
}, },
@ -66,10 +66,10 @@
"foreground": "#42E66C", "foreground": "#42E66C",
"leading_diamond": " \ue0b6", "leading_diamond": " \ue0b6",
"properties": { "properties": {
"fetch_version": false, "fetch_version": false
"template": "\ue718{{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }}"
}, },
"style": "diamond", "style": "diamond",
"template": "\ue718{{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }}",
"trailing_diamond": "\ue0b4", "trailing_diamond": "\ue0b4",
"type": "node" "type": "node"
}, },
@ -78,10 +78,10 @@
"foreground": "#E64747", "foreground": "#E64747",
"leading_diamond": " \ue0b6", "leading_diamond": " \ue0b6",
"properties": { "properties": {
"fetch_version": false, "fetch_version": false
"template": "\ue791{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}"
}, },
"style": "diamond", "style": "diamond",
"template": "\ue791{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}",
"trailing_diamond": "\ue0b4", "trailing_diamond": "\ue0b4",
"type": "ruby" "type": "ruby"
}, },
@ -90,10 +90,10 @@
"foreground": "#E64747", "foreground": "#E64747",
"leading_diamond": " \ue0b6", "leading_diamond": " \ue0b6",
"properties": { "properties": {
"fetch_version": false, "fetch_version": false
"template": "\ue738{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}"
}, },
"style": "diamond", "style": "diamond",
"template": "\ue738{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}",
"trailing_diamond": "\ue0b4", "trailing_diamond": "\ue0b4",
"type": "java" "type": "java"
}, },
@ -102,10 +102,10 @@
"foreground": "#9B6BDF", "foreground": "#9B6BDF",
"leading_diamond": " \ue0b6", "leading_diamond": " \ue0b6",
"properties": { "properties": {
"fetch_version": false, "fetch_version": false
"template": "\ue624{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} "
}, },
"style": "diamond", "style": "diamond",
"template": "\ue624{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ",
"trailing_diamond": "\ue0b4", "trailing_diamond": "\ue0b4",
"type": "julia" "type": "julia"
}, },
@ -121,10 +121,10 @@
"properties": { "properties": {
"charged_icon": "• ", "charged_icon": "• ",
"charging_icon": "\u21e1 ", "charging_icon": "\u21e1 ",
"discharging_icon": "\u21e3 ", "discharging_icon": "\u21e3 "
"template": "{{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }}"
}, },
"style": "diamond", "style": "diamond",
"template": "{{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }}",
"trailing_diamond": "\ue0b4", "trailing_diamond": "\ue0b4",
"type": "battery" "type": "battery"
} }
@ -141,10 +141,10 @@
"leading_diamond": "\ue0b6", "leading_diamond": "\ue0b6",
"properties": { "properties": {
"style": "austin", "style": "austin",
"template": "{{ .FormattedMs }}",
"threshold": 150 "threshold": 150
}, },
"style": "diamond", "style": "diamond",
"template": "{{ .FormattedMs }}",
"trailing_diamond": "\ue0b4 ", "trailing_diamond": "\ue0b4 ",
"type": "executiontime" "type": "executiontime"
}, },
@ -152,10 +152,8 @@
"background": "#29315A", "background": "#29315A",
"foreground": "#E64747", "foreground": "#E64747",
"leading_diamond": "\ue0b6", "leading_diamond": "\ue0b6",
"properties": {
"template": "{{ .UserName }} \u276f"
},
"style": "diamond", "style": "diamond",
"template": "{{ .UserName }} \u276f",
"trailing_diamond": "\ue0b4", "trailing_diamond": "\ue0b4",
"type": "text" "type": "text"
} }
@ -164,5 +162,5 @@
} }
], ],
"final_space": true, "final_space": true,
"version": 1 "version": 2
} }

View file

@ -9,10 +9,10 @@
"foreground": "#3EC669", "foreground": "#3EC669",
"leading_diamond": "\ue0b6", "leading_diamond": "\ue0b6",
"properties": { "properties": {
"style": "folder", "style": "folder"
"template": "\ue5ff {{ .Path }}"
}, },
"style": "diamond", "style": "diamond",
"template": "\ue5ff {{ .Path }}",
"trailing_diamond": "\ue0b4", "trailing_diamond": "\ue0b4",
"type": "path" "type": "path"
}, },
@ -21,10 +21,10 @@
"foreground": "#43CCEA", "foreground": "#43CCEA",
"leading_diamond": " \ue0b6", "leading_diamond": " \ue0b6",
"properties": { "properties": {
"branch_icon": "", "branch_icon": ""
"template": "{{ .HEAD }}"
}, },
"style": "diamond", "style": "diamond",
"template": "{{ .HEAD }}",
"trailing_diamond": "\ue0b4", "trailing_diamond": "\ue0b4",
"type": "git" "type": "git"
}, },
@ -33,10 +33,10 @@
"foreground": "#E4F34A", "foreground": "#E4F34A",
"leading_diamond": " \ue0b6", "leading_diamond": " \ue0b6",
"properties": { "properties": {
"fetch_version": false, "fetch_version": false
"template": "\ue235{{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }}"
}, },
"style": "diamond", "style": "diamond",
"template": "\ue235{{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }}",
"trailing_diamond": "\ue0b4", "trailing_diamond": "\ue0b4",
"type": "python" "type": "python"
}, },
@ -45,10 +45,10 @@
"foreground": "#7FD5EA", "foreground": "#7FD5EA",
"leading_diamond": " \ue0b6", "leading_diamond": " \ue0b6",
"properties": { "properties": {
"fetch_version": false, "fetch_version": false
"template": "\ufcd1{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}"
}, },
"style": "diamond", "style": "diamond",
"template": "\ufcd1{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}",
"trailing_diamond": "\ue0b4", "trailing_diamond": "\ue0b4",
"type": "go" "type": "go"
}, },
@ -57,10 +57,10 @@
"foreground": "#42E66C", "foreground": "#42E66C",
"leading_diamond": " \ue0b6", "leading_diamond": " \ue0b6",
"properties": { "properties": {
"fetch_version": false, "fetch_version": false
"template": "\ue718{{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }}"
}, },
"style": "diamond", "style": "diamond",
"template": "\ue718{{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }}",
"trailing_diamond": "\ue0b4", "trailing_diamond": "\ue0b4",
"type": "node" "type": "node"
}, },
@ -69,10 +69,10 @@
"foreground": "#E64747", "foreground": "#E64747",
"leading_diamond": " \ue0b6", "leading_diamond": " \ue0b6",
"properties": { "properties": {
"fetch_version": false, "fetch_version": false
"template": "\ue791{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}"
}, },
"style": "diamond", "style": "diamond",
"template": "\ue791{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}",
"trailing_diamond": "\ue0b4", "trailing_diamond": "\ue0b4",
"type": "ruby" "type": "ruby"
}, },
@ -81,10 +81,10 @@
"foreground": "#E64747", "foreground": "#E64747",
"leading_diamond": " \ue0b6", "leading_diamond": " \ue0b6",
"properties": { "properties": {
"fetch_version": false, "fetch_version": false
"template": "\ue738{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}"
}, },
"style": "diamond", "style": "diamond",
"template": "\ue738{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}",
"trailing_diamond": "\ue0b4", "trailing_diamond": "\ue0b4",
"type": "java" "type": "java"
}, },
@ -93,10 +93,10 @@
"foreground": "#9B6BDF", "foreground": "#9B6BDF",
"leading_diamond": " \ue0b6", "leading_diamond": " \ue0b6",
"properties": { "properties": {
"fetch_version": false, "fetch_version": false
"template": "\ue624{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}"
}, },
"style": "diamond", "style": "diamond",
"template": "\ue624{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}",
"trailing_diamond": "\ue0b4", "trailing_diamond": "\ue0b4",
"type": "julia" "type": "julia"
}, },
@ -112,10 +112,10 @@
"properties": { "properties": {
"charged_icon": "\u25cf ", "charged_icon": "\u25cf ",
"charging_icon": "\u21e1 ", "charging_icon": "\u21e1 ",
"discharging_icon": "\u21e3 ", "discharging_icon": "\u21e3 "
"template": "{{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }}"
}, },
"style": "diamond", "style": "diamond",
"template": "{{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }}",
"trailing_diamond": "\ue0b4", "trailing_diamond": "\ue0b4",
"type": "battery" "type": "battery"
} }
@ -129,10 +129,8 @@
"background": "#424242", "background": "#424242",
"foreground": "#9B6BDF", "foreground": "#9B6BDF",
"leading_diamond": "\ue0b6", "leading_diamond": "\ue0b6",
"properties": {
"template": "{{ .UserName }} \u276f"
},
"style": "diamond", "style": "diamond",
"template": "{{ .UserName }} \u276f",
"trailing_diamond": "\ue0b4 ", "trailing_diamond": "\ue0b4 ",
"type": "session" "type": "session"
} }
@ -140,5 +138,5 @@
"type": "prompt" "type": "prompt"
} }
], ],
"version": 1 "version": 2
} }

View file

@ -7,20 +7,18 @@
{ {
"background": "#003543", "background": "#003543",
"foreground": "#ffffff", "foreground": "#ffffff",
"properties": {
"template": " \uf64f {{ .CurrentDate | date .Format }} "
},
"style": "plain", "style": "plain",
"template": " \uf64f {{ .CurrentDate | date .Format }} ",
"type": "time" "type": "time"
}, },
{ {
"background": "#83769c", "background": "#83769c",
"foreground": "#ffffff", "foreground": "#ffffff",
"properties": { "properties": {
"always_enabled": true, "always_enabled": true
"template": " \ufa1e{{ .FormattedMs }} "
}, },
"style": "plain", "style": "plain",
"template": " \ufa1e{{ .FormattedMs }} ",
"type": "executiontime" "type": "executiontime"
} }
], ],
@ -33,10 +31,10 @@
"background": "#61AFEF", "background": "#61AFEF",
"foreground": "#ffffff", "foreground": "#ffffff",
"properties": { "properties": {
"display_host": false, "display_host": false
"template": "{{if .Root}} \uf0e7 {{.UserName}} {{else}} {{.UserName}} {{end}}"
}, },
"style": "diamond", "style": "diamond",
"template": "{{if .Root}} \uf0e7 {{.UserName}} {{else}} {{.UserName}} {{end}}",
"trailing_diamond": "\ue0b0", "trailing_diamond": "\ue0b0",
"type": "session" "type": "session"
}, },
@ -48,20 +46,18 @@
"folder_icon": "\uf115", "folder_icon": "\uf115",
"folder_separator_icon": " \ue0b1 ", "folder_separator_icon": " \ue0b1 ",
"max_depth": 2, "max_depth": 2,
"style": "agnoster_short", "style": "agnoster_short"
"template": " {{ .Path }} "
}, },
"style": "powerline", "style": "powerline",
"template": " {{ .Path }} ",
"type": "path" "type": "path"
}, },
{ {
"background": "#95ffa4", "background": "#95ffa4",
"foreground": "#193549", "foreground": "#193549",
"powerline_symbol": "\ue0b0", "powerline_symbol": "\ue0b0",
"properties": {
"template": " {{ .HEAD }} "
},
"style": "powerline", "style": "powerline",
"template": " {{ .HEAD }} ",
"type": "git" "type": "git"
} }
], ],
@ -70,5 +66,5 @@
], ],
"console_title_template": "{{if .Root}} \u26a1 {{end}}{{.UserName}} \u2794 📁{{.Folder}}", "console_title_template": "{{if .Root}} \u26a1 {{end}}{{.UserName}} \u2794 📁{{.Folder}}",
"final_space": true, "final_space": true,
"version": 1 "version": 2
} }

View file

@ -8,10 +8,8 @@
"background": "#E36464", "background": "#E36464",
"foreground": "#fff", "foreground": "#fff",
"leading_diamond": "\ue0b6", "leading_diamond": "\ue0b6",
"properties": {
"template": "{{ .UserName }} "
},
"style": "diamond", "style": "diamond",
"template": "{{ .UserName }} ",
"trailing_diamond": "\ue0c6", "trailing_diamond": "\ue0c6",
"type": "session" "type": "session"
}, },
@ -20,10 +18,10 @@
"foreground": "#fff", "foreground": "#fff",
"leading_diamond": "\ue0c7", "leading_diamond": "\ue0c7",
"properties": { "properties": {
"style": "folder", "style": "folder"
"template": " {{ .Path }} "
}, },
"style": "diamond", "style": "diamond",
"template": " {{ .Path }} ",
"trailing_diamond": "\ue0c6", "trailing_diamond": "\ue0c6",
"type": "path" "type": "path"
}, },
@ -32,10 +30,10 @@
"foreground": "#fff", "foreground": "#fff",
"leading_diamond": "\ue0c7", "leading_diamond": "\ue0c7",
"properties": { "properties": {
"branch_icon": "", "branch_icon": ""
"template": " git({{ .HEAD }}) "
}, },
"style": "diamond", "style": "diamond",
"template": " git({{ .HEAD }}) ",
"trailing_diamond": "\ue0c6", "trailing_diamond": "\ue0c6",
"type": "git" "type": "git"
}, },
@ -44,10 +42,10 @@
"foreground": "#fff", "foreground": "#fff",
"leading_diamond": "\ue0c7", "leading_diamond": "\ue0c7",
"properties": { "properties": {
"template": " {{ .CurrentDate | date .Format }} ",
"time_format": "15:04" "time_format": "15:04"
}, },
"style": "diamond", "style": "diamond",
"template": " {{ .CurrentDate | date .Format }} ",
"trailing_diamond": "\ue0c6", "trailing_diamond": "\ue0c6",
"type": "time" "type": "time"
} }
@ -56,5 +54,5 @@
} }
], ],
"final_space": true, "final_space": true,
"version": 1 "version": 2
} }

View file

@ -8,20 +8,18 @@
"background": "#07585c", "background": "#07585c",
"foreground": "#ffffff", "foreground": "#ffffff",
"leading_diamond": "\ue0b6", "leading_diamond": "\ue0b6",
"properties": {
"template": " {{ .UserName }}@{{ .HostName }} "
},
"style": "diamond", "style": "diamond",
"template": " {{ .UserName }}@{{ .HostName }} ",
"type": "session" "type": "session"
}, },
{ {
"background": "#3e9022", "background": "#3e9022",
"foreground": "#ffffff", "foreground": "#ffffff",
"properties": { "properties": {
"style": "folder", "style": "folder"
"template": " \ue5ff {{ .Path }} "
}, },
"style": "plain", "style": "plain",
"template": " \ue5ff {{ .Path }} ",
"type": "path" "type": "path"
}, },
{ {
@ -29,10 +27,10 @@
"foreground": "#ffffff", "foreground": "#ffffff",
"properties": { "properties": {
"branch_icon": "", "branch_icon": "",
"fetch_upstream_icon": true, "fetch_upstream_icon": true
"template": " {{ .UpstreamIcon }}{{ .HEAD }} "
}, },
"style": "plain", "style": "plain",
"template": " {{ .UpstreamIcon }}{{ .HEAD }} ",
"type": "git" "type": "git"
}, },
{ {
@ -42,10 +40,10 @@
"paused_icon": "\uf8e3 ", "paused_icon": "\uf8e3 ",
"playing_icon": "\ue602 ", "playing_icon": "\ue602 ",
"stopped_icon": "\uf04d ", "stopped_icon": "\uf04d ",
"template": " \uf9c6 {{ .Icon }}{{ if ne .Status \"stopped\" }}{{ .Artist }} - {{ .Track }}{{ end }} ",
"track_separator": " - " "track_separator": " - "
}, },
"style": "plain", "style": "plain",
"template": " \uf9c6 {{ .Icon }}{{ if ne .Status \"stopped\" }}{{ .Artist }} - {{ .Track }}{{ end }} ",
"type": "spotify" "type": "spotify"
}, },
{ {
@ -55,10 +53,10 @@
], ],
"foreground": "#ffffff", "foreground": "#ffffff",
"properties": { "properties": {
"always_enabled": true, "always_enabled": true
"template": " \uf7d4 "
}, },
"style": "diamond", "style": "diamond",
"template": " \uf7d4 ",
"trailing_diamond": "\ue0b4", "trailing_diamond": "\ue0b4",
"type": "exit" "type": "exit"
} }
@ -67,5 +65,5 @@
} }
], ],
"final_space": true, "final_space": true,
"version": 1 "version": 2
} }

View file

@ -11,11 +11,11 @@
"leading_diamond": "\ue0b2", "leading_diamond": "\ue0b2",
"properties": { "properties": {
"macos": "\uf179 ", "macos": "\uf179 ",
"template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}}",
"ubuntu": "\uf31b ", "ubuntu": "\uf31b ",
"windows": "\uf871 " "windows": "\uf871 "
}, },
"style": "diamond", "style": "diamond",
"template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}}",
"trailing_diamond": "<transparent,#FEF5ED>\ue0b2</>", "trailing_diamond": "<transparent,#FEF5ED>\ue0b2</>",
"type": "os" "type": "os"
}, },
@ -23,10 +23,8 @@
"background": "#FEF5ED", "background": "#FEF5ED",
"foreground": "#011627", "foreground": "#011627",
"leading_diamond": "\ue0b2", "leading_diamond": "\ue0b2",
"properties": {
"template": "\uf489 {{ .Name }}"
},
"style": "diamond", "style": "diamond",
"template": "\uf489 {{ .Name }}",
"trailing_diamond": "<transparent,#FEF5ED>\ue0b2</>", "trailing_diamond": "<transparent,#FEF5ED>\ue0b2</>",
"type": "shell" "type": "shell"
}, },
@ -34,19 +32,15 @@
"background": "#516BEB", "background": "#516BEB",
"foreground": "#ffffff", "foreground": "#ffffff",
"leading_diamond": "\ue0b2", "leading_diamond": "\ue0b2",
"properties": {
"template": "\uf85a CPU: {{ round .PhysicalPercentUsed .Precision }}% | "
},
"style": "diamond", "style": "diamond",
"template": "\uf85a CPU: {{ round .PhysicalPercentUsed .Precision }}% | ",
"type": "sysinfo" "type": "sysinfo"
}, },
{ {
"background": "#516BEB", "background": "#516BEB",
"foreground": "#ffffff", "foreground": "#ffffff",
"properties": {
"template": "MEM: {{ (div ((sub .PhysicalTotalMemory .PhysicalFreeMemory)|float64) 1000000000.0) }}/{{ (div .PhysicalTotalMemory 1000000000.0) }}GB \uf85a "
},
"style": "diamond", "style": "diamond",
"template": "MEM: {{ (div ((sub .PhysicalTotalMemory .PhysicalFreeMemory)|float64) 1000000000.0) }}/{{ (div .PhysicalTotalMemory 1000000000.0) }}GB \uf85a ",
"trailing_diamond": "<transparent,#516BEB>\ue0b2</>", "trailing_diamond": "<transparent,#516BEB>\ue0b2</>",
"type": "sysinfo" "type": "sysinfo"
}, },
@ -56,10 +50,10 @@
"leading_diamond": "\ue0b2", "leading_diamond": "\ue0b2",
"properties": { "properties": {
"style": "roundrock", "style": "roundrock",
"template": " {{ .FormattedMs }} ",
"threshold": 0 "threshold": 0
}, },
"style": "diamond", "style": "diamond",
"template": " {{ .FormattedMs }} ",
"trailing_diamond": "\ue0b0", "trailing_diamond": "\ue0b0",
"type": "executiontime" "type": "executiontime"
} }
@ -78,10 +72,10 @@
"fetch_stash_count": true, "fetch_stash_count": true,
"fetch_status": true, "fetch_status": true,
"fetch_upstream_icon": true, "fetch_upstream_icon": true,
"fetch_worktree_count": true, "fetch_worktree_count": true
"template": " {{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} "
}, },
"style": "diamond", "style": "diamond",
"template": " {{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} ",
"trailing_diamond": "\ue0b0", "trailing_diamond": "\ue0b0",
"type": "git" "type": "git"
} }
@ -93,35 +87,31 @@
"newline": true, "newline": true,
"segments": [ "segments": [
{ {
"properties": {
"template": "\u256d\u2500"
},
"style": "plain", "style": "plain",
"template": "\u256d\u2500",
"type": "text" "type": "text"
}, },
{ {
"properties": { "properties": {
"template": " \u2665 {{ .CurrentDate | date .Format }} |",
"time_format": "15:04" "time_format": "15:04"
}, },
"style": "plain", "style": "plain",
"template": " \u2665 {{ .CurrentDate | date .Format }} |",
"type": "time" "type": "time"
}, },
{ {
"properties": {
"template": " \uf292 "
},
"style": "plain", "style": "plain",
"template": " \uf292 ",
"type": "root" "type": "root"
}, },
{ {
"properties": { "properties": {
"folder_icon": "\uf07b ", "folder_icon": "\uf07b ",
"folder_separator_icon": " \uf554 ", "folder_separator_icon": " \uf554 ",
"home_icon": "\uf7db ", "home_icon": "\uf7db "
"template": " {{ .Path }} "
}, },
"style": "plain", "style": "plain",
"template": " {{ .Path }} ",
"type": "path" "type": "path"
} }
], ],
@ -133,10 +123,10 @@
"segments": [ "segments": [
{ {
"properties": { "properties": {
"always_enabled": true, "always_enabled": true
"template": "\u2570\u2500 "
}, },
"style": "plain", "style": "plain",
"template": "\u2570\u2500 ",
"type": "exit" "type": "exit"
} }
], ],
@ -150,5 +140,5 @@
"foreground": "#FEF5ED", "foreground": "#FEF5ED",
"template": "\ue285 " "template": "\ue285 "
}, },
"version": 1 "version": 2
} }

View file

@ -8,10 +8,8 @@
"background": "#c386f1", "background": "#c386f1",
"foreground": "#ffffff", "foreground": "#ffffff",
"leading_diamond": "\ue0b6", "leading_diamond": "\ue0b6",
"properties": {
"template": " {{ if .SSHSession }}\uf817 {{ end }}{{ .UserName }}@{{ .HostName }} "
},
"style": "diamond", "style": "diamond",
"template": " {{ if .SSHSession }}\uf817 {{ end }}{{ .UserName }}@{{ .HostName }} ",
"trailing_diamond": "\ue0b0", "trailing_diamond": "\ue0b0",
"type": "session" "type": "session"
}, },
@ -20,10 +18,10 @@
"foreground": "#ffffff", "foreground": "#ffffff",
"powerline_symbol": "\ue0b0", "powerline_symbol": "\ue0b0",
"properties": { "properties": {
"style": "folder", "style": "folder"
"template": " \uf07b {{ .Path }} "
}, },
"style": "powerline", "style": "powerline",
"template": " \uf07b {{ .Path }} ",
"type": "path" "type": "path"
}, },
{ {
@ -40,10 +38,10 @@
"branch_max_length": 25, "branch_max_length": 25,
"fetch_stash_count": true, "fetch_stash_count": true,
"fetch_status": true, "fetch_status": true,
"fetch_upstream_icon": true, "fetch_upstream_icon": true
"template": " {{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} "
}, },
"style": "powerline", "style": "powerline",
"template": " {{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} ",
"type": "git" "type": "git"
}, },
{ {
@ -54,10 +52,10 @@
"foreground": "#ffffff", "foreground": "#ffffff",
"leading_diamond": "<transparent,background>\ue0b0</>", "leading_diamond": "<transparent,background>\ue0b0</>",
"properties": { "properties": {
"always_enabled": true, "always_enabled": true
"template": " \ue23a {{ if gt .Code 0 }}\uf00d {{ .Meaning }}{{ else }}\uf42e{{ end }} "
}, },
"style": "diamond", "style": "diamond",
"template": " \ue23a {{ if gt .Code 0 }}\uf00d {{ .Meaning }}{{ else }}\uf42e{{ end }} ",
"trailing_diamond": "\ue0b4", "trailing_diamond": "\ue0b4",
"type": "exit" "type": "exit"
} }
@ -70,10 +68,8 @@
{ {
"background": "#0077c2", "background": "#0077c2",
"foreground": "#ffffff", "foreground": "#ffffff",
"properties": {
"template": "<#0077c2,transparent>\ue0b6</> \uf489 {{ .Name }} <transparent,#0077c2>\ue0b2</>"
},
"style": "plain", "style": "plain",
"template": "<#0077c2,transparent>\ue0b6</> \uf489 {{ .Name }} <transparent,#0077c2>\ue0b2</>",
"type": "shell" "type": "shell"
}, },
{ {
@ -89,10 +85,10 @@
"properties": { "properties": {
"charged_icon": "\ue22f ", "charged_icon": "\ue22f ",
"charging_icon": "\uf583 ", "charging_icon": "\uf583 ",
"discharging_icon": "\uf582 ", "discharging_icon": "\uf582 "
"template": " {{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }}\uf295 "
}, },
"style": "powerline", "style": "powerline",
"template": " {{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }}\uf295 ",
"type": "battery" "type": "battery"
}, },
{ {
@ -100,10 +96,8 @@
"foreground": "#111111", "foreground": "#111111",
"invert_powerline": true, "invert_powerline": true,
"leading_diamond": "\ue0b2", "leading_diamond": "\ue0b2",
"properties": {
"template": " {{ .CurrentDate | date .Format }} "
},
"style": "diamond", "style": "diamond",
"template": " {{ .CurrentDate | date .Format }} ",
"trailing_diamond": "\ue0b4", "trailing_diamond": "\ue0b4",
"type": "time" "type": "time"
} }
@ -118,10 +112,8 @@
"background": "#ebcc34", "background": "#ebcc34",
"foreground": "#000000", "foreground": "#000000",
"leading_diamond": "\ue0b6", "leading_diamond": "\ue0b6",
"properties": {
"template": " \ufd31 Kubernetes {{.Context}} cluster {{if .Namespace}}- {{.Namespace}} namespace{{end}} "
},
"style": "diamond", "style": "diamond",
"template": " \ufd31 Kubernetes {{.Context}} cluster {{if .Namespace}}- {{.Namespace}} namespace{{end}} ",
"trailing_diamond": "\ue0b0", "trailing_diamond": "\ue0b0",
"type": "kubectl" "type": "kubectl"
}, },
@ -129,10 +121,8 @@
"background": "#9ec3f0", "background": "#9ec3f0",
"foreground": "#000000", "foreground": "#000000",
"powerline_symbol": "\ue0b0", "powerline_symbol": "\ue0b0",
"properties": {
"template": " \ufd03 Subscription {{ .Name }} ({{ if .EnvironmentName | contains \"AzureCloud\" }}{{ \"Global\" }}{{ else }}{{ .EnvironmentName }}{{ end }}) "
},
"style": "powerline", "style": "powerline",
"template": " \ufd03 Subscription {{ .Name }} ({{ if .EnvironmentName | contains \"AzureCloud\" }}{{ \"Global\" }}{{ else }}{{ .EnvironmentName }}{{ end }}) ",
"type": "az" "type": "az"
} }
], ],
@ -144,10 +134,8 @@
"segments": [ "segments": [
{ {
"foreground": "#E06C75", "foreground": "#E06C75",
"properties": {
"template": " ~ "
},
"style": "plain", "style": "plain",
"template": " ~ ",
"type": "text" "type": "text"
} }
], ],
@ -156,5 +144,5 @@
], ],
"console_title_template": "{{ .Shell }} in {{ .Folder }}", "console_title_template": "{{ .Shell }} in {{ .Folder }}",
"final_space": true, "final_space": true,
"version": 1 "version": 2
} }

View file

@ -8,20 +8,16 @@
"background": "#f1184c", "background": "#f1184c",
"foreground": "#242424", "foreground": "#242424",
"powerline_symbol": "\ue0c4", "powerline_symbol": "\ue0c4",
"properties": {
"template": "\uf0e7"
},
"style": "powerline", "style": "powerline",
"template": "\uf0e7",
"type": "root" "type": "root"
}, },
{ {
"background": "#282c34", "background": "#282c34",
"foreground": "#3A86FF", "foreground": "#3A86FF",
"leading_diamond": " ", "leading_diamond": " ",
"properties": {
"template": "{{ if .WSL }}WSL at {{ end }}{{.Icon}} "
},
"style": "diamond", "style": "diamond",
"template": "{{ if .WSL }}WSL at {{ end }}{{.Icon}} ",
"type": "os" "type": "os"
}, },
{ {
@ -29,10 +25,10 @@
"foreground": "#FFBB00", "foreground": "#FFBB00",
"powerline_symbol": "\ue0c4", "powerline_symbol": "\ue0c4",
"properties": { "properties": {
"template": "{{ .CurrentDate | date .Format }} ",
"time_format": "15:04:05" "time_format": "15:04:05"
}, },
"style": "powerline", "style": "powerline",
"template": "{{ .CurrentDate | date .Format }} ",
"type": "time" "type": "time"
}, },
{ {
@ -41,10 +37,10 @@
"powerline_symbol": "\ue0b0", "powerline_symbol": "\ue0b0",
"properties": { "properties": {
"folder_separator_icon": "/", "folder_separator_icon": "/",
"style": "folder", "style": "folder"
"template": "\ue5ff {{ .Path }} "
}, },
"style": "powerline", "style": "powerline",
"template": "\ue5ff {{ .Path }} ",
"type": "path" "type": "path"
}, },
{ {
@ -54,20 +50,18 @@
"properties": { "properties": {
"fetch_stash_count": true, "fetch_stash_count": true,
"fetch_status": true, "fetch_status": true,
"fetch_upstream_icon": true, "fetch_upstream_icon": true
"template": "{{ .UpstreamIcon }}{{ .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 }} "
}, },
"style": "powerline", "style": "powerline",
"template": "{{ .UpstreamIcon }}{{ .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 }} ",
"type": "git" "type": "git"
}, },
{ {
"background": "#0184bc", "background": "#0184bc",
"foreground": "#ffffff", "foreground": "#ffffff",
"powerline_symbol": "\ue0c4", "powerline_symbol": "\ue0c4",
"properties": {
"template": " \ue70c {{ if .Unsupported }}\uf071{{ else }}{{ .Full }}{{ end }} "
},
"style": "powerline", "style": "powerline",
"template": " \ue70c {{ if .Unsupported }}\uf071{{ else }}{{ .Full }}{{ end }} ",
"type": "dotnet" "type": "dotnet"
}, },
{ {
@ -76,10 +70,10 @@
"powerline_symbol": "\ue0c4", "powerline_symbol": "\ue0c4",
"properties": { "properties": {
"style": "austin", "style": "austin",
"template": " <#fefefe>\ufbab</> {{ .FormattedMs }} ",
"threshold": 1 "threshold": 1
}, },
"style": "powerline", "style": "powerline",
"template": " <#fefefe>\ufbab</> {{ .FormattedMs }} ",
"type": "executiontime" "type": "executiontime"
}, },
{ {
@ -89,10 +83,8 @@
], ],
"foreground": "#242424", "foreground": "#242424",
"powerline_symbol": "\ue0b4", "powerline_symbol": "\ue0b4",
"properties": {
"template": " \uf7d4 "
},
"style": "powerline", "style": "powerline",
"template": " \uf7d4 ",
"type": "exit" "type": "exit"
} }
], ],
@ -104,10 +96,8 @@
"segments": [ "segments": [
{ {
"foreground": "#f1184c", "foreground": "#f1184c",
"properties": {
"template": "\u279c "
},
"style": "plain", "style": "plain",
"template": "\u279c ",
"type": "text" "type": "text"
} }
], ],
@ -115,5 +105,5 @@
} }
], ],
"console_title_template": "{{if .Root}}(Admin) {{end}}{{.Folder}}", "console_title_template": "{{if .Root}}(Admin) {{end}}{{.Folder}}",
"version": 1 "version": 2
} }

View file

@ -6,34 +6,26 @@
"segments": [ "segments": [
{ {
"foreground": "#ffffff", "foreground": "#ffffff",
"properties": {
"template": "<#CB4B16>\u250f[</>{{ .UserName }}<#CB4B16>]</>"
},
"style": "plain", "style": "plain",
"template": "<#CB4B16>\u250f[</>{{ .UserName }}<#CB4B16>]</>",
"type": "session" "type": "session"
}, },
{ {
"foreground": "#ffffff", "foreground": "#ffffff",
"properties": {
"template": "<#CB4B16>[</>{{ .HEAD }}<#CB4B16>]</>"
},
"style": "plain", "style": "plain",
"template": "<#CB4B16>[</>{{ .HEAD }}<#CB4B16>]</>",
"type": "git" "type": "git"
}, },
{ {
"foreground": "#ffffff", "foreground": "#ffffff",
"properties": {
"template": "<#CB4B16>[</>\uf0e7<#CB4B16>]</>"
},
"style": "plain", "style": "plain",
"template": "<#CB4B16>[</>\uf0e7<#CB4B16>]</>",
"type": "root" "type": "root"
}, },
{ {
"foreground": "#ffffff", "foreground": "#ffffff",
"properties": {
"template": "<#CB4B16>[x</>{{ .Meaning }}<#CB4B16>]</>"
},
"style": "plain", "style": "plain",
"template": "<#CB4B16>[x</>{{ .Meaning }}<#CB4B16>]</>",
"type": "exit" "type": "exit"
} }
], ],
@ -46,10 +38,10 @@
{ {
"foreground": "#ffffff", "foreground": "#ffffff",
"properties": { "properties": {
"style": "full", "style": "full"
"template": "<#CB4B16>\u2516[</>{{ .Path }}<#CB4B16>]></>"
}, },
"style": "plain", "style": "plain",
"template": "<#CB4B16>\u2516[</>{{ .Path }}<#CB4B16>]></>",
"type": "path" "type": "path"
} }
], ],
@ -57,5 +49,5 @@
} }
], ],
"final_space": true, "final_space": true,
"version": 1 "version": 2
} }

View file

@ -1,14 +1,5 @@
{ {
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"palette": {
"yellow": "#F3AE35",
"orange": "#F07623",
"blue": "#4B95E9",
"black": "#262B44",
"green": "#59C9A5",
"white": "#E0DEF4",
"red": "#D81E5B"
},
"blocks": [ "blocks": [
{ {
"alignment": "left", "alignment": "left",
@ -18,10 +9,10 @@
"foreground": "p:black", "foreground": "p:black",
"leading_diamond": "\ue0b6", "leading_diamond": "\ue0b6",
"properties": { "properties": {
"display_host": false, "display_host": false
"template": " {{ if .SSHSession }}\uf817 {{ end }}{{ .UserName }} "
}, },
"style": "diamond", "style": "diamond",
"template": " {{ if .SSHSession }}\uf817 {{ end }}{{ .UserName }} ",
"trailing_diamond": "\ue0b0", "trailing_diamond": "\ue0b0",
"type": "session" "type": "session"
}, },
@ -31,10 +22,10 @@
"powerline_symbol": "\ue0b0", "powerline_symbol": "\ue0b0",
"properties": { "properties": {
"home_icon": "~", "home_icon": "~",
"style": "folder", "style": "folder"
"template": " \uf74a {{ path .Path .Location }} "
}, },
"style": "powerline", "style": "powerline",
"template": " \uf74a {{ path .Path .Location }} ",
"type": "path" "type": "path"
}, },
{ {
@ -56,10 +47,10 @@
"branch_max_length": 25, "branch_max_length": 25,
"fetch_status": true, "fetch_status": true,
"fetch_upstream_icon": true, "fetch_upstream_icon": true,
"github_icon": "\uf7a3", "github_icon": "\uf7a3"
"template": " {{ if .UpstreamURL }}{{ url .UpstreamIcon .UpstreamURL }} {{ end }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }} "
}, },
"style": "powerline", "style": "powerline",
"template": " {{ if .UpstreamURL }}{{ url .UpstreamIcon .UpstreamURL }} {{ end }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }} ",
"type": "git" "type": "git"
}, },
{ {
@ -67,22 +58,24 @@
"foreground": "p:white", "foreground": "p:white",
"powerline_symbol": "\ue0b0", "powerline_symbol": "\ue0b0",
"properties": { "properties": {
"root_icon": "\uf0ad", "root_icon": "\uf0ad"
"template": " \uf0e7 "
}, },
"style": "powerline", "style": "powerline",
"template": " \uf0e7 ",
"type": "root" "type": "root"
}, },
{ {
"background": "p:blue", "background": "p:blue",
"background_templates": ["{{ if gt .Code 0 }}p:red{{ end }}"], "background_templates": [
"{{ if gt .Code 0 }}p:red{{ end }}"
],
"foreground": "p:white", "foreground": "p:white",
"leading_diamond": "<transparent,background>\ue0b0</>",
"properties": { "properties": {
"always_enabled": true, "always_enabled": true
"template": " {{ if gt .Code 0 }}\uf00d{{ else }}\uf00c{{ end }} "
}, },
"style": "diamond", "style": "diamond",
"leading_diamond": "<transparent,background>\ue0b0</>", "template": " {{ if gt .Code 0 }}\uf00d{{ else }}\uf00c{{ end }} ",
"trailing_diamond": "\ue0b4", "trailing_diamond": "\ue0b4",
"type": "exit" "type": "exit"
} }
@ -97,20 +90,20 @@
"properties": { "properties": {
"display_mode": "files", "display_mode": "files",
"fetch_package_manager": false, "fetch_package_manager": false,
"home_enabled": false, "home_enabled": false
"template": "\uf898 "
}, },
"style": "plain", "style": "plain",
"template": "\uf898 ",
"type": "node" "type": "node"
}, },
{ {
"background": "transparent", "background": "transparent",
"foreground": "p:blue", "foreground": "p:blue",
"properties": { "properties": {
"fetch_version": false, "fetch_version": false
"template": "\ufcd1 "
}, },
"style": "powerline", "style": "powerline",
"template": "\ufcd1 ",
"type": "go" "type": "go"
}, },
{ {
@ -119,28 +112,24 @@
"properties": { "properties": {
"display_mode": "files", "display_mode": "files",
"fetch_version": true, "fetch_version": true,
"fetch_virtual_env": false, "fetch_virtual_env": false
"template": "\ue235 "
}, },
"style": "plain", "style": "plain",
"template": "\ue235 ",
"type": "python" "type": "python"
}, },
{ {
"background": "transparent", "background": "transparent",
"foreground": "p:white", "foreground": "p:white",
"properties": {
"template": "in <p:blue><b>{{ .Name }}</b></> "
},
"style": "plain", "style": "plain",
"template": "in <p:blue><b>{{ .Name }}</b></> ",
"type": "shell" "type": "shell"
}, },
{ {
"background": "transparent", "background": "transparent",
"foreground": "p:white", "foreground": "p:white",
"properties": {
"template": "at <p:blue><b>{{ .CurrentDate | date \"15:04:05\" }}</b></>"
},
"style": "plain", "style": "plain",
"template": "at <p:blue><b>{{ .CurrentDate | date \"15:04:05\" }}</b></>",
"type": "time" "type": "time"
} }
], ],
@ -149,6 +138,15 @@
], ],
"console_title_template": "{{ .Shell }} in {{ .Folder }}", "console_title_template": "{{ .Shell }} in {{ .Folder }}",
"final_space": true, "final_space": true,
"palette": {
"black": "#262B44",
"blue": "#4B95E9",
"green": "#59C9A5",
"orange": "#F07623",
"red": "#D81E5B",
"white": "#E0DEF4",
"yellow": "#F3AE35"
},
"secondary_prompt": { "secondary_prompt": {
"background": "transparent", "background": "transparent",
"foreground": "p:black", "foreground": "p:black",
@ -160,11 +158,13 @@
"foreground": "p:white", "foreground": "p:white",
"leading_diamond": "\ue0b6", "leading_diamond": "\ue0b6",
"properties": { "properties": {
"display_default": true, "display_default": true
"template": " \ue7ad {{ .Profile }}{{ if .Region }}@{{ .Region }}{{ end }} "
}, },
"style": "diamond", "style": "diamond",
"tips": ["aws"], "template": " \ue7ad {{ .Profile }}{{ if .Region }}@{{ .Region }}{{ end }} ",
"tips": [
"aws"
],
"trailing_diamond": "\ue0b4", "trailing_diamond": "\ue0b4",
"type": "aws" "type": "aws"
}, },
@ -172,11 +172,11 @@
"background": "p:blue", "background": "p:blue",
"foreground": "p:white", "foreground": "p:white",
"leading_diamond": "\ue0b6", "leading_diamond": "\ue0b6",
"properties": {
"template": " \ufd03 {{ .Name }} "
},
"style": "diamond", "style": "diamond",
"tips": ["az"], "template": " \ufd03 {{ .Name }} ",
"tips": [
"az"
],
"trailing_diamond": "\ue0b4", "trailing_diamond": "\ue0b4",
"type": "az" "type": "az"
} }
@ -186,5 +186,5 @@
"foreground": "p:black", "foreground": "p:black",
"template": "<p:yellow,transparent>\ue0b6</><,p:yellow> {{ .Folder }} </><p:yellow,transparent>\ue0b0</> " "template": "<p:yellow,transparent>\ue0b6</><,p:yellow> {{ .Folder }} </><p:yellow,transparent>\ue0b0</> "
}, },
"version": 1 "version": 2
} }

View file

@ -6,37 +6,35 @@
"segments": [ "segments": [
{ {
"foreground": "#FFBD00", "foreground": "#FFBD00",
"properties": {
"template": "{{ .UserName }}'s "
},
"style": "plain", "style": "plain",
"template": "{{ .UserName }}'s ",
"type": "session" "type": "session"
}, },
{ {
"foreground": "#00C6F7", "foreground": "#00C6F7",
"properties": { "properties": {
"style": "folder", "style": "folder"
"template": "{{ .Path }}/ "
}, },
"style": "plain", "style": "plain",
"template": "{{ .Path }}/ ",
"type": "path" "type": "path"
}, },
{ {
"foreground": "#F62F2E", "foreground": "#F62F2E",
"properties": { "properties": {
"fetch_status": true, "fetch_status": true
"template": "<#ffffff>on</> {{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }} "
}, },
"style": "plain", "style": "plain",
"template": "<#ffffff>on</> {{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }} ",
"type": "git" "type": "git"
}, },
{ {
"foreground": "#98C379", "foreground": "#98C379",
"properties": { "properties": {
"fetch_version": true, "fetch_version": true
"template": "<#ffffff>via</> \ue781 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} "
}, },
"style": "plain", "style": "plain",
"template": "<#ffffff>via</> \ue781 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} ",
"type": "node" "type": "node"
} }
], ],
@ -47,10 +45,8 @@
"segments": [ "segments": [
{ {
"foreground": "#85C980", "foreground": "#85C980",
"properties": {
"template": "RAM:{{ (div ((sub .PhysicalTotalMemory .PhysicalFreeMemory)|float64) 1000000000.0) }}/{{ (div .PhysicalTotalMemory 1000000000.0) }}GB "
},
"style": "diamond", "style": "diamond",
"template": "RAM:{{ (div ((sub .PhysicalTotalMemory .PhysicalFreeMemory)|float64) 1000000000.0) }}/{{ (div .PhysicalTotalMemory 1000000000.0) }}GB ",
"trailing_diamond": " ", "trailing_diamond": " ",
"type": "sysinfo" "type": "sysinfo"
}, },
@ -59,10 +55,10 @@
"leading_diamond": "\u250b", "leading_diamond": "\u250b",
"properties": { "properties": {
"style": "roundrock", "style": "roundrock",
"template": " {{ .FormattedMs }} ",
"threshold": 0 "threshold": 0
}, },
"style": "diamond", "style": "diamond",
"template": " {{ .FormattedMs }} ",
"type": "executiontime" "type": "executiontime"
} }
], ],
@ -74,10 +70,8 @@
"segments": [ "segments": [
{ {
"foreground": "#FFBD00", "foreground": "#FFBD00",
"properties": {
"template": "\u2b9e "
},
"style": "plain", "style": "plain",
"template": "\u2b9e ",
"type": "text" "type": "text"
} }
], ],
@ -85,5 +79,5 @@
} }
], ],
"final_space": true, "final_space": true,
"version": 1 "version": 2
} }

View file

@ -7,58 +7,52 @@
{ {
"foreground": "#E5C07B", "foreground": "#E5C07B",
"properties": { "properties": {
"template": "[{{ .CurrentDate | date .Format }}]",
"time_format": "15:04:05" "time_format": "15:04:05"
}, },
"style": "plain", "style": "plain",
"template": "[{{ .CurrentDate | date .Format }}]",
"type": "time" "type": "time"
}, },
{ {
"foreground": "#B5B50D", "foreground": "#B5B50D",
"properties": {
"template": " \uf0e7 "
},
"style": "plain", "style": "plain",
"template": " \uf0e7 ",
"type": "root" "type": "root"
}, },
{ {
"foreground": "#61AFEF", "foreground": "#61AFEF",
"properties": { "properties": {
"style": "agnoster", "style": "agnoster"
"template": " {{ .Path }} on"
}, },
"style": "plain", "style": "plain",
"template": " {{ .Path }} on",
"type": "path" "type": "path"
}, },
{ {
"foreground": "#F3C267", "foreground": "#F3C267",
"properties": { "properties": {
"branch_gone_icon": "\u274e", "branch_gone_icon": "\u274e",
"branch_identical_icon": "\uf14a", "branch_identical_icon": "\uf14a"
"template": " {{ .HEAD }} "
}, },
"style": "plain", "style": "plain",
"template": " {{ .HEAD }} ",
"type": "git" "type": "git"
}, },
{ {
"foreground": "#C94A16", "foreground": "#C94A16",
"properties": {
"template": "x{{ .Meaning }} "
},
"style": "plain", "style": "plain",
"template": "x{{ .Meaning }} ",
"type": "exit" "type": "exit"
}, },
{ {
"foreground": "#E06C75", "foreground": "#E06C75",
"properties": {
"template": "\u276f "
},
"style": "plain", "style": "plain",
"template": "\u276f ",
"type": "text" "type": "text"
} }
], ],
"type": "prompt" "type": "prompt"
} }
], ],
"version": 1 "version": 2
} }

View file

@ -8,10 +8,8 @@
"background": "#adbccd", "background": "#adbccd",
"foreground": "#0f1225", "foreground": "#0f1225",
"leading_diamond": "\ue0b6", "leading_diamond": "\ue0b6",
"properties": {
"template": "{{ .UserName }} "
},
"style": "diamond", "style": "diamond",
"template": "{{ .UserName }} ",
"type": "session" "type": "session"
}, },
{ {
@ -19,10 +17,10 @@
"foreground": "#0f1225", "foreground": "#0f1225",
"powerline_symbol": "\ue0b0", "powerline_symbol": "\ue0b0",
"properties": { "properties": {
"style": "folder", "style": "folder"
"template": " {{ .Path }} "
}, },
"style": "powerline", "style": "powerline",
"template": " {{ .Path }} ",
"type": "path" "type": "path"
}, },
{ {
@ -33,30 +31,28 @@
"branch_icon": "", "branch_icon": "",
"fetch_stash_count": true, "fetch_stash_count": true,
"fetch_status": true, "fetch_status": true,
"fetch_upstream_icon": true, "fetch_upstream_icon": true
"template": " \u279c ({{ .UpstreamIcon }}{{ .HEAD }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }}) "
}, },
"style": "powerline", "style": "powerline",
"template": " \u279c ({{ .UpstreamIcon }}{{ .HEAD }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }}) ",
"type": "git" "type": "git"
}, },
{ {
"background": "#86BBD8", "background": "#86BBD8",
"foreground": "#ffffff", "foreground": "#ffffff",
"powerline_symbol": "\ue0b0", "powerline_symbol": "\ue0b0",
"properties": {
"template": " \ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} "
},
"style": "powerline", "style": "powerline",
"template": " \ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} ",
"type": "node" "type": "node"
}, },
{ {
"background": "#1f4b8e", "background": "#1f4b8e",
"foreground": "#ffffff", "foreground": "#ffffff",
"properties": { "properties": {
"template": " \uf9b6{{ .CurrentDate | date .Format }} ",
"time_format": "15:04" "time_format": "15:04"
}, },
"style": "diamond", "style": "diamond",
"template": " \uf9b6{{ .CurrentDate | date .Format }} ",
"trailing_diamond": "\ue0b0", "trailing_diamond": "\ue0b0",
"type": "time" "type": "time"
} }
@ -69,10 +65,8 @@
"background": "#1f4b8e", "background": "#1f4b8e",
"foreground": "#ffffff", "foreground": "#ffffff",
"leading_diamond": "\ue0b2", "leading_diamond": "\ue0b2",
"properties": {
"template": " \uf1bb {{ .Env.DAYS }} days till Christmas "
},
"style": "diamond", "style": "diamond",
"template": " \uf1bb {{ .Env.DAYS }} days till Christmas ",
"trailing_diamond": "\ue0b4", "trailing_diamond": "\ue0b4",
"type": "text" "type": "text"
} }
@ -87,5 +81,5 @@
"foreground": "#ffffff", "foreground": "#ffffff",
"template": "<#1f4b8e,transparent>\ue0b6</><#ffffff,#1f4b8e>\uf2dc</><#1f4b8e,transparent>\ue0b4</> {{ .Command }}" "template": "<#1f4b8e,transparent>\ue0b6</><#ffffff,#1f4b8e>\uf2dc</><#1f4b8e,transparent>\ue0b4</> {{ .Command }}"
}, },
"version": 1 "version": 2
} }

View file

@ -6,26 +6,20 @@
"segments": [ "segments": [
{ {
"foreground": "#ffffff", "foreground": "#ffffff",
"properties": {
"template": " {{ .Meaning }}"
},
"style": "plain", "style": "plain",
"template": " {{ .Meaning }}",
"type": "exit" "type": "exit"
}, },
{ {
"foreground": "#100e23", "foreground": "#100e23",
"properties": {
"template": " \uf0e7 "
},
"style": "plain", "style": "plain",
"template": " \uf0e7 ",
"type": "root" "type": "root"
}, },
{ {
"foreground": "#ffffff", "foreground": "#ffffff",
"properties": {
"template": " {{ .UserName }}@{{ .HostName }} "
},
"style": "plain", "style": "plain",
"template": " {{ .UserName }}@{{ .HostName }} ",
"type": "session" "type": "session"
}, },
{ {
@ -34,32 +28,28 @@
"properties": { "properties": {
"folder_icon": "\uf115", "folder_icon": "\uf115",
"folder_separator_icon": " \ue0b1 ", "folder_separator_icon": " \ue0b1 ",
"style": "full", "style": "full"
"template": "<transparent>\ue0b0</> {{ .Path }} "
}, },
"style": "plain", "style": "plain",
"template": "<transparent>\ue0b0</> {{ .Path }} ",
"type": "path" "type": "path"
}, },
{ {
"background": "#007ACC", "background": "#007ACC",
"foreground": "#ffffff", "foreground": "#ffffff",
"properties": {
"template": "<#ffffff>\ue0b1</> {{ .HEAD }} "
},
"style": "plain", "style": "plain",
"template": "<#ffffff>\ue0b1</> {{ .HEAD }} ",
"type": "git" "type": "git"
}, },
{ {
"foreground": "#007ACC", "foreground": "#007ACC",
"properties": {
"template": "\ue0b0 "
},
"style": "plain", "style": "plain",
"template": "\ue0b0 ",
"type": "text" "type": "text"
} }
], ],
"type": "prompt" "type": "prompt"
} }
], ],
"version": 1 "version": 2
} }

View file

@ -7,9 +7,6 @@
"segments": [ "segments": [
{ {
"foreground": "#ffffff", "foreground": "#ffffff",
"properties": {
"template": ""
},
"style": "plain", "style": "plain",
"type": "text" "type": "text"
} }
@ -21,20 +18,16 @@
"segments": [ "segments": [
{ {
"foreground": "#0057b7", "foreground": "#0057b7",
"properties": {
"template": "\ue0c5"
},
"style": "plain", "style": "plain",
"template": "\ue0c5",
"type": "text" "type": "text"
}, },
{ {
"background": "#0057b7", "background": "#0057b7",
"foreground": "#FBD951", "foreground": "#FBD951",
"powerline_symbol": "\ue0c4", "powerline_symbol": "\ue0c4",
"properties": {
"template": " \ue795 "
},
"style": "powerline", "style": "powerline",
"template": " \ue795 ",
"type": "text" "type": "text"
}, },
{ {
@ -42,10 +35,10 @@
"foreground": "#FBD951", "foreground": "#FBD951",
"properties": { "properties": {
"home_icon": "\uf7dd", "home_icon": "\uf7dd",
"style": "mixed", "style": "mixed"
"template": "{{ .Path }} "
}, },
"style": "diamond", "style": "diamond",
"template": "{{ .Path }} ",
"trailing_diamond": "\ue0b0", "trailing_diamond": "\ue0b0",
"type": "path" "type": "path"
}, },
@ -56,10 +49,10 @@
"properties": { "properties": {
"fetch_stash_count": true, "fetch_stash_count": true,
"fetch_status": true, "fetch_status": true,
"fetch_upstream_icon": true, "fetch_upstream_icon": true
"template": " \uf1d3 {{ .HEAD }} {{ .BranchStatus }}{{ 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}}\uf692 {{ .StashCount }}{{ end }}{{ if gt .WorktreeCount 0}} \uf1bb {{ .WorktreeCount }}{{ end }} "
}, },
"style": "powerline", "style": "powerline",
"template": " \uf1d3 {{ .HEAD }} {{ .BranchStatus }}{{ 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}}\uf692 {{ .StashCount }}{{ end }}{{ if gt .WorktreeCount 0}} \uf1bb {{ .WorktreeCount }}{{ end }} ",
"type": "git" "type": "git"
}, },
{ {
@ -75,33 +68,30 @@
"properties": { "properties": {
"fetch_stash_count": false, "fetch_stash_count": false,
"fetch_status": false, "fetch_status": false,
"fetch_upstream_icon": false, "fetch_upstream_icon": false
"template": "\uf105"
}, },
"style": "powerline", "style": "powerline",
"template": "\uf105",
"type": "git" "type": "git"
}, },
{ {
"leading_diamond": "<transparent,#49404f>\ue0b0</>", "leading_diamond": "<transparent,#49404f>\ue0b0</>",
"properties": {
"template": ""
},
"style": "plain", "style": "plain",
"trailing_diamond": "\ue0b0", "trailing_diamond": "\ue0b0",
"type": "text" "type": "text"
}, },
{ {
"background": "#ffd700",
"foreground": "#0057b7", "foreground": "#0057b7",
"foreground_templates": [ "foreground_templates": [
"{{ if gt .Code 0 }}#a30000{{ end }}" "{{ if gt .Code 0 }}#a30000{{ end }}"
], ],
"background": "#ffd700",
"leading_diamond": "<transparent,#ffd700>\ue0b0</>", "leading_diamond": "<transparent,#ffd700>\ue0b0</>",
"properties": { "properties": {
"always_enabled": true, "always_enabled": true
"template": " {{ if gt .Code 0 }}\uf421 \uf119 {{ else }}\uf469 \u2665 {{ end }}"
}, },
"style": "diamond", "style": "diamond",
"template": " {{ if gt .Code 0 }}\uf421 \uf119 {{ else }}\uf469 \u2665 {{ end }}",
"trailing_diamond": "\ue0b0", "trailing_diamond": "\ue0b0",
"type": "exit" "type": "exit"
} }
@ -115,10 +105,8 @@
"background": "#0057b7", "background": "#0057b7",
"foreground": "#FBD951", "foreground": "#FBD951",
"leading_diamond": "\ue0b6", "leading_diamond": "\ue0b6",
"properties": {
"template": " \uf0ac <#111111>\ue0b2</>"
},
"style": "diamond", "style": "diamond",
"template": " \uf0ac <#111111>\ue0b2</>",
"type": "text" "type": "text"
}, },
{ {
@ -129,10 +117,10 @@
"properties": { "properties": {
"charged_icon": "\uf583 ", "charged_icon": "\uf583 ",
"charging_icon": "\uf492 ", "charging_icon": "\uf492 ",
"discharging_icon": "\uf58c ", "discharging_icon": "\uf58c "
"template": " {{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }}% <#111111>\ue0b2</>"
}, },
"style": "diamond", "style": "diamond",
"template": " {{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }}% <#111111>\ue0b2</>",
"type": "battery" "type": "battery"
}, },
{ {
@ -141,10 +129,10 @@
"invert_powerline": true, "invert_powerline": true,
"leading_diamond": "\ue0b2", "leading_diamond": "\ue0b2",
"properties": { "properties": {
"always_enabled": true, "always_enabled": true
"template": " \uf608 {{ .FormattedMs }} <#111111>\ue0b2</>"
}, },
"style": "diamond", "style": "diamond",
"template": " \uf608 {{ .FormattedMs }} <#111111>\ue0b2</>",
"type": "executiontime" "type": "executiontime"
}, },
{ {
@ -153,10 +141,10 @@
"invert_powerline": true, "invert_powerline": true,
"leading_diamond": "\ue0b2", "leading_diamond": "\ue0b2",
"properties": { "properties": {
"template": " \uf5ef {{ .CurrentDate | date .Format }}",
"time_format": "_2,15:04" "time_format": "_2,15:04"
}, },
"style": "diamond", "style": "diamond",
"template": " \uf5ef {{ .CurrentDate | date .Format }}",
"trailing_diamond": "\ue0b4", "trailing_diamond": "\ue0b4",
"type": "time" "type": "time"
} }
@ -169,30 +157,24 @@
"segments": [ "segments": [
{ {
"foreground": "#0057b7", "foreground": "#0057b7",
"properties": {
"template": "\ue0c5"
},
"style": "plain", "style": "plain",
"template": "\ue0c5",
"type": "text" "type": "text"
}, },
{ {
"background": "#0057b7", "background": "#0057b7",
"foreground": "#ffd700", "foreground": "#ffd700",
"powerline_symbol": "\ue0c4", "powerline_symbol": "\ue0c4",
"properties": {
"template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}} "
},
"style": "powerline", "style": "powerline",
"template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}} ",
"type": "os" "type": "os"
}, },
{ {
"background": "#0057b7", "background": "#0057b7",
"foreground": "#FBD951", "foreground": "#FBD951",
"powerline_symbol": "\ue0b0", "powerline_symbol": "\ue0b0",
"properties": {
"template": "\uf0e7 "
},
"style": "powerline", "style": "powerline",
"template": "\uf0e7 ",
"type": "root" "type": "root"
}, },
{ {
@ -200,10 +182,10 @@
"foreground": "#0057b7", "foreground": "#0057b7",
"powerline_symbol": "\ue0b0", "powerline_symbol": "\ue0b0",
"properties": { "properties": {
"display_host": false, "display_host": false
"template": " {{ if .SSHSession }}\uf817 {{ end }}{{ .UserName }} "
}, },
"style": "powerline", "style": "powerline",
"template": " {{ if .SSHSession }}\uf817 {{ end }}{{ .UserName }} ",
"type": "session" "type": "session"
} }
], ],
@ -214,34 +196,26 @@
"segments": [ "segments": [
{ {
"foreground": "#0057b7", "foreground": "#0057b7",
"properties": {
"template": "\uf004"
},
"style": "plain", "style": "plain",
"template": "\uf004",
"type": "text" "type": "text"
}, },
{ {
"foreground": "#FBD951", "foreground": "#FBD951",
"properties": {
"template": "\uf004"
},
"style": "plain", "style": "plain",
"template": "\uf004",
"type": "text" "type": "text"
}, },
{ {
"foreground": "#0057b7", "foreground": "#0057b7",
"properties": {
"template": "\uf004"
},
"style": "plain", "style": "plain",
"template": "\uf004",
"type": "text" "type": "text"
}, },
{ {
"foreground": "#FBD951", "foreground": "#FBD951",
"properties": {
"template": "\uf004 Ukraine"
},
"style": "plain", "style": "plain",
"template": "\uf004 Ukraine",
"type": "text" "type": "text"
} }
], ],
@ -250,5 +224,5 @@
], ],
"console_title_template": "{{if .Root}}Admin: {{end}} {{.Folder}}", "console_title_template": "{{if .Root}}Admin: {{end}} {{.Folder}}",
"final_space": true, "final_space": true,
"version": 1 "version": 2
} }

View file

@ -8,19 +8,15 @@
"background": "#3A86FF", "background": "#3A86FF",
"foreground": "#ffffff", "foreground": "#ffffff",
"leading_diamond": "\ue0b6", "leading_diamond": "\ue0b6",
"properties": {
"template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}} "
},
"style": "diamond", "style": "diamond",
"template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}} ",
"type": "os" "type": "os"
}, },
{ {
"background": "#3A86FF", "background": "#3A86FF",
"foreground": "#ffffff", "foreground": "#ffffff",
"properties": {
"template": " {{ .UserName }}@{{ .HostName }} "
},
"style": "powerline", "style": "powerline",
"template": " {{ .UserName }}@{{ .HostName }} ",
"type": "session" "type": "session"
}, },
{ {
@ -28,10 +24,10 @@
"foreground": "#ffffff", "foreground": "#ffffff",
"powerline_symbol": "\ue0b0", "powerline_symbol": "\ue0b0",
"properties": { "properties": {
"style": "full", "style": "full"
"template": " \ue5ff {{ .Path }} "
}, },
"style": "powerline", "style": "powerline",
"template": " \ue5ff {{ .Path }} ",
"type": "path" "type": "path"
}, },
{ {
@ -39,10 +35,10 @@
"foreground": "#193549", "foreground": "#193549",
"powerline_symbol": "\ue0b0", "powerline_symbol": "\ue0b0",
"properties": { "properties": {
"template": " {{ .CurrentDate | date .Format }} ",
"time_format": "2006-01-02 15:04:05" "time_format": "2006-01-02 15:04:05"
}, },
"style": "powerline", "style": "powerline",
"template": " {{ .CurrentDate | date .Format }} ",
"type": "time" "type": "time"
}, },
{ {
@ -51,30 +47,26 @@
"powerline_symbol": "\ue0b0", "powerline_symbol": "\ue0b0",
"properties": { "properties": {
"fetch_stash_count": true, "fetch_stash_count": true,
"fetch_upstream_icon": true, "fetch_upstream_icon": true
"template": " {{ .UpstreamIcon }}{{ .HEAD }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} "
}, },
"style": "powerline", "style": "powerline",
"template": " {{ .UpstreamIcon }}{{ .HEAD }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} ",
"type": "git" "type": "git"
}, },
{ {
"background": "#6CA35E", "background": "#6CA35E",
"foreground": "#ffffff", "foreground": "#ffffff",
"powerline_symbol": "\ue0b0", "powerline_symbol": "\ue0b0",
"properties": {
"template": " \ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} "
},
"style": "powerline", "style": "powerline",
"template": " \ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} ",
"type": "node" "type": "node"
}, },
{ {
"background": "#ffff66", "background": "#ffff66",
"foreground": "#193549", "foreground": "#193549",
"powerline_symbol": "\ue0b0", "powerline_symbol": "\ue0b0",
"properties": {
"template": " \uf0e7 "
},
"style": "powerline", "style": "powerline",
"template": " \uf0e7 ",
"type": "root" "type": "root"
}, },
{ {
@ -85,10 +77,10 @@
"foreground": "#ffffff", "foreground": "#ffffff",
"leading_diamond": "<transparent,background>\ue0b0</>", "leading_diamond": "<transparent,background>\ue0b0</>",
"properties": { "properties": {
"always_enabled": true, "always_enabled": true
"template": " \uf7d4 "
}, },
"style": "diamond", "style": "diamond",
"template": " \uf7d4 ",
"trailing_diamond": "\ue0b4", "trailing_diamond": "\ue0b4",
"type": "exit" "type": "exit"
} }
@ -101,10 +93,8 @@
"segments": [ "segments": [
{ {
"foreground": "#f1184c", "foreground": "#f1184c",
"properties": {
"template": "\uf7c6 "
},
"style": "plain", "style": "plain",
"template": "\uf7c6 ",
"type": "text" "type": "text"
} }
], ],
@ -112,5 +102,5 @@
} }
], ],
"final_space": true, "final_space": true,
"version": 1 "version": 2
} }

View file

@ -7,19 +7,15 @@
{ {
"background": "#000000", "background": "#000000",
"foreground": "#dd1e1e", "foreground": "#dd1e1e",
"properties": {
"template": " \u26a1 "
},
"style": "plain", "style": "plain",
"template": " \u26a1 ",
"type": "root" "type": "root"
}, },
{ {
"background": "transparent", "background": "transparent",
"foreground": "#ffffff", "foreground": "#ffffff",
"properties": {
"template": "{{ if .WSL }}WSL at {{ end }}{{.Icon}} "
},
"style": "plain", "style": "plain",
"template": "{{ if .WSL }}WSL at {{ end }}{{.Icon}} ",
"type": "os" "type": "os"
}, },
{ {
@ -29,10 +25,10 @@
"folder_icon": "\uf6d7", "folder_icon": "\uf6d7",
"folder_separator_icon": "<transparent> \ue0bd </>", "folder_separator_icon": "<transparent> \ue0bd </>",
"home_icon": "\uf7db", "home_icon": "\uf7db",
"style": "agnoster_short", "style": "agnoster_short"
"template": " {{ .Path }} "
}, },
"style": "plain", "style": "plain",
"template": " {{ .Path }} ",
"type": "path" "type": "path"
}, },
{ {
@ -44,25 +40,25 @@
"{{ if gt .Behind 0 }}#B388FF{{ end }}" "{{ if gt .Behind 0 }}#B388FF{{ end }}"
], ],
"foreground": "#000000", "foreground": "#000000",
"leading_diamond": "<parentBackground,background>\ue0b0</>",
"properties": { "properties": {
"fetch_stash_count": true, "fetch_stash_count": true,
"fetch_status": true, "fetch_status": true
"template": " {{ .HEAD }}{{ if .Staging.Changed }}<#FF6F00> \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 }} "
}, },
"style": "diamond", "style": "diamond",
"leading_diamond": "<parentBackground,background>\ue0b0</>", "template": " {{ .HEAD }}{{ if .Staging.Changed }}<#FF6F00> \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 }} ",
"type": "git" "type": "git"
}, },
{ {
"background": "#2ba1bb", "background": "#2ba1bb",
"foreground": "#5a3d29", "foreground": "#5a3d29",
"leading_diamond": "<parentBackground,background>\ue0b0</>",
"properties": { "properties": {
"style": "dallas", "style": "dallas",
"template": " {{ .FormattedMs }}s ",
"threshold": 0 "threshold": 0
}, },
"style": "diamond", "style": "diamond",
"leading_diamond": "<parentBackground,background>\ue0b0</>", "template": " {{ .FormattedMs }}s ",
"type": "executiontime" "type": "executiontime"
}, },
{ {
@ -70,10 +66,10 @@
"foreground": "#ffffff", "foreground": "#ffffff",
"powerline_symbol": "\ue0b0", "powerline_symbol": "\ue0b0",
"properties": { "properties": {
"always_enabled": true, "always_enabled": true
"template": "{{ if gt .Code 0 }}<parentBackground,background>\ue0b0</><transparent> \uf12a</> {{ .Meaning }} <background,transparent>\ue0b0</>{{ else }}<parentBackground,transparent>\ue0b0</>{{ end }}"
}, },
"style": "plain", "style": "plain",
"template": "{{ if gt .Code 0 }}<parentBackground,background>\ue0b0</><transparent> \uf12a</> {{ .Meaning }} <background,transparent>\ue0b0</>{{ else }}<parentBackground,transparent>\ue0b0</>{{ end }}",
"type": "exit" "type": "exit"
} }
], ],
@ -86,20 +82,18 @@
"background": "#5a3d29", "background": "#5a3d29",
"foreground": "#43CCEA", "foreground": "#43CCEA",
"leading_diamond": "\ue0c5", "leading_diamond": "\ue0c5",
"properties": {
"template": " {{ if .SSHSession }}\uf817 {{ end }}{{ .UserName }}<transparent> / </>{{ .HostName }}"
},
"style": "diamond", "style": "diamond",
"template": " {{ if .SSHSession }}\uf817 {{ end }}{{ .UserName }}<transparent> / </>{{ .HostName }}",
"type": "session" "type": "session"
}, },
{ {
"background": "#5a3d29", "background": "#5a3d29",
"foreground": "#43CCEA", "foreground": "#43CCEA",
"properties": { "properties": {
"template": "<transparent> \ue0ba\ue0bc </>{{ .CurrentDate | date .Format }} ",
"time_format": "3:04:05 PM" "time_format": "3:04:05 PM"
}, },
"style": "plain", "style": "plain",
"template": "<transparent> \ue0ba\ue0bc </>{{ .CurrentDate | date .Format }} ",
"type": "time" "type": "time"
} }
], ],
@ -115,10 +109,10 @@
"{{ if gt .Code 0 }}#ff0000{{ end }}" "{{ if gt .Code 0 }}#ff0000{{ end }}"
], ],
"properties": { "properties": {
"always_enabled": true, "always_enabled": true
"template": "\u276f "
}, },
"style": "plain", "style": "plain",
"template": "\u276f ",
"type": "exit" "type": "exit"
} }
], ],
@ -127,5 +121,5 @@
], ],
"console_title_template": "{{if .Root}} \u26a1 {{end}}{{.Folder | replace \"~\" \"🏚\" }} @ {{.HostName}}", "console_title_template": "{{if .Root}} \u26a1 {{end}}{{.Folder | replace \"~\" \"🏚\" }} @ {{.HostName}}",
"osc99": true, "osc99": true,
"version": 1 "version": 2
} }

View file

@ -6,27 +6,23 @@
"segments": [ "segments": [
{ {
"foreground": "#7E46B6", "foreground": "#7E46B6",
"properties": {
"template": "{{ .UserName }} "
},
"style": "plain", "style": "plain",
"template": "{{ .UserName }} ",
"type": "session" "type": "session"
}, },
{ {
"foreground": "#ffffff", "foreground": "#ffffff",
"properties": {
"template": "in "
},
"style": "plain", "style": "plain",
"template": "in ",
"type": "text" "type": "text"
}, },
{ {
"foreground": "#87FF00", "foreground": "#87FF00",
"properties": { "properties": {
"style": "full", "style": "full"
"template": "{{ .Path }} "
}, },
"style": "plain", "style": "plain",
"template": "{{ .Path }} ",
"type": "path" "type": "path"
}, },
{ {
@ -43,23 +39,21 @@
"merge_icon": "", "merge_icon": "",
"rebase_icon": "", "rebase_icon": "",
"revert_icon": "", "revert_icon": "",
"tag_icon": "", "tag_icon": ""
"template": "<#ffffff>on</> {{ .HEAD }}{{ if .Staging.Changed }}<#87FF00> \u25cf {{ .Staging.String }}</>{{ end }}{{ if .Working.Changed }}<#D75F00> \u25cf {{ .Working.String }}</>{{ end }} "
}, },
"style": "plain", "style": "plain",
"template": "<#ffffff>on</> {{ .HEAD }}{{ if .Staging.Changed }}<#87FF00> \u25cf {{ .Staging.String }}</>{{ end }}{{ if .Working.Changed }}<#D75F00> \u25cf {{ .Working.String }}</>{{ end }} ",
"type": "git" "type": "git"
}, },
{ {
"foreground": "#D75F00", "foreground": "#D75F00",
"properties": {
"template": "λ "
},
"style": "plain", "style": "plain",
"template": "λ ",
"type": "text" "type": "text"
} }
], ],
"type": "prompt" "type": "prompt"
} }
], ],
"version": 1 "version": 2
} }

View file

@ -6,10 +6,8 @@
"segments": [ "segments": [
{ {
"foreground": "#FFFFFF", "foreground": "#FFFFFF",
"properties": {
"template": "<#0377C8># </><#0377C8>{{ .UserName }}</> <#ffffff>in</> <#4A9207>{{ .HostName }}</> "
},
"style": "plain", "style": "plain",
"template": "<#0377C8># </><#0377C8>{{ .UserName }}</> <#ffffff>in</> <#4A9207>{{ .HostName }}</> ",
"type": "session" "type": "session"
}, },
{ {
@ -17,18 +15,16 @@
"properties": { "properties": {
"folder_icon": "\uf115", "folder_icon": "\uf115",
"folder_separator_icon": " \ue0b1 ", "folder_separator_icon": " \ue0b1 ",
"style": "full", "style": "full"
"template": " {{ .Path }} "
}, },
"style": "plain", "style": "plain",
"template": " {{ .Path }} ",
"type": "path" "type": "path"
}, },
{ {
"foreground": "#B8B80A", "foreground": "#B8B80A",
"properties": {
"template": "<#ffffff>on git:</>{{ .HEAD }} "
},
"style": "plain", "style": "plain",
"template": "<#ffffff>on git:</>{{ .HEAD }} ",
"type": "git" "type": "git"
} }
], ],
@ -39,10 +35,8 @@
"segments": [ "segments": [
{ {
"foreground": "#ffffff", "foreground": "#ffffff",
"properties": {
"template": "[{{ .CurrentDate | date .Format }}]"
},
"style": "plain", "style": "plain",
"template": "[{{ .CurrentDate | date .Format }}]",
"type": "time" "type": "time"
} }
], ],
@ -54,34 +48,26 @@
"segments": [ "segments": [
{ {
"foreground": "#CECE04", "foreground": "#CECE04",
"properties": {
"template": "\uf0e7 "
},
"style": "plain", "style": "plain",
"template": "\uf0e7 ",
"type": "root" "type": "root"
}, },
{ {
"foreground": "#100e23", "foreground": "#100e23",
"properties": {
"template": "\ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }} "
},
"style": "plain", "style": "plain",
"template": "\ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }} ",
"type": "python" "type": "python"
}, },
{ {
"foreground": "#CB4B16", "foreground": "#CB4B16",
"properties": {
"template": " {{ .Meaning }} "
},
"style": "plain", "style": "plain",
"template": " {{ .Meaning }} ",
"type": "exit" "type": "exit"
}, },
{ {
"foreground": "#CC4B16", "foreground": "#CC4B16",
"properties": {
"template": "\u279c "
},
"style": "plain", "style": "plain",
"template": "\u279c ",
"type": "text" "type": "text"
} }
], ],
@ -89,5 +75,5 @@
} }
], ],
"final_space": true, "final_space": true,
"version": 1 "version": 2
} }

View file

@ -6,10 +6,8 @@
"segments": [ "segments": [
{ {
"foreground": "yellow", "foreground": "yellow",
"properties": {
"template": " \ue0a2 "
},
"style": "plain", "style": "plain",
"template": " \ue0a2 ",
"type": "root" "type": "root"
}, },
{ {
@ -17,10 +15,10 @@
"foreground": "black", "foreground": "black",
"leading_diamond": "\ue0b6", "leading_diamond": "\ue0b6",
"properties": { "properties": {
"style": "mixed", "style": "mixed"
"template": " {{ .Path }} "
}, },
"style": "diamond", "style": "diamond",
"template": " {{ .Path }} ",
"trailing_diamond": "\ue0b0", "trailing_diamond": "\ue0b0",
"type": "path" "type": "path"
}, },
@ -43,10 +41,10 @@
"merge_icon": "\u25f4 ", "merge_icon": "\u25f4 ",
"no_commits_icon": "[no commits]", "no_commits_icon": "[no commits]",
"rebase_icon": "\u2c62 ", "rebase_icon": "\u2c62 ",
"tag_icon": "\u25b6 ", "tag_icon": "\u25b6 "
"template": " {{ .HEAD }}{{ if .Staging.Changed }} {{ .Staging.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Working.Changed }} {{ .Working.String }}{{ end }} "
}, },
"style": "powerline", "style": "powerline",
"template": " {{ .HEAD }}{{ if .Staging.Changed }} {{ .Staging.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Working.Changed }} {{ .Working.String }}{{ end }} ",
"type": "git" "type": "git"
} }
], ],
@ -56,5 +54,5 @@
"console_title_template": "{{.Folder}}{{if .Root}} :: root{{end}} :: {{.Shell}}", "console_title_template": "{{.Folder}}{{if .Root}} :: root{{end}} :: {{.Shell}}",
"final_space": true, "final_space": true,
"osc99": true, "osc99": true,
"version": 1 "version": 2
} }

View file

@ -9,10 +9,10 @@
"foreground": "#ffffff", "foreground": "#ffffff",
"leading_diamond": "\ue0b6", "leading_diamond": "\ue0b6",
"properties": { "properties": {
"template": "{{ if .WSL }}WSL at {{ end }}{{.Icon}}",
"windows": "\ue62a" "windows": "\ue62a"
}, },
"style": "diamond", "style": "diamond",
"template": "{{ if .WSL }}WSL at {{ end }}{{.Icon}}",
"type": "os" "type": "os"
}, },
{ {
@ -20,20 +20,18 @@
"foreground": "#ffffff", "foreground": "#ffffff",
"powerline_symbol": "\ue0b0", "powerline_symbol": "\ue0b0",
"properties": { "properties": {
"style": "full", "style": "full"
"template": "{{ .Path }} "
}, },
"style": "powerline", "style": "powerline",
"template": "{{ .Path }} ",
"type": "path" "type": "path"
}, },
{ {
"background": "#f78fb3", "background": "#f78fb3",
"foreground": "#ffffff", "foreground": "#ffffff",
"powerline_symbol": "\ue0b0", "powerline_symbol": "\ue0b0",
"properties": {
"template": " \ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} "
},
"style": "powerline", "style": "powerline",
"template": " \ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} ",
"type": "node" "type": "node"
}, },
{ {
@ -41,10 +39,10 @@
"foreground": "#ffffff", "foreground": "#ffffff",
"powerline_symbol": "\ue0b0", "powerline_symbol": "\ue0b0",
"properties": { "properties": {
"fetch_version": false, "fetch_version": false
"template": " \ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }} "
}, },
"style": "powerline", "style": "powerline",
"template": " \ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }} ",
"type": "python" "type": "python"
}, },
{ {
@ -59,10 +57,10 @@
"powerline_symbol": "\ue0b0", "powerline_symbol": "\ue0b0",
"properties": { "properties": {
"fetch_status": true, "fetch_status": true,
"fetch_upstream_icon": true, "fetch_upstream_icon": true
"template": " {{ .UpstreamIcon }}{{ .HEAD }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }} "
}, },
"style": "powerline", "style": "powerline",
"template": " {{ .UpstreamIcon }}{{ .HEAD }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }} ",
"type": "git" "type": "git"
} }
], ],
@ -77,10 +75,10 @@
"invert_powerline": true, "invert_powerline": true,
"powerline_symbol": "\ue0b2", "powerline_symbol": "\ue0b2",
"properties": { "properties": {
"always_enabled": true, "always_enabled": true
"template": " {{ .FormattedMs }} "
}, },
"style": "powerline", "style": "powerline",
"template": " {{ .FormattedMs }} ",
"type": "executiontime" "type": "executiontime"
}, },
{ {
@ -88,10 +86,8 @@
"foreground": "#FFD700", "foreground": "#FFD700",
"invert_powerline": true, "invert_powerline": true,
"powerline_symbol": "\ue0b2", "powerline_symbol": "\ue0b2",
"properties": {
"template": " \u26a1"
},
"style": "powerline", "style": "powerline",
"template": " \u26a1",
"type": "root" "type": "root"
}, },
{ {
@ -99,20 +95,16 @@
"foreground": "#ffffff", "foreground": "#ffffff",
"invert_powerline": true, "invert_powerline": true,
"powerline_symbol": "\ue0b2", "powerline_symbol": "\ue0b2",
"properties": {
"template": " {{ .UserName }} "
},
"style": "powerline", "style": "powerline",
"template": " {{ .UserName }} ",
"type": "session" "type": "session"
}, },
{ {
"background": "#33658A", "background": "#33658A",
"foreground": "#ffffff", "foreground": "#ffffff",
"invert_powerline": true, "invert_powerline": true,
"properties": {
"template": " {{ .Name }} "
},
"style": "diamond", "style": "diamond",
"template": " {{ .Name }} ",
"trailing_diamond": "\ue0b4", "trailing_diamond": "\ue0b4",
"type": "shell" "type": "shell"
} }
@ -124,25 +116,20 @@
"newline": true, "newline": true,
"segments": [ "segments": [
{ {
"properties": {
"template": " \uf0e7 "
},
"style": "plain", "style": "plain",
"template": " \uf0e7 ",
"type": "root" "type": "root"
}, },
{ {
"foreground": "#ffffff", "foreground": "#ffffff",
"properties": {
"template": "<#69FF94>\u276f</>"
},
"style": "plain", "style": "plain",
"template": "<#69FF94>\u276f</>",
"type": "text" "type": "text"
} }
], ],
"type": "prompt" "type": "prompt"
} }
], ],
"console_title": true,
"final_space": true, "final_space": true,
"version": 1 "version": 2
} }

View file

@ -6,44 +6,38 @@
"segments": [ "segments": [
{ {
"foreground": "#FFE082", "foreground": "#FFE082",
"properties": {
"template": "@{{ .UserName }} \u279c"
},
"style": "plain", "style": "plain",
"template": "@{{ .UserName }} \u279c",
"type": "session" "type": "session"
}, },
{ {
"foreground": "#56B6C2", "foreground": "#56B6C2",
"properties": { "properties": {
"style": "agnoster_short", "style": "agnoster_short"
"template": " {{ .Path }} "
}, },
"style": "plain", "style": "plain",
"template": " {{ .Path }} ",
"type": "path" "type": "path"
}, },
{ {
"foreground": "#7FD5EA", "foreground": "#7FD5EA",
"properties": {
"template": "(\ufcd1{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}) "
},
"style": "powerline", "style": "powerline",
"template": "(\ufcd1{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}) ",
"type": "go" "type": "go"
}, },
{ {
"foreground": "#9e7eff", "foreground": "#9e7eff",
"properties": {
"template": "(\ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }}) "
},
"style": "powerline", "style": "powerline",
"template": "(\ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }}) ",
"type": "python" "type": "python"
}, },
{ {
"foreground": "#56B6C2", "foreground": "#56B6C2",
"properties": { "properties": {
"branch_icon": "", "branch_icon": ""
"template": "<#E8CC97>git(</>{{ .HEAD }}<#E8CC97>) </>"
}, },
"style": "plain", "style": "plain",
"template": "<#E8CC97>git(</>{{ .HEAD }}<#E8CC97>) </>",
"type": "git" "type": "git"
}, },
{ {
@ -51,10 +45,10 @@
"properties": { "properties": {
"always_enabled": false, "always_enabled": false,
"style": "austin", "style": "austin",
"template": "{{{ .FormattedMs }}}",
"threshold": 100 "threshold": 100
}, },
"style": "powerline", "style": "powerline",
"template": "{{{ .FormattedMs }}}",
"type": "executiontime" "type": "executiontime"
} }
], ],
@ -74,10 +68,10 @@
"properties": { "properties": {
"charged_icon": "\ue22f ", "charged_icon": "\ue22f ",
"charging_icon": "\ue234 ", "charging_icon": "\ue234 ",
"discharging_icon": "\ue231 ", "discharging_icon": "\ue231 "
"template": "[{{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }}\uf295]"
}, },
"style": "powerline", "style": "powerline",
"template": "[{{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }}\uf295]",
"type": "battery" "type": "battery"
} }
], ],
@ -85,5 +79,5 @@
} }
], ],
"final_space": true, "final_space": true,
"version": 1 "version": 2
} }

View file

@ -21,13 +21,13 @@
"mint": "\uf30f", "mint": "\uf30f",
"opensuse": "\uf314", "opensuse": "\uf314",
"raspbian": "\uf315", "raspbian": "\uf315",
"template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}}",
"ubuntu": "\uf31b ", "ubuntu": "\uf31b ",
"windows": "\uf871 ", "windows": "\uf871 ",
"wsl": "\ue712", "wsl": "\ue712",
"wsl_separator": " on " "wsl_separator": " on "
}, },
"style": "diamond", "style": "diamond",
"template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}}",
"trailing_diamond": "<transparent,>\ue0b2</>", "trailing_diamond": "<transparent,>\ue0b2</>",
"type": "os" "type": "os"
}, },
@ -35,19 +35,15 @@
"background": "#00c7fc", "background": "#00c7fc",
"foreground": "#000000", "foreground": "#000000",
"leading_diamond": "\ue0c2", "leading_diamond": "\ue0c2",
"properties": {
"template": " \uf85a CPU: {{ round .PhysicalPercentUsed .Precision }}% | "
},
"style": "diamond", "style": "diamond",
"template": " \uf85a CPU: {{ round .PhysicalPercentUsed .Precision }}% | ",
"type": "sysinfo" "type": "sysinfo"
}, },
{ {
"background": "#00c7fc", "background": "#00c7fc",
"foreground": "#000000", "foreground": "#000000",
"properties": {
"template": "RAM: {{ (div ((sub .PhysicalTotalMemory .PhysicalFreeMemory)|float64) 1000000000.0) }}/{{ (div .PhysicalTotalMemory 1000000000.0) }}GB \uf85a "
},
"style": "diamond", "style": "diamond",
"template": "RAM: {{ (div ((sub .PhysicalTotalMemory .PhysicalFreeMemory)|float64) 1000000000.0) }}/{{ (div .PhysicalTotalMemory 1000000000.0) }}GB \uf85a ",
"trailing_diamond": "<transparent,#00c7fc>\ue0b2</>", "trailing_diamond": "<transparent,#00c7fc>\ue0b2</>",
"type": "sysinfo" "type": "sysinfo"
}, },
@ -57,10 +53,10 @@
"leading_diamond": "\ue0b2", "leading_diamond": "\ue0b2",
"properties": { "properties": {
"style": "roundrock", "style": "roundrock",
"template": " {{ .FormattedMs }} ",
"threshold": 0 "threshold": 0
}, },
"style": "diamond", "style": "diamond",
"template": " {{ .FormattedMs }} ",
"trailing_diamond": "\ue0b0", "trailing_diamond": "\ue0b0",
"type": "executiontime" "type": "executiontime"
} }
@ -79,10 +75,10 @@
"fetch_stash_count": true, "fetch_stash_count": true,
"fetch_status": true, "fetch_status": true,
"fetch_upstream_icon": true, "fetch_upstream_icon": true,
"fetch_worktree_count": true, "fetch_worktree_count": true
"template": " {{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} "
}, },
"style": "diamond", "style": "diamond",
"template": " {{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} ",
"trailing_diamond": "\ue0b0", "trailing_diamond": "\ue0b0",
"type": "git" "type": "git"
} }
@ -95,20 +91,16 @@
"segments": [ "segments": [
{ {
"foreground": "#91f2ff", "foreground": "#91f2ff",
"properties": {
"template": "\u256d\u2500"
},
"style": "plain", "style": "plain",
"template": "\u256d\u2500",
"type": "text" "type": "text"
}, },
{ {
"background": "#91f2ff", "background": "#91f2ff",
"foreground": "#000000", "foreground": "#000000",
"leading_diamond": "\ue0b2", "leading_diamond": "\ue0b2",
"properties": {
"template": " \uf489 {{ .Name }} "
},
"style": "diamond", "style": "diamond",
"template": " \uf489 {{ .Name }} ",
"trailing_diamond": "<transparent,#91f2ff>\ue0b2</>", "trailing_diamond": "<transparent,#91f2ff>\ue0b2</>",
"type": "shell" "type": "shell"
}, },
@ -117,19 +109,19 @@
"foreground": "#000000", "foreground": "#000000",
"leading_diamond": "\ue0b2", "leading_diamond": "\ue0b2",
"properties": { "properties": {
"template": " \uf64f {{ .CurrentDate | date .Format }} \uf5ef ",
"time_format": "3:04:05 PM | Monday" "time_format": "3:04:05 PM | Monday"
}, },
"style": "diamond", "style": "diamond",
"template": " \uf64f {{ .CurrentDate | date .Format }} \uf5ef ",
"trailing_diamond": "\ue0b0", "trailing_diamond": "\ue0b0",
"type": "time" "type": "time"
}, },
{ {
"properties": { "properties": {
"root_icon": "\uf292 ", "root_icon": "\uf292 "
"template": " \uf0e7 "
}, },
"style": "diamond", "style": "diamond",
"template": " \uf0e7 ",
"type": "root" "type": "root"
}, },
{ {
@ -140,10 +132,10 @@
"folder_icon": "\uf07b ", "folder_icon": "\uf07b ",
"folder_separator_icon": " \uf554 ", "folder_separator_icon": " \uf554 ",
"home_icon": "\uf7db ", "home_icon": "\uf7db ",
"style": "agnoster_full", "style": "agnoster_full"
"template": " \ue5ff {{ .Path }} "
}, },
"style": "diamond", "style": "diamond",
"template": " \ue5ff {{ .Path }} ",
"trailing_diamond": "\ue0b0", "trailing_diamond": "\ue0b0",
"type": "path" "type": "path"
} }
@ -160,10 +152,10 @@
"{{ if gt .Code 0 }}#ef5350{{ end }}" "{{ if gt .Code 0 }}#ef5350{{ end }}"
], ],
"properties": { "properties": {
"always_enabled": true, "always_enabled": true
"template": " "
}, },
"style": "plain", "style": "plain",
"template": " ",
"type": "exit" "type": "exit"
} }
], ],
@ -177,5 +169,5 @@
"foreground": "#FEF5ED", "foreground": "#FEF5ED",
"template": "\ue285 " "template": "\ue285 "
}, },
"version": 1 "version": 2
} }

View file

@ -9,20 +9,18 @@
"foreground": "#fff", "foreground": "#fff",
"powerline_symbol": "\ue0b0", "powerline_symbol": "\ue0b0",
"properties": { "properties": {
"template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}}",
"windows": "\uf179" "windows": "\uf179"
}, },
"style": "powerline", "style": "powerline",
"template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}}",
"type": "os" "type": "os"
}, },
{ {
"background": "#003543", "background": "#003543",
"foreground": "#d2ff5e", "foreground": "#d2ff5e",
"powerline_symbol": "\ue0b0", "powerline_symbol": "\ue0b0",
"properties": {
"template": "{{ .UserName }} "
},
"style": "powerline", "style": "powerline",
"template": "{{ .UserName }} ",
"type": "session" "type": "session"
}, },
{ {
@ -31,10 +29,10 @@
"powerline_symbol": "\ue0b0", "powerline_symbol": "\ue0b0",
"properties": { "properties": {
"folder_separator_icon": "/", "folder_separator_icon": "/",
"style": "full", "style": "full"
"template": " \ue5ff {{ .Path }} "
}, },
"style": "powerline", "style": "powerline",
"template": " \ue5ff {{ .Path }} ",
"type": "path" "type": "path"
}, },
{ {
@ -49,10 +47,10 @@
"powerline_symbol": "\ue0b0", "powerline_symbol": "\ue0b0",
"properties": { "properties": {
"fetch_stash_count": true, "fetch_stash_count": true,
"fetch_status": true, "fetch_status": true
"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 }} "
}, },
"style": "powerline", "style": "powerline",
"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 }} ",
"type": "git" "type": "git"
}, },
{ {
@ -63,10 +61,10 @@
"foreground": "#242424", "foreground": "#242424",
"powerline_symbol": "\ue0b0", "powerline_symbol": "\ue0b0",
"properties": { "properties": {
"always_enabled": true, "always_enabled": true
"template": " \ufc8d "
}, },
"style": "powerline", "style": "powerline",
"template": " \ufc8d ",
"type": "exit" "type": "exit"
} }
], ],
@ -85,10 +83,8 @@
"foreground": "#242424", "foreground": "#242424",
"invert_powerline": true, "invert_powerline": true,
"powerline_symbol": "\ue0b2", "powerline_symbol": "\ue0b2",
"properties": {
"template": " {{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }}\uf295 \uf583 "
},
"style": "powerline", "style": "powerline",
"template": " {{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }}\uf295 \uf583 ",
"type": "battery" "type": "battery"
}, },
{ {
@ -98,10 +94,10 @@
"powerline_symbol": "\ue0b2", "powerline_symbol": "\ue0b2",
"properties": { "properties": {
"display_mode": "context", "display_mode": "context",
"fetch_virtual_env": true, "fetch_virtual_env": true
"template": " \ue235 {{ .Venv }} "
}, },
"style": "powerline", "style": "powerline",
"template": " \ue235 {{ .Venv }} ",
"type": "python" "type": "python"
}, },
{ {
@ -109,10 +105,8 @@
"foreground": "#fff", "foreground": "#fff",
"invert_powerline": true, "invert_powerline": true,
"powerline_symbol": "\ue0b2", "powerline_symbol": "\ue0b2",
"properties": {
"template": "<#fff> \uf64f </>{{ .CurrentDate | date .Format }} "
},
"style": "powerline", "style": "powerline",
"template": "<#fff> \uf64f </>{{ .CurrentDate | date .Format }} ",
"type": "time" "type": "time"
} }
], ],
@ -124,18 +118,14 @@
"segments": [ "segments": [
{ {
"foreground": "#FFD700", "foreground": "#FFD700",
"properties": {
"template": " \u26a1 "
},
"style": "plain", "style": "plain",
"template": " \u26a1 ",
"type": "root" "type": "root"
}, },
{ {
"foreground": "#f1184c", "foreground": "#f1184c",
"properties": {
"template": "🚀 "
},
"style": "plain", "style": "plain",
"template": "🚀 ",
"type": "text" "type": "text"
} }
], ],
@ -149,5 +139,5 @@
"foreground": "#FFD700", "foreground": "#FFD700",
"template": "{{if .Root}}\u26a1 {{end}}🚀 " "template": "{{if .Root}}\u26a1 {{end}}🚀 "
}, },
"version": 1 "version": 2
} }

View file

@ -8,10 +8,8 @@
"background": "#c386f1", "background": "#c386f1",
"foreground": "#ffffff", "foreground": "#ffffff",
"leading_diamond": "\ue0b6", "leading_diamond": "\ue0b6",
"properties": {
"template": " {{ .UserName }} "
},
"style": "diamond", "style": "diamond",
"template": " {{ .UserName }} ",
"trailing_diamond": "\ue0b0", "trailing_diamond": "\ue0b0",
"type": "session" "type": "session"
}, },
@ -22,10 +20,10 @@
"properties": { "properties": {
"folder_separator_icon": " \ue0b1 ", "folder_separator_icon": " \ue0b1 ",
"home_icon": "~", "home_icon": "~",
"style": "folder", "style": "folder"
"template": " \uf74a {{ .Path }} "
}, },
"style": "powerline", "style": "powerline",
"template": " \uf74a {{ .Path }} ",
"type": "path" "type": "path"
}, },
{ {
@ -43,10 +41,10 @@
"branch_max_length": 25, "branch_max_length": 25,
"fetch_stash_count": true, "fetch_stash_count": true,
"fetch_status": true, "fetch_status": true,
"fetch_upstream_icon": true, "fetch_upstream_icon": true
"template": " {{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} "
}, },
"style": "powerline", "style": "powerline",
"template": " {{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} ",
"trailing_diamond": "\ue0b4", "trailing_diamond": "\ue0b4",
"type": "git" "type": "git"
}, },
@ -55,10 +53,10 @@
"foreground": "#ffffff", "foreground": "#ffffff",
"powerline_symbol": "\ue0b0", "powerline_symbol": "\ue0b0",
"properties": { "properties": {
"fetch_version": true, "fetch_version": true
"template": " \uf898 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} "
}, },
"style": "powerline", "style": "powerline",
"template": " \uf898 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} ",
"type": "node" "type": "node"
}, },
{ {
@ -66,10 +64,10 @@
"foreground": "#111111", "foreground": "#111111",
"powerline_symbol": "\ue0b0", "powerline_symbol": "\ue0b0",
"properties": { "properties": {
"fetch_version": true, "fetch_version": true
"template": " \ue626 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} "
}, },
"style": "powerline", "style": "powerline",
"template": " \ue626 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ",
"type": "go" "type": "go"
}, },
{ {
@ -77,10 +75,10 @@
"foreground": "#111111", "foreground": "#111111",
"powerline_symbol": "\ue0b0", "powerline_symbol": "\ue0b0",
"properties": { "properties": {
"fetch_version": true, "fetch_version": true
"template": " \ue624 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} "
}, },
"style": "powerline", "style": "powerline",
"template": " \ue624 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ",
"type": "julia" "type": "julia"
}, },
{ {
@ -89,10 +87,10 @@
"powerline_symbol": "\ue0b0", "powerline_symbol": "\ue0b0",
"properties": { "properties": {
"display_mode": "files", "display_mode": "files",
"fetch_virtual_env": false, "fetch_virtual_env": false
"template": " \ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} "
}, },
"style": "powerline", "style": "powerline",
"template": " \ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ",
"type": "python" "type": "python"
}, },
{ {
@ -101,10 +99,10 @@
"powerline_symbol": "\ue0b0", "powerline_symbol": "\ue0b0",
"properties": { "properties": {
"display_mode": "files", "display_mode": "files",
"fetch_version": true, "fetch_version": true
"template": " \ue791 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} "
}, },
"style": "powerline", "style": "powerline",
"template": " \ue791 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ",
"type": "ruby" "type": "ruby"
}, },
{ {
@ -113,10 +111,10 @@
"powerline_symbol": "\ue0b0", "powerline_symbol": "\ue0b0",
"properties": { "properties": {
"display_mode": "files", "display_mode": "files",
"fetch_version": false, "fetch_version": false
"template": " \uf0e7{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} "
}, },
"style": "powerline", "style": "powerline",
"template": " \uf0e7{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ",
"type": "azfunc" "type": "azfunc"
}, },
{ {
@ -127,30 +125,28 @@
"foreground": "#ffffff", "foreground": "#ffffff",
"powerline_symbol": "\ue0b0", "powerline_symbol": "\ue0b0",
"properties": { "properties": {
"display_default": false, "display_default": false
"template": " \ue7ad {{ .Profile }}{{ if .Region }}@{{ .Region }}{{ end }} "
}, },
"style": "powerline", "style": "powerline",
"template": " \ue7ad {{ .Profile }}{{ if .Region }}@{{ .Region }}{{ end }} ",
"type": "aws" "type": "aws"
}, },
{ {
"background": "#ffff66", "background": "#ffff66",
"foreground": "#111111", "foreground": "#111111",
"powerline_symbol": "\ue0b0", "powerline_symbol": "\ue0b0",
"properties": {
"template": " \uf0ad "
},
"style": "powerline", "style": "powerline",
"template": " \uf0ad ",
"type": "root" "type": "root"
}, },
{ {
"background": "#83769c", "background": "#83769c",
"foreground": "#ffffff", "foreground": "#ffffff",
"properties": { "properties": {
"always_enabled": true, "always_enabled": true
"template": "<transparent>\ue0b0</> \ufbab{{ .FormattedMs }}\u2800"
}, },
"style": "plain", "style": "plain",
"template": "<transparent>\ue0b0</> \ufbab{{ .FormattedMs }}\u2800",
"type": "executiontime" "type": "executiontime"
}, },
{ {
@ -160,10 +156,10 @@
], ],
"foreground": "#ffffff", "foreground": "#ffffff",
"properties": { "properties": {
"always_enabled": true, "always_enabled": true
"template": "<parentBackground>\ue0b0</> \ue23a "
}, },
"style": "diamond", "style": "diamond",
"template": "<parentBackground>\ue0b0</> \ue23a ",
"trailing_diamond": "\ue0b4", "trailing_diamond": "\ue0b4",
"type": "exit" "type": "exit"
} }
@ -175,10 +171,8 @@
{ {
"background": "#0077c2", "background": "#0077c2",
"foreground": "#ffffff", "foreground": "#ffffff",
"properties": {
"template": "<#0077c2,transparent>\ue0b6</> \uf489 {{ .Name }} <transparent,#0077c2>\ue0b2</>"
},
"style": "plain", "style": "plain",
"template": "<#0077c2,transparent>\ue0b6</> \uf489 {{ .Name }} <transparent,#0077c2>\ue0b2</>",
"type": "shell" "type": "shell"
}, },
{ {
@ -188,10 +182,10 @@
"powerline_symbol": "\ue0b2", "powerline_symbol": "\ue0b2",
"properties": { "properties": {
"paused_icon": "\uf04c ", "paused_icon": "\uf04c ",
"playing_icon": "\uf04b ", "playing_icon": "\uf04b "
"template": " \uf167 {{ .Icon }}{{ if ne .Status \"stopped\" }}{{ .Artist }} - {{ .Track }}{{ end }} "
}, },
"style": "powerline", "style": "powerline",
"template": " \uf167 {{ .Icon }}{{ if ne .Status \"stopped\" }}{{ .Artist }} - {{ .Track }}{{ end }} ",
"type": "ytm" "type": "ytm"
}, },
{ {
@ -207,10 +201,10 @@
"properties": { "properties": {
"charged_icon": "\ue22f ", "charged_icon": "\ue22f ",
"charging_icon": "\ue234 ", "charging_icon": "\ue234 ",
"discharging_icon": "\ue231 ", "discharging_icon": "\ue231 "
"template": " {{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }}\uf295 "
}, },
"style": "powerline", "style": "powerline",
"template": " {{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }}\uf295 ",
"type": "battery" "type": "battery"
}, },
{ {
@ -218,10 +212,8 @@
"foreground": "#111111", "foreground": "#111111",
"invert_powerline": true, "invert_powerline": true,
"leading_diamond": "\ue0b2", "leading_diamond": "\ue0b2",
"properties": {
"template": " {{ .CurrentDate | date .Format }} "
},
"style": "diamond", "style": "diamond",
"template": " {{ .CurrentDate | date .Format }} ",
"trailing_diamond": "\ue0b4", "trailing_diamond": "\ue0b4",
"type": "time" "type": "time"
} }
@ -231,5 +223,5 @@
], ],
"console_title_template": "{{ .Shell }} in {{ .Folder }}", "console_title_template": "{{ .Shell }} in {{ .Folder }}",
"final_space": true, "final_space": true,
"version": 1 "version": 2
} }

View file

@ -8,10 +8,8 @@
"background": "#0C212F", "background": "#0C212F",
"foreground": "#FFFFFF", "foreground": "#FFFFFF",
"leading_diamond": "\ue0b6", "leading_diamond": "\ue0b6",
"properties": {
"template": " {{ .Icon }} "
},
"style": "diamond", "style": "diamond",
"template": " {{ .Icon }} ",
"trailing_diamond": "\ue0b0", "trailing_diamond": "\ue0b0",
"type": "os" "type": "os"
}, },
@ -19,10 +17,8 @@
"background": "#DE2121", "background": "#DE2121",
"foreground": "#FFFFFF", "foreground": "#FFFFFF",
"leading_diamond": "<transparent,#DE2121>\ue0b0</>", "leading_diamond": "<transparent,#DE2121>\ue0b0</>",
"properties": {
"template": " \uf0e7 "
},
"style": "diamond", "style": "diamond",
"template": " \uf0e7 ",
"trailing_diamond": "\ue0b0", "trailing_diamond": "\ue0b0",
"type": "root" "type": "root"
}, },
@ -34,10 +30,10 @@
"folder_icon": "\uf6d7", "folder_icon": "\uf6d7",
"folder_separator_icon": "<transparent> \ue0b1 </>", "folder_separator_icon": "<transparent> \ue0b1 </>",
"home_icon": "\uf7db", "home_icon": "\uf7db",
"style": "agnoster_short", "style": "agnoster_short"
"template": " {{ .Path }} "
}, },
"style": "diamond", "style": "diamond",
"template": " {{ .Path }} ",
"trailing_diamond": "\ue0b0", "trailing_diamond": "\ue0b0",
"type": "path" "type": "path"
}, },
@ -54,10 +50,10 @@
"properties": { "properties": {
"fetch_stash_count": true, "fetch_stash_count": true,
"fetch_status": true, "fetch_status": true,
"fetch_upstream_icon": true, "fetch_upstream_icon": true
"template": " {{ .UpstreamIcon }}{{ .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 }} "
}, },
"style": "powerline", "style": "powerline",
"template": " {{ .UpstreamIcon }}{{ .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 }} ",
"type": "git" "type": "git"
}, },
{ {
@ -65,10 +61,10 @@
"foreground": "#FFFFFF", "foreground": "#FFFFFF",
"leading_diamond": "<transparent,#0C212F>\ue0b0</>", "leading_diamond": "<transparent,#0C212F>\ue0b0</>",
"properties": { "properties": {
"template": " {{ .CurrentDate | date .Format }} ",
"time_format": "15:04" "time_format": "15:04"
}, },
"style": "diamond", "style": "diamond",
"template": " {{ .CurrentDate | date .Format }} ",
"trailing_diamond": "\ue0b0", "trailing_diamond": "\ue0b0",
"type": "time" "type": "time"
}, },
@ -78,10 +74,10 @@
"leading_diamond": "<transparent,#26BDBB>\ue0b0</>", "leading_diamond": "<transparent,#26BDBB>\ue0b0</>",
"properties": { "properties": {
"style": "dallas", "style": "dallas",
"template": " {{ .FormattedMs }}s ",
"threshold": 0 "threshold": 0
}, },
"style": "diamond", "style": "diamond",
"template": " {{ .FormattedMs }}s ",
"trailing_diamond": "\ue0b0", "trailing_diamond": "\ue0b0",
"type": "executiontime" "type": "executiontime"
}, },
@ -89,10 +85,8 @@
"background": "#910000", "background": "#910000",
"foreground": "#ffffff", "foreground": "#ffffff",
"leading_diamond": "<transparent,background>\ue0b0</>", "leading_diamond": "<transparent,background>\ue0b0</>",
"properties": {
"template": "<transparent> \uf12a</> {{ .Meaning }} "
},
"style": "diamond", "style": "diamond",
"template": "<transparent> \uf12a</> {{ .Meaning }} ",
"trailing_diamond": "\ue0b0", "trailing_diamond": "\ue0b0",
"type": "exit" "type": "exit"
} }
@ -103,5 +97,5 @@
"console_title_template": "{{if .Root}} \u26a1 {{end}}{{.Folder | replace \"~\" \"🏠\"}} @ {{.HostName}}", "console_title_template": "{{if .Root}} \u26a1 {{end}}{{.Folder | replace \"~\" \"🏠\"}} @ {{.HostName}}",
"final_space": true, "final_space": true,
"osc99": true, "osc99": true,
"version": 1 "version": 2
} }

View file

@ -8,9 +8,6 @@
"background": "#4707a8", "background": "#4707a8",
"foreground": "#000000", "foreground": "#000000",
"leading_diamond": "\ue0c2\ue0c2", "leading_diamond": "\ue0c2\ue0c2",
"properties": {
"template": ""
},
"style": "diamond", "style": "diamond",
"type": "text" "type": "text"
}, },
@ -18,10 +15,8 @@
"background": "#4707a8", "background": "#4707a8",
"foreground": "#ffffff", "foreground": "#ffffff",
"leading_diamond": "\ue0b6", "leading_diamond": "\ue0b6",
"properties": {
"template": " {{ .UserName }}@{{ .HostName }} "
},
"style": "diamond", "style": "diamond",
"template": " {{ .UserName }}@{{ .HostName }} ",
"trailing_diamond": "\ue0b0", "trailing_diamond": "\ue0b0",
"type": "session" "type": "session"
}, },
@ -29,10 +24,8 @@
"background": "#1a1af5", "background": "#1a1af5",
"foreground": "#ffffff", "foreground": "#ffffff",
"powerline_symbol": "\ue0b0", "powerline_symbol": "\ue0b0",
"properties": {
"template": " \ufd03 {{ .Name }} "
},
"style": "powerline", "style": "powerline",
"template": " \ufd03 {{ .Name }} ",
"type": "az" "type": "az"
}, },
{ {
@ -42,10 +35,10 @@
], ],
"foreground": "#ffffff", "foreground": "#ffffff",
"properties": { "properties": {
"always_enabled": true, "always_enabled": true
"template": "<transparent>\ue0b0</>\ue23a "
}, },
"style": "diamond", "style": "diamond",
"template": "<transparent>\ue0b0</>\ue23a ",
"trailing_diamond": "\ue0b4", "trailing_diamond": "\ue0b4",
"type": "exit" "type": "exit"
} }
@ -74,20 +67,18 @@
"mint": "\uf30f", "mint": "\uf30f",
"opensuse": "\uf314", "opensuse": "\uf314",
"raspbian": "\uf315", "raspbian": "\uf315",
"template": " {{ if .WSL }}\ue712 on {{ end }}{{ .Icon }}<#000000> \ue0b1</>",
"ubuntu": "\uf31c", "ubuntu": "\uf31c",
"windows": "\ue70f" "windows": "\ue70f"
}, },
"style": "diamond", "style": "diamond",
"template": " {{ if .WSL }}\ue712 on {{ end }}{{ .Icon }}<#000000> \ue0b1</>",
"type": "os" "type": "os"
}, },
{ {
"background": "#000000", "background": "#000000",
"foreground": "#ffffff", "foreground": "#ffffff",
"properties": {
"template": " \uf0e7<#ffffff> \ue0b1</>"
},
"style": "diamond", "style": "diamond",
"template": " \uf0e7<#ffffff> \ue0b1</>",
"type": "root" "type": "root"
}, },
{ {
@ -97,10 +88,10 @@
"folder_icon": "<#000000>\ue5fe </>", "folder_icon": "<#000000>\ue5fe </>",
"folder_separator_icon": "<#000000>\ue0b1 </>", "folder_separator_icon": "<#000000>\ue0b1 </>",
"home_icon": "\uf7db ", "home_icon": "\uf7db ",
"style": "agnoster_short", "style": "agnoster_short"
"template": "<#000000> \ue5ff </>{{ .Path }} "
}, },
"style": "diamond", "style": "diamond",
"template": "<#000000> \ue5ff </>{{ .Path }} ",
"type": "path" "type": "path"
}, },
{ {
@ -114,27 +105,22 @@
"properties": { "properties": {
"fetch_stash_count": true, "fetch_stash_count": true,
"fetch_status": true, "fetch_status": true,
"fetch_upstream_icon": true, "fetch_upstream_icon": true
"template": "<#000000>\ue0b1 </>{{ .UpstreamIcon }}{{ .HEAD }}{{ if .Staging.Changed }}<#2FDA4E> \uf046 {{ .Staging.String }}</>{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Working.Changed }}<#E84855> \uf044 {{ .Working.String }}</>{{ end }} "
}, },
"style": "diamond", "style": "diamond",
"template": "<#000000>\ue0b1 </>{{ .UpstreamIcon }}{{ .HEAD }}{{ if .Staging.Changed }}<#2FDA4E> \uf046 {{ .Staging.String }}</>{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Working.Changed }}<#E84855> \uf044 {{ .Working.String }}</>{{ end }} ",
"type": "git" "type": "git"
}, },
{ {
"background": "#ffffff", "background": "#ffffff",
"foreground": "#000000", "foreground": "#000000",
"properties": {
"template": " {{ .WorkspaceName }} "
},
"style": "powerline", "style": "powerline",
"template": " {{ .WorkspaceName }} ",
"type": "terraform" "type": "terraform"
}, },
{ {
"background": "#ffffff", "background": "#ffffff",
"foreground": "#000000", "foreground": "#000000",
"properties": {
"template": ""
},
"style": "diamond", "style": "diamond",
"trailing_diamond": "\ue0b0", "trailing_diamond": "\ue0b0",
"type": "text" "type": "text"
@ -147,10 +133,8 @@
"segments": [ "segments": [
{ {
"foreground": "#1a1af5", "foreground": "#1a1af5",
"properties": {
"template": " \u276f "
},
"style": "plain", "style": "plain",
"template": " \u276f ",
"type": "text" "type": "text"
} }
], ],
@ -159,5 +143,5 @@
], ],
"console_title_template": "{{if .Root}}root :: {{end}}{{.Shell}} :: {{.Folder}}", "console_title_template": "{{if .Root}}root :: {{end}}{{.Shell}} :: {{.Folder}}",
"final_space": true, "final_space": true,
"version": 1 "version": 2
} }

View file

@ -9,30 +9,30 @@
"foreground": "#ffffff", "foreground": "#ffffff",
"leading_diamond": "\ue0b6", "leading_diamond": "\ue0b6",
"properties": { "properties": {
"display_host": false, "display_host": false
"template": "{{ if .SSHSession }}\uf817 {{ end }}{{ .UserName }} "
}, },
"style": "diamond", "style": "diamond",
"template": "{{ if .SSHSession }}\uf817 {{ end }}{{ .UserName }} ",
"type": "session" "type": "session"
}, },
{ {
"background": "lightYellow", "background": "lightYellow",
"foreground": "#3f3f3f", "foreground": "#3f3f3f",
"properties": { "properties": {
"style": "full", "style": "full"
"template": " {{ .Path }} "
}, },
"style": "plain", "style": "plain",
"template": " {{ .Path }} ",
"type": "path" "type": "path"
}, },
{ {
"background": "#25AFF3", "background": "#25AFF3",
"foreground": "#ffffff", "foreground": "#ffffff",
"properties": { "properties": {
"fetch_status": true, "fetch_status": true
"template": " branch ({{ .HEAD }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}) "
}, },
"style": "plain", "style": "plain",
"template": " branch ({{ .HEAD }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}) ",
"type": "git" "type": "git"
}, },
{ {
@ -42,20 +42,20 @@
"paused_icon": "", "paused_icon": "",
"playing_icon": "", "playing_icon": "",
"stopped_icon": "", "stopped_icon": "",
"template": " {{ .Icon }}{{ if ne .Status \"stopped\" }}{{ .Artist }} - {{ .Track }}{{ end }} ",
"track_separator": " - " "track_separator": " - "
}, },
"style": "plain", "style": "plain",
"template": " {{ .Icon }}{{ if ne .Status \"stopped\" }}{{ .Artist }} - {{ .Track }}{{ end }} ",
"type": "spotify" "type": "spotify"
}, },
{ {
"background": "#cc00ff", "background": "#cc00ff",
"foreground": "#ffffff", "foreground": "#ffffff",
"properties": { "properties": {
"template": " {{ .CurrentDate | date .Format }} ",
"time_format": "15:04:05" "time_format": "15:04:05"
}, },
"style": "diamond", "style": "diamond",
"template": " {{ .CurrentDate | date .Format }} ",
"trailing_diamond": "\ue0b0", "trailing_diamond": "\ue0b0",
"type": "time" "type": "time"
} }
@ -64,5 +64,5 @@
} }
], ],
"final_space": true, "final_space": true,
"version": 1 "version": 2
} }

View file

@ -7,9 +7,6 @@
"segments": [ "segments": [
{ {
"foreground": "#ffffff", "foreground": "#ffffff",
"properties": {
"template": ""
},
"style": "plain", "style": "plain",
"type": "text" "type": "text"
} }
@ -21,19 +18,14 @@
"segments": [ "segments": [
{ {
"foreground": "#185F7B", "foreground": "#185F7B",
"properties": {
"template": "\ue0c5"
},
"style": "plain", "style": "plain",
"template": "\ue0c5",
"type": "text" "type": "text"
}, },
{ {
"background": "#185F7B", "background": "#185F7B",
"foreground": "#185F7B", "foreground": "#185F7B",
"powerline_symbol": "\ue0c4", "powerline_symbol": "\ue0c4",
"properties": {
"template": ""
},
"style": "powerline", "style": "powerline",
"type": "text" "type": "text"
}, },
@ -42,10 +34,10 @@
"foreground": "#ffffff", "foreground": "#ffffff",
"properties": { "properties": {
"home_icon": "\uf7dd ", "home_icon": "\uf7dd ",
"style": "mixed", "style": "mixed"
"template": "{{ .Path }} "
}, },
"style": "diamond", "style": "diamond",
"template": "{{ .Path }} ",
"trailing_diamond": "\ue0b0", "trailing_diamond": "\ue0b0",
"type": "path" "type": "path"
}, },
@ -56,17 +48,14 @@
"properties": { "properties": {
"fetch_stash_count": true, "fetch_stash_count": true,
"fetch_status": true, "fetch_status": true,
"fetch_upstream_icon": true, "fetch_upstream_icon": true
"template": " {{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} "
}, },
"style": "powerline", "style": "powerline",
"template": " {{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} ",
"type": "git" "type": "git"
}, },
{ {
"leading_diamond": "<transparent,#49404f>\ue0b0</>", "leading_diamond": "<transparent,#49404f>\ue0b0</>",
"properties": {
"template": ""
},
"style": "plain", "style": "plain",
"trailing_diamond": "\ue0b0", "trailing_diamond": "\ue0b0",
"type": "text" "type": "text"
@ -79,10 +68,10 @@
"foreground": "#ffffff", "foreground": "#ffffff",
"powerline_symbol": "\ue0b0", "powerline_symbol": "\ue0b0",
"properties": { "properties": {
"always_enabled": true, "always_enabled": true
"template": " {{ if gt .Code 0 }}\uf525{{ else }}\uf469 \u2665{{ end }} "
}, },
"style": "powerline", "style": "powerline",
"template": " {{ if gt .Code 0 }}\uf525{{ else }}\uf469 \u2665{{ end }} ",
"type": "exit" "type": "exit"
} }
], ],
@ -97,10 +86,10 @@
"invert_powerline": true, "invert_powerline": true,
"leading_diamond": "\ue0c5", "leading_diamond": "\ue0c5",
"properties": { "properties": {
"template": " {{ .CurrentDate | date .Format }}<#ffffff> \uf64f </>",
"time_format": "3:04:05 PM" "time_format": "3:04:05 PM"
}, },
"style": "diamond", "style": "diamond",
"template": " {{ .CurrentDate | date .Format }}<#ffffff> \uf64f </>",
"trailing_diamond": "\ue0c4", "trailing_diamond": "\ue0c4",
"type": "time" "type": "time"
}, },
@ -110,10 +99,10 @@
"invert_powerline": true, "invert_powerline": true,
"leading_diamond": "\ue0c5", "leading_diamond": "\ue0c5",
"properties": { "properties": {
"always_enabled": true, "always_enabled": true
"template": " {{ .FormattedMs }}<#ffffff> \uf252 </>"
}, },
"style": "diamond", "style": "diamond",
"template": " {{ .FormattedMs }}<#ffffff> \uf252 </>",
"trailing_diamond": "\ue0c4", "trailing_diamond": "\ue0c4",
"type": "executiontime" "type": "executiontime"
} }
@ -126,40 +115,32 @@
"segments": [ "segments": [
{ {
"foreground": "#2B2B2B", "foreground": "#2B2B2B",
"properties": {
"template": "\ue0c5"
},
"style": "plain", "style": "plain",
"template": "\ue0c5",
"type": "text" "type": "text"
}, },
{ {
"background": "#2B2B2B", "background": "#2B2B2B",
"foreground": "#1CA6A3", "foreground": "#1CA6A3",
"powerline_symbol": "\ue0c4", "powerline_symbol": "\ue0c4",
"properties": {
"template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}} "
},
"style": "powerline", "style": "powerline",
"template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}} ",
"type": "os" "type": "os"
}, },
{ {
"background": "#2B2B2B", "background": "#2B2B2B",
"foreground": "#FBD951", "foreground": "#FBD951",
"powerline_symbol": "\ue0b0", "powerline_symbol": "\ue0b0",
"properties": {
"template": "\uf0e7 "
},
"style": "powerline", "style": "powerline",
"template": "\uf0e7 ",
"type": "root" "type": "root"
}, },
{ {
"background": "#DC291E", "background": "#DC291E",
"foreground": "#ffffff", "foreground": "#ffffff",
"powerline_symbol": "\ue0b0", "powerline_symbol": "\ue0b0",
"properties": {
"template": " {{ .UserName }} "
},
"style": "powerline", "style": "powerline",
"template": " {{ .UserName }} ",
"type": "session" "type": "session"
} }
], ],
@ -171,10 +152,8 @@
{ {
"background": "#000000", "background": "#000000",
"foreground": "#666666", "foreground": "#666666",
"properties": {
"template": "\uf489 {{ .Name }}"
},
"style": "plain", "style": "plain",
"template": "\uf489 {{ .Name }}",
"type": "shell" "type": "shell"
} }
], ],
@ -183,5 +162,5 @@
], ],
"console_title_template": "{{if .Root}}Admin: {{end}} {{.Folder}}", "console_title_template": "{{if .Root}}Admin: {{end}} {{.Folder}}",
"final_space": true, "final_space": true,
"version": 1 "version": 2
} }

View file

@ -10,38 +10,36 @@
"{{ if .Root }}red{{ end }}" "{{ if .Root }}red{{ end }}"
], ],
"properties": { "properties": {
"display_host": true, "display_host": true
"template": "<green>\u250c\u2500\u2500(</>{{ if .Root }}root💀{{ else }}{{ .UserName }}@{{ end }}{{ .HostName }}<green>)</>"
}, },
"style": "plain", "style": "plain",
"template": "<green>\u250c\u2500\u2500(</>{{ if .Root }}root💀{{ else }}{{ .UserName }}@{{ end }}{{ .HostName }}<green>)</>",
"type": "session" "type": "session"
}, },
{ {
"foreground": "yellow", "foreground": "yellow",
"properties": { "properties": {
"fetch_version": false, "fetch_version": false,
"fetch_virtual_env": true, "fetch_virtual_env": true
"template": "<green>-[</>\ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }}{{ end }}{{ .Full }}{{ end }}<green>]</>"
}, },
"style": "plain", "style": "plain",
"template": "<green>-[</>\ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }}{{ end }}{{ .Full }}{{ end }}<green>]</>",
"type": "python" "type": "python"
}, },
{ {
"foreground": "lightWhite", "foreground": "lightWhite",
"properties": { "properties": {
"folder_separator_icon": "<#c0c0c0>/</>", "folder_separator_icon": "<#c0c0c0>/</>",
"style": "full", "style": "full"
"template": "<green>-[</>{{ .Path }}<green>]</>"
}, },
"style": "plain", "style": "plain",
"template": "<green>-[</>{{ .Path }}<green>]</>",
"type": "path" "type": "path"
}, },
{ {
"foreground": "white", "foreground": "white",
"properties": {
"template": "<green>-[</>{{ .HEAD }}<green>]</>"
},
"style": "plain", "style": "plain",
"template": "<green>-[</>{{ .HEAD }}<green>]</>",
"type": "git" "type": "git"
} }
], ],
@ -54,10 +52,10 @@
"foreground": "white", "foreground": "white",
"properties": { "properties": {
"always_enabled": true, "always_enabled": true,
"style": "round", "style": "round"
"template": " {{ .FormattedMs }} "
}, },
"style": "plain", "style": "plain",
"template": " {{ .FormattedMs }} ",
"type": "executiontime" "type": "executiontime"
}, },
{ {
@ -66,10 +64,10 @@
"{{ if gt .Code 0 }}red{{ end }}" "{{ if gt .Code 0 }}red{{ end }}"
], ],
"properties": { "properties": {
"always_enabled": true, "always_enabled": true
"template": " {{ if gt .Code 0 }}\u2a2f{{else}}\u2713{{ end }} "
}, },
"style": "plain", "style": "plain",
"template": " {{ if gt .Code 0 }}\u2a2f{{else}}\u2713{{ end }} ",
"type": "exit" "type": "exit"
} }
], ],
@ -81,15 +79,13 @@
"segments": [ "segments": [
{ {
"foreground": "lightBlue", "foreground": "lightBlue",
"properties": {
"template": "<green>\u2514\u2500</>{{ if .Root }}<red>#</>{{ else }}${{ end }} "
},
"style": "plain", "style": "plain",
"template": "<green>\u2514\u2500</>{{ if .Root }}<red>#</>{{ else }}${{ end }} ",
"type": "text" "type": "text"
} }
], ],
"type": "prompt" "type": "prompt"
} }
], ],
"version": 1 "version": 2
} }

View file

@ -6,32 +6,28 @@
"segments": [ "segments": [
{ {
"foreground": "#F5F5F5", "foreground": "#F5F5F5",
"properties": {
"template": "\ufb26 "
},
"style": "plain", "style": "plain",
"template": "\ufb26 ",
"type": "text" "type": "text"
}, },
{ {
"foreground": "#B80101", "foreground": "#B80101",
"properties": { "properties": {
"style": "agnoster", "style": "agnoster"
"template": " {{ .Path }} "
}, },
"style": "plain", "style": "plain",
"template": " {{ .Path }} ",
"type": "path" "type": "path"
}, },
{ {
"foreground": "#B80101", "foreground": "#B80101",
"properties": {
"template": " <#F5F5F5>git:</>{{ .HEAD }} "
},
"style": "plain", "style": "plain",
"template": " <#F5F5F5>git:</>{{ .HEAD }} ",
"type": "git" "type": "git"
} }
], ],
"type": "prompt" "type": "prompt"
} }
], ],
"version": 1 "version": 2
} }

View file

@ -8,10 +8,8 @@
"background": "#c386f1", "background": "#c386f1",
"foreground": "#ffffff", "foreground": "#ffffff",
"leading_diamond": "\ue0b6", "leading_diamond": "\ue0b6",
"properties": {
"template": " {{ .UserName }} "
},
"style": "diamond", "style": "diamond",
"template": " {{ .UserName }} ",
"trailing_diamond": "\ue0b0", "trailing_diamond": "\ue0b0",
"type": "session" "type": "session"
}, },
@ -22,10 +20,10 @@
"properties": { "properties": {
"folder_separator_icon": " \ue0b1 ", "folder_separator_icon": " \ue0b1 ",
"home_icon": "~", "home_icon": "~",
"style": "folder", "style": "folder"
"template": " \uf74a {{ .Path }} "
}, },
"style": "powerline", "style": "powerline",
"template": " \uf74a {{ .Path }} ",
"type": "path" "type": "path"
}, },
{ {
@ -42,20 +40,20 @@
"branch_max_length": 25, "branch_max_length": 25,
"fetch_stash_count": true, "fetch_stash_count": true,
"fetch_status": true, "fetch_status": true,
"fetch_upstream_icon": true, "fetch_upstream_icon": true
"template": " {{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} "
}, },
"style": "powerline", "style": "powerline",
"template": " {{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} ",
"type": "git" "type": "git"
}, },
{ {
"background": "#83769c", "background": "#83769c",
"foreground": "#ffffff", "foreground": "#ffffff",
"properties": { "properties": {
"always_enabled": true, "always_enabled": true
"template": "<transparent>\ue0b0</> \ufbab{{ .FormattedMs }}\u2800"
}, },
"style": "plain", "style": "plain",
"template": "<transparent>\ue0b0</> \ufbab{{ .FormattedMs }}\u2800",
"type": "executiontime" "type": "executiontime"
}, },
{ {
@ -74,10 +72,10 @@
"properties": { "properties": {
"access_token": "0ccbd2ac1e37a5b84101468df3d367177fe02ab3", "access_token": "0ccbd2ac1e37a5b84101468df3d367177fe02ab3",
"http_timeout": 1500, "http_timeout": 1500,
"refresh_token": "111111111111111111111111111111", "refresh_token": "111111111111111111111111111111"
"template": " {{.Name}} {{.Ago}} {{.Icon}} "
}, },
"style": "powerline", "style": "powerline",
"template": " {{.Name}} {{.Ago}} {{.Icon}} ",
"type": "strava" "type": "strava"
}, },
{ {
@ -87,10 +85,10 @@
], ],
"foreground": "#ffffff", "foreground": "#ffffff",
"properties": { "properties": {
"always_enabled": true, "always_enabled": true
"template": "<parentBackground>\ue0b0</> \ue23a "
}, },
"style": "diamond", "style": "diamond",
"template": "<parentBackground>\ue0b0</> \ue23a ",
"trailing_diamond": "\ue0b4", "trailing_diamond": "\ue0b4",
"type": "exit" "type": "exit"
} }
@ -100,5 +98,5 @@
], ],
"console_title_template": "{{ .Shell }} in {{ .Folder }}", "console_title_template": "{{ .Shell }} in {{ .Folder }}",
"final_space": true, "final_space": true,
"version": 1 "version": 2
} }

View file

@ -10,10 +10,10 @@
"leading_diamond": "\ue0b6", "leading_diamond": "\ue0b6",
"powerline_symbol": "\ue0b0", "powerline_symbol": "\ue0b0",
"properties": { "properties": {
"style": "folder", "style": "folder"
"template": " \ue5ff {{ .Path }} "
}, },
"style": "diamond", "style": "diamond",
"template": " \ue5ff {{ .Path }} ",
"trailing_diamond": "\ue0b0", "trailing_diamond": "\ue0b0",
"type": "path" "type": "path"
}, },
@ -30,10 +30,10 @@
"properties": { "properties": {
"fetch_stash_count": true, "fetch_stash_count": true,
"fetch_status": true, "fetch_status": true,
"fetch_upstream_icon": true, "fetch_upstream_icon": true
"template": " {{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ 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 }} "
}, },
"style": "powerline", "style": "powerline",
"template": " {{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ 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 }} ",
"type": "git" "type": "git"
}, },
{ {
@ -44,10 +44,10 @@
"foreground": "#ffffff", "foreground": "#ffffff",
"leading_diamond": "<transparent,background>\ue0b0</>", "leading_diamond": "<transparent,background>\ue0b0</>",
"properties": { "properties": {
"always_enabled": true, "always_enabled": true
"template": " \uf0e7 "
}, },
"style": "diamond", "style": "diamond",
"template": " \uf0e7 ",
"trailing_diamond": "\ue0b4", "trailing_diamond": "\ue0b4",
"type": "exit" "type": "exit"
} }
@ -56,5 +56,5 @@
} }
], ],
"final_space": true, "final_space": true,
"version": 1 "version": 2
} }

View file

@ -6,20 +6,16 @@
"segments": [ "segments": [
{ {
"foreground": "#ffce7b", "foreground": "#ffce7b",
"properties": {
"template": "\u250c "
},
"style": "plain", "style": "plain",
"template": "\u250c ",
"type": "text" "type": "text"
}, },
{ {
"background": "#ffce7b", "background": "#ffce7b",
"foreground": "#1d1626", "foreground": "#1d1626",
"powerline_symbol": "\ue0b0", "powerline_symbol": "\ue0b0",
"properties": {
"template": " \uf26c {{ if .SSHSession }}\uf817 {{ end }}{{ .UserName }}@{{ .HostName }} "
},
"style": "powerline", "style": "powerline",
"template": " \uf26c {{ if .SSHSession }}\uf817 {{ end }}{{ .UserName }}@{{ .HostName }} ",
"type": "session" "type": "session"
}, },
{ {
@ -27,10 +23,10 @@
"foreground": "#fffef9", "foreground": "#fffef9",
"powerline_symbol": "\ue0b0", "powerline_symbol": "\ue0b0",
"properties": { "properties": {
"template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}} ",
"windows": "\uf17a" "windows": "\uf17a"
}, },
"style": "powerline", "style": "powerline",
"template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}} ",
"type": "os" "type": "os"
}, },
{ {
@ -38,10 +34,10 @@
"foreground": "#fffef9", "foreground": "#fffef9",
"powerline_symbol": "\ue0b0", "powerline_symbol": "\ue0b0",
"properties": { "properties": {
"style": "full", "style": "full"
"template": "{{ path .Path .Location }} "
}, },
"style": "powerline", "style": "powerline",
"template": "{{ path .Path .Location }} ",
"type": "path" "type": "path"
}, },
{ {
@ -69,10 +65,10 @@
"git_icon": "\uf1d3 ", "git_icon": "\uf1d3 ",
"github_icon": "\uf408 ", "github_icon": "\uf408 ",
"gitlab_icon": "\uf296 ", "gitlab_icon": "\uf296 ",
"tag_icon": "\uf412 ", "tag_icon": "\uf412 "
"template": " {{ if( .UpstreamIcon ) }}{{ url .UpstreamIcon .UpstreamURL }} {{ end }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }} <#ed1941>\uf044 {{.Working.String}}</>{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} <#225a1f>\uf046 {{.Staging.String}}</>{{ end }}{{ if gt .StashCount 0 }} \uf692 {{.StashCount}}{{ end }}{{ if gt .WorktreeCount 0 }}{{if .IsWorkTree}}<#1d953f>{{ end }} \uf1bb {{if .IsWorkTree}}</>{{ end }}{{.WorktreeCount}}{{ end }} "
}, },
"style": "powerline", "style": "powerline",
"template": " {{ if( .UpstreamIcon ) }}{{ url .UpstreamIcon .UpstreamURL }} {{ end }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }} <#ed1941>\uf044 {{.Working.String}}</>{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} <#225a1f>\uf046 {{.Staging.String}}</>{{ end }}{{ if gt .StashCount 0 }} \uf692 {{.StashCount}}{{ end }}{{ if gt .WorktreeCount 0 }}{{if .IsWorkTree}}<#1d953f>{{ end }} \uf1bb {{if .IsWorkTree}}</>{{ end }}{{.WorktreeCount}}{{ end }} ",
"type": "git" "type": "git"
}, },
{ {
@ -80,20 +76,18 @@
"foreground": "#fffef9", "foreground": "#fffef9",
"powerline_symbol": "\ue0b0", "powerline_symbol": "\ue0b0",
"properties": { "properties": {
"always_enabled": true, "always_enabled": true
"template": " \uf064 {{ .FormattedMs }} "
}, },
"style": "powerline", "style": "powerline",
"template": " \uf064 {{ .FormattedMs }} ",
"type": "executiontime" "type": "executiontime"
}, },
{ {
"background": "#ed1941", "background": "#ed1941",
"foreground": "#fffef9", "foreground": "#fffef9",
"powerline_symbol": "\ue0b0", "powerline_symbol": "\ue0b0",
"properties": {
"template": " \uf12a >>{{ .Meaning }} "
},
"style": "powerline", "style": "powerline",
"template": " \uf12a >>{{ .Meaning }} ",
"type": "exit" "type": "exit"
} }
], ],
@ -105,18 +99,14 @@
"segments": [ "segments": [
{ {
"foreground": "#ffce7b", "foreground": "#ffce7b",
"properties": {
"template": "\u2514"
},
"style": "plain", "style": "plain",
"template": "\u2514",
"type": "text" "type": "text"
}, },
{ {
"foreground": "#ffffff", "foreground": "#ffffff",
"properties": {
"template": " $"
},
"style": "plain", "style": "plain",
"template": " $",
"type": "text" "type": "text"
} }
], ],
@ -126,5 +116,5 @@
"console_title_template": "{{if .Root}}\u26a1 {{end}}{{.Folder}}", "console_title_template": "{{if .Root}}\u26a1 {{end}}{{.Folder}}",
"final_space": true, "final_space": true,
"osc99": true, "osc99": true,
"version": 1 "version": 2
} }

View file

@ -6,51 +6,47 @@
"segments": [ "segments": [
{ {
"foreground": "#ffffff", "foreground": "#ffffff",
"properties": {
"template": "<#C591E8>\u276f</><#69FF94>\u276f</>"
},
"style": "plain", "style": "plain",
"template": "<#C591E8>\u276f</><#69FF94>\u276f</>",
"type": "text" "type": "text"
}, },
{ {
"foreground": "#56B6C2", "foreground": "#56B6C2",
"properties": { "properties": {
"style": "folder", "style": "folder"
"template": " {{ .Path }} "
}, },
"style": "plain", "style": "plain",
"template": " {{ .Path }} ",
"type": "path" "type": "path"
}, },
{ {
"foreground": "#D0666F", "foreground": "#D0666F",
"properties": { "properties": {
"branch_icon": "", "branch_icon": "",
"fetch_status": false, "fetch_status": false
"template": "<#5FAAE8>git:(</>{{ .HEAD }}<#5FAAE8>)</>"
}, },
"style": "plain", "style": "plain",
"template": "<#5FAAE8>git:(</>{{ .HEAD }}<#5FAAE8>)</>",
"type": "git" "type": "git"
}, },
{ {
"foreground": "#DCB977", "foreground": "#DCB977",
"properties": {
"template": " \uf119"
},
"style": "plain", "style": "plain",
"template": " \uf119",
"type": "exit" "type": "exit"
}, },
{ {
"foreground": "#66F68F", "foreground": "#66F68F",
"properties": { "properties": {
"template": " {{ .CurrentDate | date .Format }} ",
"time_format": "15:04" "time_format": "15:04"
}, },
"style": "plain", "style": "plain",
"template": " {{ .CurrentDate | date .Format }} ",
"type": "time" "type": "time"
} }
], ],
"type": "prompt" "type": "prompt"
} }
], ],
"version": 1 "version": 2
} }

View file

@ -6,30 +6,24 @@
"segments": [ "segments": [
{ {
"foreground": "#3A86FF", "foreground": "#3A86FF",
"properties": {
"template": "{{ if .WSL }}WSL at {{ end }}{{.Icon}} "
},
"style": "plain", "style": "plain",
"template": "{{ if .WSL }}WSL at {{ end }}{{.Icon}} ",
"type": "os" "type": "os"
}, },
{ {
"background": "#242424", "background": "#242424",
"foreground": "#f1184c", "foreground": "#f1184c",
"powerline_symbol": "\ue0b0", "powerline_symbol": "\ue0b0",
"properties": {
"template": " {{ .UserName }}"
},
"style": "powerline", "style": "powerline",
"template": " {{ .UserName }}",
"type": "session" "type": "session"
}, },
{ {
"background": "#242424", "background": "#242424",
"foreground": "#f1184c", "foreground": "#f1184c",
"powerline_symbol": "\ue0b0", "powerline_symbol": "\ue0b0",
"properties": {
"template": "- root \uf0e7"
},
"style": "powerline", "style": "powerline",
"template": "- root \uf0e7",
"type": "root" "type": "root"
}, },
{ {
@ -37,10 +31,10 @@
"foreground": "#FFBB00", "foreground": "#FFBB00",
"powerline_symbol": "\ue0b0", "powerline_symbol": "\ue0b0",
"properties": { "properties": {
"template": "{{ .CurrentDate | date .Format }} ",
"time_format": "2006-01-02 15:04:05" "time_format": "2006-01-02 15:04:05"
}, },
"style": "powerline", "style": "powerline",
"template": "{{ .CurrentDate | date .Format }} ",
"type": "time" "type": "time"
}, },
{ {
@ -49,10 +43,10 @@
"powerline_symbol": "\ue0b0", "powerline_symbol": "\ue0b0",
"properties": { "properties": {
"folder_separator_icon": "/", "folder_separator_icon": "/",
"style": "full", "style": "full"
"template": "\ue5ff {{ .Path }} "
}, },
"style": "powerline", "style": "powerline",
"template": "\ue5ff {{ .Path }} ",
"type": "path" "type": "path"
}, },
{ {
@ -61,10 +55,10 @@
"powerline_symbol": "\ue0b0", "powerline_symbol": "\ue0b0",
"properties": { "properties": {
"fetch_stash_count": true, "fetch_stash_count": true,
"fetch_upstream_icon": true, "fetch_upstream_icon": true
"template": "{{ .UpstreamIcon }}{{ .HEAD }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} "
}, },
"style": "powerline", "style": "powerline",
"template": "{{ .UpstreamIcon }}{{ .HEAD }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} ",
"type": "git" "type": "git"
}, },
{ {
@ -75,10 +69,10 @@
"foreground": "#242424", "foreground": "#242424",
"powerline_symbol": "\ue0b0", "powerline_symbol": "\ue0b0",
"properties": { "properties": {
"always_enabled": true, "always_enabled": true
"template": " \ufc8d "
}, },
"style": "powerline", "style": "powerline",
"template": " \ufc8d ",
"type": "exit" "type": "exit"
} }
], ],
@ -90,15 +84,13 @@
"segments": [ "segments": [
{ {
"foreground": "#f1184c", "foreground": "#f1184c",
"properties": {
"template": "\u279c "
},
"style": "plain", "style": "plain",
"template": "\u279c ",
"type": "text" "type": "text"
} }
], ],
"type": "prompt" "type": "prompt"
} }
], ],
"version": 1 "version": 2
} }

View file

@ -17,11 +17,11 @@
"macos": "\uf179", "macos": "\uf179",
"manjaro": "\uf312", "manjaro": "\uf312",
"opensuse": "\uf314", "opensuse": "\uf314",
"template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}} ",
"ubuntu": "\uf31b", "ubuntu": "\uf31b",
"windows": "\uf17a" "windows": "\uf17a"
}, },
"style": "diamond", "style": "diamond",
"template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}} ",
"type": "os" "type": "os"
}, },
{ {
@ -29,20 +29,18 @@
"foreground": "#0077c2", "foreground": "#0077c2",
"powerline_symbol": "\ue0b0", "powerline_symbol": "\ue0b0",
"properties": { "properties": {
"display_host": true, "display_host": true
"template": "{{ .UserName }}<#000000>@</><#e06c75>{{ .HostName }}</> "
}, },
"style": "powerline", "style": "powerline",
"template": "{{ .UserName }}<#000000>@</><#e06c75>{{ .HostName }}</> ",
"type": "session" "type": "session"
}, },
{ {
"background": "#e06c75", "background": "#e06c75",
"foreground": "#ffffff", "foreground": "#ffffff",
"powerline_symbol": "\ue0b0", "powerline_symbol": "\ue0b0",
"properties": {
"template": " \ue799\u2800"
},
"style": "powerline", "style": "powerline",
"template": " \ue799\u2800",
"type": "root" "type": "root"
}, },
{ {
@ -53,10 +51,10 @@
"folder_separator_icon": "/", "folder_separator_icon": "/",
"home_icon": "~", "home_icon": "~",
"max_depth": 2, "max_depth": 2,
"style": "letter", "style": "letter"
"template": " \ue5fe {{ .Path }} "
}, },
"style": "powerline", "style": "powerline",
"template": " \ue5fe {{ .Path }} ",
"type": "path" "type": "path"
}, },
{ {
@ -72,18 +70,16 @@
"properties": { "properties": {
"fetch_stash_count": true, "fetch_stash_count": true,
"fetch_status": true, "fetch_status": true,
"fetch_upstream_icon": true, "fetch_upstream_icon": true
"template": " {{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ 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 }} "
}, },
"style": "powerline", "style": "powerline",
"template": " {{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ 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 }} ",
"type": "git" "type": "git"
}, },
{ {
"foreground": "#FFD54F", "foreground": "#FFD54F",
"properties": {
"template": " {{if .Root}}#{{else}}${{end}}"
},
"style": "plain", "style": "plain",
"template": " {{if .Root}}#{{else}}${{end}}",
"type": "text" "type": "text"
} }
], ],
@ -94,19 +90,19 @@
{ {
"foreground": "#ffffff", "foreground": "#ffffff",
"properties": { "properties": {
"always_enabled": true, "always_enabled": true
"template": " {{ if gt .Code 0 }}\uf659{{ else }}\uf633{{ end }} "
}, },
"style": "plain", "style": "plain",
"template": " {{ if gt .Code 0 }}\uf659{{ else }}\uf633{{ end }} ",
"type": "exit" "type": "exit"
}, },
{ {
"foreground": "#ffffff", "foreground": "#ffffff",
"properties": { "properties": {
"always_enabled": true, "always_enabled": true
"template": "{{ .FormattedMs }} "
}, },
"style": "plain", "style": "plain",
"template": "{{ .FormattedMs }} ",
"type": "executiontime" "type": "executiontime"
}, },
{ {
@ -122,10 +118,10 @@
"properties": { "properties": {
"charged_icon": "\uf583 ", "charged_icon": "\uf583 ",
"charging_icon": "\uf588 ", "charging_icon": "\uf588 ",
"discharging_icon": "\uf57d ", "discharging_icon": "\uf57d "
"template": " {{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }}% "
}, },
"style": "powerline", "style": "powerline",
"template": " {{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }}% ",
"type": "battery" "type": "battery"
}, },
{ {
@ -133,10 +129,10 @@
"foreground": "#ffffff", "foreground": "#ffffff",
"invert_powerline": true, "invert_powerline": true,
"properties": { "properties": {
"template": " {{ .CurrentDate | date .Format }} ",
"time_format": "15:04 (Mon)" "time_format": "15:04 (Mon)"
}, },
"style": "diamond", "style": "diamond",
"template": " {{ .CurrentDate | date .Format }} ",
"trailing_diamond": "\ue0b4", "trailing_diamond": "\ue0b4",
"type": "time" "type": "time"
} }
@ -146,5 +142,5 @@
], ],
"console_title_template": "{{.UserName}}@{{.HostName}} : {{.Folder}}", "console_title_template": "{{.UserName}}@{{.HostName}} : {{.Folder}}",
"final_space": true, "final_space": true,
"version": 1 "version": 2
} }

Some files were not shown because too many files have changed in this diff Show more