mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-09 20:44:03 -08:00
feat: move template to segment
This commit is contained in:
parent
b9e2f9b229
commit
ee3b1127de
|
@ -13,8 +13,8 @@ sidebar_label: Sample
|
|||
"segments": [
|
||||
{
|
||||
"foreground": "#007ACC",
|
||||
"template": " {{ .CurrentDate | date .Format }} ",
|
||||
"properties": {
|
||||
"template": " {{ .CurrentDate | date .Format }} ",
|
||||
"time_format": "15:04:05"
|
||||
},
|
||||
"style": "plain",
|
||||
|
@ -32,9 +32,7 @@ sidebar_label: Sample
|
|||
"background": "#ffb300",
|
||||
"foreground": "#ffffff",
|
||||
"leading_diamond": "\ue0b6",
|
||||
"properties": {
|
||||
"template": " {{ .UserName }} "
|
||||
},
|
||||
"template": " {{ .UserName }} ",
|
||||
"style": "diamond",
|
||||
"trailing_diamond": "\ue0b0",
|
||||
"type": "session"
|
||||
|
@ -43,12 +41,12 @@ sidebar_label: Sample
|
|||
"background": "#61AFEF",
|
||||
"foreground": "#ffffff",
|
||||
"powerline_symbol": "\ue0b0",
|
||||
"template": " {{ .Path }} ",
|
||||
"properties": {
|
||||
"exclude_folders": [
|
||||
"/super/secret/project"
|
||||
],
|
||||
"style": "folder",
|
||||
"template": " {{ .Path }} "
|
||||
"style": "folder"
|
||||
},
|
||||
"style": "powerline",
|
||||
"type": "path"
|
||||
|
@ -66,10 +64,10 @@ sidebar_label: Sample
|
|||
"{{ if and (gt .Ahead 0) (gt .Behind 0) }}#ffffff{{ end }}"
|
||||
],
|
||||
"powerline_symbol": "\ue0b0",
|
||||
"template": " {{ .HEAD }}{{ .BranchStatus }} ",
|
||||
"properties": {
|
||||
"branch_max_length": 25,
|
||||
"fetch_status": true,
|
||||
"template": " {{ .HEAD }}{{ .BranchStatus }} "
|
||||
"fetch_status": true
|
||||
},
|
||||
"style": "powerline",
|
||||
"type": "git"
|
||||
|
@ -80,9 +78,9 @@ sidebar_label: Sample
|
|||
"{{ if gt .Code 0 }}#e91e63{{ end }}"
|
||||
],
|
||||
"foreground": "#ffffff",
|
||||
"template": "<parentBackground>\ue0b0</> \ue23a ",
|
||||
"properties": {
|
||||
"always_enabled": true,
|
||||
"template": "<parentBackground>\ue0b0</> \ue23a "
|
||||
"always_enabled": true
|
||||
},
|
||||
"style": "diamond",
|
||||
"trailing_diamond": "\ue0b4",
|
||||
|
@ -93,6 +91,6 @@ sidebar_label: Sample
|
|||
}
|
||||
],
|
||||
"final_space": true,
|
||||
"version": 1
|
||||
"version": 2
|
||||
}
|
||||
```
|
||||
|
|
|
@ -39,10 +39,10 @@ You need to extend or create a custom theme with your tooltips. For example:
|
|||
"background": "#fffb38",
|
||||
"leading_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": {
|
||||
"fetch_status": 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 }}"
|
||||
"fetch_upstream_icon": true
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
|
@ -17,9 +17,7 @@ Display the currently active Angular CLI version.
|
|||
"powerline_symbol": "\uE0B0",
|
||||
"foreground": "#000000",
|
||||
"background": "#1976d2",
|
||||
"properties": {
|
||||
"template": " \uE753 {{ .Full }} "
|
||||
}
|
||||
"template": " \uE753 {{ .Full }} "
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
@ -17,9 +17,7 @@ Display the currently active AWS profile and region.
|
|||
"powerline_symbol": "\uE0B0",
|
||||
"foreground": "#ffffff",
|
||||
"background": "#FFA400",
|
||||
"properties": {
|
||||
"template": " \uE7AD {{.Profile}}{{if .Region}}@{{.Region}}{{end}}"
|
||||
}
|
||||
"template": " \uE7AD {{.Profile}}{{if .Region}}@{{.Region}}{{end}}"
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
@ -17,9 +17,7 @@ Display the currently active Azure subscription information.
|
|||
"powerline_symbol": "\uE0B0",
|
||||
"foreground": "#000000",
|
||||
"background": "#9ec3f0",
|
||||
"properties": {
|
||||
"template": " \uFD03 {{ .EnvironmentName }}"
|
||||
}
|
||||
"template": " \uFD03 {{ .EnvironmentName }}"
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
@ -17,8 +17,8 @@ Display the currently active Azure functions CLI version.
|
|||
"powerline_symbol": "\uE0B0",
|
||||
"foreground": "#ffffff",
|
||||
"background": "#FEAC19",
|
||||
"template": " \uf0e7 {{ .Full }} ",
|
||||
"properties": {
|
||||
"template": " \uf0e7 {{ .Full }} ",
|
||||
"fetch_version": true,
|
||||
"display_mode": "files"
|
||||
}
|
||||
|
|
|
@ -26,11 +26,11 @@ Battery displays the remaining power percentage for your battery.
|
|||
"{{if eq \"Discharging\" .State.String}}#ff5722{{end}}",
|
||||
"{{if eq \"Full\" .State.String}}#4caf50{{end}}"
|
||||
],
|
||||
"template": " {{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}\uF295 ",
|
||||
"properties": {
|
||||
"discharging_icon": "\uE231 ",
|
||||
"charging_icon": "\uE234 ",
|
||||
"charged_icon": "\uE22F ",
|
||||
"template": " {{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}\uF295 "
|
||||
"charged_icon": "\uE22F "
|
||||
}
|
||||
}
|
||||
```
|
||||
|
|
|
@ -15,9 +15,7 @@ Display the active [CDS CLI][sap-cap-cds] version.
|
|||
"background": "#a7cae1",
|
||||
"foreground": "#100e23",
|
||||
"powerline_symbol": "\ue0b0",
|
||||
"properties": {
|
||||
"template": " \ue311 cds {{ .Full }} "
|
||||
},
|
||||
"template": " \ue311 cds {{ .Full }} ",
|
||||
"style": "powerline",
|
||||
"type": "cds"
|
||||
}
|
||||
|
|
|
@ -15,9 +15,7 @@ Display the active [Cloud Foundry CLI][cloud-foundry] version.
|
|||
"background": "#a7cae1",
|
||||
"foreground": "#100e23",
|
||||
"powerline_symbol": "\ue0b0",
|
||||
"properties": {
|
||||
"template": " \uf40a cf {{ .Full }} "
|
||||
},
|
||||
"template": " \uf40a cf {{ .Full }} ",
|
||||
"style": "powerline",
|
||||
"type": "cf"
|
||||
}
|
||||
|
|
|
@ -15,9 +15,7 @@ Display the details of the logged [Cloud Foundry endpoint][cf-target] (`cf targe
|
|||
"background": "#a7cae1",
|
||||
"foreground": "#100e23",
|
||||
"powerline_symbol": "\ue0b0",
|
||||
"properties": {
|
||||
"template": " \uf40a {{ .Org }}/{{ .Space }} "
|
||||
},
|
||||
"template": " \uf40a {{ .Org }}/{{ .Space }} ",
|
||||
"style": "powerline",
|
||||
"type": "cftarget"
|
||||
}
|
||||
|
|
|
@ -17,9 +17,7 @@ Display the currently active crystal version.
|
|||
"powerline_symbol": "\uE0B0",
|
||||
"foreground": "#ffffff",
|
||||
"background": "#4063D8",
|
||||
"properties": {
|
||||
"template": " \uE370 {{ .Full }} "
|
||||
}
|
||||
"template": " \uE370 {{ .Full }} "
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
@ -17,9 +17,7 @@ Display the currently active dart version.
|
|||
"powerline_symbol": "\uE0B0",
|
||||
"foreground": "#ffffff",
|
||||
"background": "#06A4CE",
|
||||
"properties": {
|
||||
"template": " \uE798 {{ .Full }} "
|
||||
}
|
||||
"template": " \uE798 {{ .Full }} "
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
@ -17,9 +17,7 @@ Display the currently active .NET SDK version.
|
|||
"powerline_symbol": "\uE0B0",
|
||||
"foreground": "#000000",
|
||||
"background": "#00ffff",
|
||||
"properties": {
|
||||
"template": " \uE77F {{ .Full }} "
|
||||
}
|
||||
"template": " \uE77F {{ .Full }} "
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
@ -21,10 +21,10 @@ The installation guide shows how to include this argument for PowerShell and Zsh
|
|||
"powerline_symbol": "\uE0B0",
|
||||
"foreground": "#ffffff",
|
||||
"background": "#8800dd",
|
||||
"template": " <#fefefe>\ufbab</> ",
|
||||
"properties": {
|
||||
"threshold": 500,
|
||||
"style": "austin",
|
||||
"template": " <#fefefe>\ufbab</> "
|
||||
"style": "austin"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
|
|
@ -21,9 +21,9 @@ Displays the last exit code or that the last command failed based on the configu
|
|||
],
|
||||
"leading_diamond": "",
|
||||
"trailing_diamond": "\uE0B4",
|
||||
"template": "<#193549>\uE0B0</> \uE23A ",
|
||||
"properties": {
|
||||
"always_enabled": true,
|
||||
"template": "<#193549>\uE0B0</> \uE23A "
|
||||
"always_enabled": true
|
||||
}
|
||||
}
|
||||
```
|
||||
|
|
|
@ -42,11 +42,11 @@ An alternative is to use the [Posh-Git segment][poshgit]
|
|||
"{{ if gt .Ahead 0 }}#B388FF{{ 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": {
|
||||
"fetch_status": true,
|
||||
"fetch_stash_count": 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 }}"
|
||||
"fetch_upstream_icon": true
|
||||
}
|
||||
}
|
||||
```
|
||||
|
|
|
@ -17,9 +17,7 @@ Display the currently active golang version.
|
|||
"powerline_symbol": "\uE0B0",
|
||||
"foreground": "#ffffff",
|
||||
"background": "#7FD5EA",
|
||||
"properties": {
|
||||
"template": " \uFCD1 {{ .Full }} "
|
||||
}
|
||||
"template": " \uFCD1 {{ .Full }} "
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
@ -17,9 +17,7 @@ Display the currently active Glasgow Haskell Compiler (GHC) version.
|
|||
"powerline_symbol": "\uE0B0",
|
||||
"foreground": "#906cff",
|
||||
"background": "#100e23",
|
||||
"properties": {
|
||||
"template": " \ue61f {{ .Full }}"
|
||||
}
|
||||
"template": " \ue61f {{ .Full }}"
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
@ -18,8 +18,8 @@ sidebar_label: Ipify
|
|||
"background": "#c386f1",
|
||||
"leading_diamond": "",
|
||||
"trailing_diamond": "\uE0B0",
|
||||
"template": "{{ .IP }}",
|
||||
"properties": {
|
||||
"template": "{{ .IP }}",
|
||||
"cache_timeout": 5,
|
||||
"http_timeout": 1000
|
||||
}
|
||||
|
|
|
@ -17,9 +17,7 @@ Display the currently active java version.
|
|||
"powerline_symbol": "\uE0B0",
|
||||
"foreground": "#ffffff",
|
||||
"background": "#4063D8",
|
||||
"properties": {
|
||||
"template": " \uE738 {{ .Full }}"
|
||||
}
|
||||
"template": " \uE738 {{ .Full }}"
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
@ -17,9 +17,7 @@ Display the currently active julia version.
|
|||
"powerline_symbol": "\uE0B0",
|
||||
"foreground": "#ffffff",
|
||||
"background": "#4063D8",
|
||||
"properties": {
|
||||
"template": " \uE624 {{ .Full }} "
|
||||
}
|
||||
"template": " \uE624 {{ .Full }} "
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
@ -17,9 +17,7 @@ Display the currently active [Kotlin][kotlin] version.
|
|||
"powerline_symbol": "\uE0B0",
|
||||
"foreground": "#ffffff",
|
||||
"background": "#906cff",
|
||||
"properties": {
|
||||
"template": " \ufa05 {{ .Full }} "
|
||||
}
|
||||
"template": " \ufa05 {{ .Full }} "
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
@ -17,9 +17,7 @@ Display the currently active Kubernetes context name and namespace name.
|
|||
"powerline_symbol": "\uE0B0",
|
||||
"foreground": "#000000",
|
||||
"background": "#ebcc34",
|
||||
"properties": {
|
||||
"template": " \uFD31 {{.Context}}{{if .Namespace}} :: {{.Namespace}}{{end}} "
|
||||
}
|
||||
"template": " \uFD31 {{.Context}}{{if .Namespace}} :: {{.Namespace}}{{end}} "
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
@ -21,9 +21,7 @@ The Nerdbank.GitVersioning CLI can be a bit slow causing the prompt to feel slow
|
|||
"powerline_symbol": "\uE0B0",
|
||||
"foreground": "#ffffff",
|
||||
"background": "#3a579a",
|
||||
"properties": {
|
||||
"template": " \uF1D2 {{ .Version }} "
|
||||
}
|
||||
"template": " \uF1D2 {{ .Version }} "
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
@ -42,10 +42,10 @@ if that color is visible against any of your backgrounds.
|
|||
|
||||
"leading_diamond": "",
|
||||
"trailing_diamond": "\uE0B0",
|
||||
"template": "\ue2a1 {{ .Sgv }}{{ .TrendIcon }}",
|
||||
"properties": {
|
||||
"url": "https://YOURNIGHTSCOUTAPP.herokuapp.com/api/v1/entries.json?count=1&token=APITOKENFROMYOURADMIN",
|
||||
"http_timeout": 1500,
|
||||
"template": "\ue2a1 {{ .Sgv }}{{ .TrendIcon }}"
|
||||
"http_timeout": 1500
|
||||
}
|
||||
}
|
||||
```
|
||||
|
|
|
@ -17,9 +17,7 @@ Display the currently active node version.
|
|||
"powerline_symbol": "\uE0B0",
|
||||
"foreground": "#ffffff",
|
||||
"background": "#6CA35E",
|
||||
"properties": {
|
||||
"template": " \uE718 {{ .Full }} "
|
||||
}
|
||||
"template": " \uE718 {{ .Full }} "
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
@ -17,9 +17,7 @@ Display the currently active npm version.
|
|||
"powerline_symbol": "\uE0B0",
|
||||
"foreground": "#193549",
|
||||
"background": "#ffeb3b",
|
||||
"properties": {
|
||||
"template": "\ue71e {{ .Full }} "
|
||||
}
|
||||
"template": "\ue71e {{ .Full }} "
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
@ -16,8 +16,8 @@ Display OS specific info - defaults to Icon.
|
|||
"style": "plain",
|
||||
"foreground": "#26C6DA",
|
||||
"background": "#546E7A",
|
||||
"template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}}\uE0B1",
|
||||
"properties": {
|
||||
"template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}}\uE0B1",
|
||||
"macos": "mac"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -23,13 +23,13 @@ The free tier for *Current weather and forecasts collection* is sufficient.
|
|||
"powerline_symbol": "\uE0B0",
|
||||
"foreground": "#ffffff",
|
||||
"background": "#FF0000",
|
||||
"template": "{{.Weather}} ({{.Temperature}}{{.UnitIcon}})",
|
||||
"properties": {
|
||||
"apikey": "<YOUR_API_KEY>",
|
||||
"location": "AMSTERDAM,NL",
|
||||
"units": "metric",
|
||||
"http_timeout": 20,
|
||||
"cache_timeout": 10,
|
||||
"template": "{{.Weather}} ({{.Temperature}}{{.UnitIcon}})"
|
||||
"cache_timeout": 10
|
||||
}
|
||||
}
|
||||
```
|
||||
|
|
|
@ -17,9 +17,7 @@ Display the currently active php version.
|
|||
"powerline_symbol": "\uE0B0",
|
||||
"foreground": "#ffffff",
|
||||
"background": "#4063D8",
|
||||
"properties": {
|
||||
"template": " \ue73d {{ .Full }} ",
|
||||
}
|
||||
"template": " \ue73d {{ .Full }} ",
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
@ -33,11 +33,11 @@ Local changes can also be displayed which uses the following syntax (see `.Statu
|
|||
"{{ if and .Changed .Behind }}#ff4500{{ end }}",
|
||||
"{{ if .Behind }}#B388FF{{ end }}"
|
||||
],
|
||||
"template": "{{ .Selector }}{{ if .Status.Changed }} \uF044 {{ end }}{{ .Status.String }}",
|
||||
"properties": {
|
||||
"fetch_status": true,
|
||||
"branch_max_length": 25,
|
||||
"truncate_symbol": "\u2026",
|
||||
"template": "{{ .Selector }}{{ if .Status.Changed }} \uF044 {{ end }}{{ .Status.String }}"
|
||||
"truncate_symbol": "\u2026"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
|
|
@ -21,9 +21,7 @@ Supports:
|
|||
"powerline_symbol": "\uE0B0",
|
||||
"foreground": "#193549",
|
||||
"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 }} "
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
@ -18,9 +18,7 @@ Supports conda, virtualenv and pyenv.
|
|||
"powerline_symbol": "\uE0B0",
|
||||
"foreground": "#100e23",
|
||||
"background": "#906cff",
|
||||
"properties": {
|
||||
"template": " \uE235 {{ .Full }} "
|
||||
}
|
||||
"template": " \uE235 {{ .Full }} "
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
@ -17,9 +17,7 @@ Display the currently active [R][r-homepage] version.
|
|||
"powerline_symbol": "\uE0B0",
|
||||
"foreground": "blue",
|
||||
"background": "lightWhite",
|
||||
"properties": {
|
||||
"template": " R {{ .Full }} "
|
||||
}
|
||||
"template": " R {{ .Full }} "
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
@ -17,9 +17,7 @@ Show when the current user is root or when in an elevated shell (Windows).
|
|||
"powerline_symbol": "\uE0B0",
|
||||
"foreground": "#111111",
|
||||
"background": "#ffff66",
|
||||
"properties": {
|
||||
"template": "\uF0E7"
|
||||
}
|
||||
"template": "\uF0E7"
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
@ -17,9 +17,7 @@ Display the currently active ruby version.
|
|||
"powerline_symbol": "\uE0B0",
|
||||
"foreground": "#ffffff",
|
||||
"background": "#4063D8",
|
||||
"properties": {
|
||||
"template": " \uE791 {{ .Full }}"
|
||||
}
|
||||
"template": " \uE791 {{ .Full }}"
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
@ -17,9 +17,7 @@ Display the currently active rust version.
|
|||
"powerline_symbol": "\uE0B0",
|
||||
"foreground": "#193549",
|
||||
"background": "#99908a",
|
||||
"properties": {
|
||||
"template": " \uE7a8 {{ .Full }} "
|
||||
}
|
||||
"template": " \uE7a8 {{ .Full }} "
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
@ -18,9 +18,7 @@ Show the current user and host name.
|
|||
"background": "#c386f1",
|
||||
"leading_diamond": "\uE0B6",
|
||||
"trailing_diamond": "\uE0B0",
|
||||
"properties": {
|
||||
"template": "{{ if .SSHSession }}\uF817 {{ end }}{{ .UserName }}"
|
||||
}
|
||||
"template": "{{ if .SSHSession }}\uF817 {{ end }}{{ .UserName }}"
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
@ -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 lt .Hours 50 }}#FFFFFF{{ end }}"
|
||||
],
|
||||
"template": "{{.Name}} {{.Ago}} {{.Icon}}",
|
||||
"properties": {
|
||||
"access_token":"11111111111111111",
|
||||
"refresh_token":"1111111111111111",
|
||||
"http_timeout": 1500,
|
||||
"template": "{{.Name}} {{.Ago}} {{.Icon}}"
|
||||
"http_timeout": 1500
|
||||
}
|
||||
}
|
||||
```
|
||||
|
|
|
@ -17,9 +17,7 @@ Display the currently active [Swift][swift] version.
|
|||
"powerline_symbol": "\uE0B0",
|
||||
"foreground": "#ffffff",
|
||||
"background": "#f6553c",
|
||||
"properties": {
|
||||
"template": " \ue755 {{ .Full }} "
|
||||
}
|
||||
"template": " \ue755 {{ .Full }} "
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
@ -16,9 +16,9 @@ Display SysInfo.
|
|||
"powerline_symbol": "\ue0b0",
|
||||
"foreground": "#ffffff",
|
||||
"background": "#8f43f3",
|
||||
"template":" \uf85a {{ round .PhysicalPercentUsed .Precision }}% ",
|
||||
"properties": {
|
||||
"precision": 2,
|
||||
"template":" \uf85a {{ round .PhysicalPercentUsed .Precision }}% "
|
||||
"precision": 2
|
||||
},
|
||||
"style":"powerline"
|
||||
},
|
||||
|
|
|
@ -21,9 +21,7 @@ This requires a terraform binary in your PATH and will only show in directories
|
|||
"powerline_symbol": "\uE0B0",
|
||||
"foreground": "#000000",
|
||||
"background": "#ebcc34",
|
||||
"properties": {
|
||||
"template": "{{.WorkspaceName}}"
|
||||
},
|
||||
"template": "{{.WorkspaceName}}"
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
@ -15,9 +15,7 @@ Display text.
|
|||
"type": "text",
|
||||
"style": "plain",
|
||||
"foreground": "#E06C75",
|
||||
"properties": {
|
||||
"template": "\u276F"
|
||||
}
|
||||
"template": "\u276F"
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
@ -16,9 +16,7 @@ see [the documentation][ui5-version-help]).
|
|||
"background": "#f5a834",
|
||||
"foreground": "#100e23",
|
||||
"powerline_symbol": "\ue0b0",
|
||||
"properties": {
|
||||
"template": " \ufab6ui5 {{ .Full }} "
|
||||
},
|
||||
"template": " \ufab6ui5 {{ .Full }} ",
|
||||
"style": "powerline",
|
||||
"type": "ui5tooling"
|
||||
}
|
||||
|
|
|
@ -24,9 +24,7 @@ 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 }}"
|
||||
],
|
||||
"powerline_symbol": "\uE0B0",
|
||||
"properties": {
|
||||
"template": "\uFAA8 {{ .SSID }} {{ .Signal }}% {{ .ReceiveRate }}Mbps"
|
||||
}
|
||||
"template": "\uFAA8 {{ .SSID }} {{ .Signal }}% {{ .ReceiveRate }}Mbps"
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
@ -23,10 +23,10 @@ Supported registry key types:
|
|||
"powerline_symbol": "\uE0B0",
|
||||
"foreground": "#ffffff",
|
||||
"background": "#444444",
|
||||
"template":" \uE62A {{ .Value }}",
|
||||
"properties": {
|
||||
"path": "HKLM\\software\\microsoft\\windows nt\\currentversion\\buildlab",
|
||||
"fallback":"unknown",
|
||||
"template":" \uE62A {{ .Value }}"
|
||||
"fallback":"unknown"
|
||||
}
|
||||
},
|
||||
```
|
||||
|
|
|
@ -24,7 +24,7 @@ const (
|
|||
YAML string = "yaml"
|
||||
TOML string = "toml"
|
||||
|
||||
configVersion = 1
|
||||
configVersion = 2
|
||||
)
|
||||
|
||||
// Config holds all the theme for rendering the prompt
|
||||
|
@ -43,7 +43,7 @@ type Config struct {
|
|||
DebugPrompt *ExtraPrompt `json:"debug_prompt,omitempty"`
|
||||
Palette color.Palette `json:"palette,omitempty"`
|
||||
|
||||
Output string
|
||||
Output string `json:"-"`
|
||||
|
||||
format string
|
||||
origin string
|
||||
|
@ -280,9 +280,7 @@ func defaultConfig() *Config {
|
|||
PowerlineSymbol: "\uE0B0",
|
||||
Background: "#ffffff",
|
||||
Foreground: "#111111",
|
||||
Properties: properties.Map{
|
||||
properties.SegmentTemplate: " no config ",
|
||||
},
|
||||
Template: " no config ",
|
||||
},
|
||||
{
|
||||
Type: EXIT,
|
||||
|
@ -294,9 +292,9 @@ func defaultConfig() *Config {
|
|||
BackgroundTemplates: []string{
|
||||
"{{ if gt .Code 0 }}#f1184c{{ end }}",
|
||||
},
|
||||
Template: " \uE23A",
|
||||
Properties: properties.Map{
|
||||
properties.AlwaysEnabled: true,
|
||||
properties.SegmentTemplate: " \uE23A",
|
||||
properties.AlwaysEnabled: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
|
@ -11,8 +11,9 @@ import (
|
|||
const (
|
||||
colorBackground = properties.Property("color_background")
|
||||
|
||||
prefix = properties.Property("prefix")
|
||||
postfix = properties.Property("postfix")
|
||||
prefix = properties.Property("prefix")
|
||||
postfix = properties.Property("postfix")
|
||||
segmentTemplate = properties.Property("template")
|
||||
)
|
||||
|
||||
func (cfg *Config) Migrate(env environment.Environment) {
|
||||
|
@ -35,6 +36,9 @@ func (segment *Segment) migrate(env environment.Environment, version int) {
|
|||
if version < 1 {
|
||||
segment.migrationOne(env)
|
||||
}
|
||||
if version < 2 {
|
||||
segment.migrationTwo(env)
|
||||
}
|
||||
}
|
||||
|
||||
func (segment *Segment) migrationOne(env environment.Environment) {
|
||||
|
@ -46,10 +50,10 @@ func (segment *Segment) migrationOne(env environment.Environment) {
|
|||
delete(segment.Properties, "enable_hyperlink")
|
||||
switch segment.Type { // nolint:exhaustive
|
||||
case TEXT:
|
||||
segment.migratePropertyKey("text", properties.SegmentTemplate)
|
||||
segment.migratePropertyKey("text", segmentTemplate)
|
||||
segment.migrateTemplate()
|
||||
case GIT:
|
||||
hasTemplate := segment.hasProperty(properties.SegmentTemplate)
|
||||
hasTemplate := segment.hasProperty(segmentTemplate)
|
||||
segment.migratePropertyKey("display_status", segments.FetchStatus)
|
||||
segment.migratePropertyKey("display_stash_count", segments.FetchStashCount)
|
||||
segment.migratePropertyKey("display_worktree_count", segments.FetchWorktreeCount)
|
||||
|
@ -90,9 +94,9 @@ func (segment *Segment) migrationOne(env environment.Environment) {
|
|||
}
|
||||
if len(stateList) < 3 {
|
||||
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, " ")))
|
||||
segment.Properties[properties.SegmentTemplate] = template
|
||||
segment.Properties[segmentTemplate] = template
|
||||
}
|
||||
// legacy properties
|
||||
delete(segment.Properties, "display_charging")
|
||||
|
@ -102,10 +106,10 @@ func (segment *Segment) migrationOne(env environment.Environment) {
|
|||
segment.migrateTemplate()
|
||||
segment.migratePropertyKey("display_virtual_env", segments.FetchVirtualEnv)
|
||||
case SESSION:
|
||||
hasTemplate := segment.hasProperty(properties.SegmentTemplate)
|
||||
hasTemplate := segment.hasProperty(segmentTemplate)
|
||||
segment.migrateTemplate()
|
||||
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")
|
||||
if !segment.Properties.GetBool(properties.Property("display_host"), true) {
|
||||
template = strings.ReplaceAll(template, "@{{ .HostName }}", "")
|
||||
|
@ -114,7 +118,7 @@ func (segment *Segment) migrationOne(env environment.Environment) {
|
|||
template = strings.ReplaceAll(template, "@", "")
|
||||
template = strings.ReplaceAll(template, "{{ .UserName }}", "")
|
||||
}
|
||||
segment.Properties[properties.SegmentTemplate] = template
|
||||
segment.Properties[segmentTemplate] = template
|
||||
segment.migrateIconOverride("user_info_separator", "@")
|
||||
if !hasTemplate {
|
||||
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)
|
||||
}
|
||||
case EXIT:
|
||||
template := segment.Properties.GetString(properties.SegmentTemplate, segment.writer.Template())
|
||||
template := segment.Properties.GetString(segmentTemplate, segment.writer.Template())
|
||||
if strings.Contains(template, ".Text") {
|
||||
template = strings.ReplaceAll(template, ".Text", ".Meaning")
|
||||
segment.Properties[properties.SegmentTemplate] = template
|
||||
segment.Properties[segmentTemplate] = template
|
||||
}
|
||||
displayExitCode := properties.Property("display_exit_code")
|
||||
if !segment.Properties.GetBool(displayExitCode, true) {
|
||||
|
@ -145,7 +149,7 @@ func (segment *Segment) migrationOne(env environment.Environment) {
|
|||
delete(segment.Properties, alwaysNumeric)
|
||||
template = strings.ReplaceAll(template, ".Meaning", ".Code")
|
||||
}
|
||||
segment.Properties[properties.SegmentTemplate] = template
|
||||
segment.Properties[segmentTemplate] = template
|
||||
segment.migrateTemplate()
|
||||
segment.migrateIconOverride("success_icon", "\uf42e")
|
||||
segment.migrateIconOverride("error_icon", "\uf00d")
|
||||
|
@ -157,6 +161,18 @@ func (segment *Segment) migrationOne(env environment.Environment) {
|
|||
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 {
|
||||
for key := range segment.Properties {
|
||||
if key == property {
|
||||
|
@ -184,7 +200,7 @@ func (segment *Segment) migratePropertyKey(oldProperty, newProperty properties.P
|
|||
|
||||
func (segment *Segment) migrateTemplate() {
|
||||
defer segment.migratePreAndPostFix()
|
||||
if segment.hasProperty(properties.SegmentTemplate) {
|
||||
if segment.hasProperty(segmentTemplate) {
|
||||
// existing template, ensure to add default pre/postfix values
|
||||
if !segment.hasProperty(prefix) {
|
||||
segment.Properties[prefix] = " "
|
||||
|
@ -194,18 +210,18 @@ func (segment *Segment) migrateTemplate() {
|
|||
}
|
||||
return
|
||||
}
|
||||
segment.Properties[properties.SegmentTemplate] = segment.writer.Template()
|
||||
segment.Properties[segmentTemplate] = segment.writer.Template()
|
||||
}
|
||||
|
||||
func (segment *Segment) migrateIconOverride(property properties.Property, overrideValue string) {
|
||||
if !segment.hasProperty(property) {
|
||||
return
|
||||
}
|
||||
template := segment.Properties.GetString(properties.SegmentTemplate, segment.writer.Template())
|
||||
template := segment.Properties.GetString(segmentTemplate, segment.writer.Template())
|
||||
if strings.Contains(template, overrideValue) {
|
||||
template = strings.ReplaceAll(template, overrideValue, segment.Properties.GetString(property, ""))
|
||||
}
|
||||
segment.Properties[properties.SegmentTemplate] = template
|
||||
segment.Properties[segmentTemplate] = template
|
||||
delete(segment.Properties, property)
|
||||
}
|
||||
|
||||
|
@ -236,13 +252,13 @@ func (segment *Segment) migrateInlineColorOverride(property properties.Property,
|
|||
return
|
||||
}
|
||||
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)
|
||||
segment.Properties[properties.SegmentTemplate] = template
|
||||
segment.Properties[segmentTemplate] = template
|
||||
}
|
||||
|
||||
func (segment *Segment) migratePreAndPostFix() {
|
||||
template := segment.Properties.GetString(properties.SegmentTemplate, segment.writer.Template())
|
||||
template := segment.Properties.GetString(segmentTemplate, segment.writer.Template())
|
||||
defaultValue := " "
|
||||
if segment.hasProperty(prefix) {
|
||||
prefix := segment.Properties.GetString(prefix, defaultValue)
|
||||
|
@ -256,5 +272,5 @@ func (segment *Segment) migratePreAndPostFix() {
|
|||
template += postfix
|
||||
delete(segment.Properties, "postfix")
|
||||
}
|
||||
segment.Properties[properties.SegmentTemplate] = template
|
||||
segment.Properties[segmentTemplate] = template
|
||||
}
|
||||
|
|
|
@ -102,8 +102,8 @@ func TestIconOverride(t *testing.T) {
|
|||
Expected: "hello bar bar",
|
||||
Property: Foo,
|
||||
Props: properties.Map{
|
||||
Foo: " bar ",
|
||||
properties.SegmentTemplate: "hello foo bar",
|
||||
Foo: " bar ",
|
||||
segmentTemplate: "hello foo bar",
|
||||
},
|
||||
},
|
||||
{
|
||||
|
@ -111,8 +111,8 @@ func TestIconOverride(t *testing.T) {
|
|||
Expected: "hello foo bar",
|
||||
Property: Foo,
|
||||
Props: properties.Map{
|
||||
Bar: " bar ",
|
||||
properties.SegmentTemplate: "hello foo bar",
|
||||
Bar: " bar ",
|
||||
segmentTemplate: "hello foo bar",
|
||||
},
|
||||
},
|
||||
}
|
||||
|
@ -120,11 +120,11 @@ func TestIconOverride(t *testing.T) {
|
|||
segment := &Segment{
|
||||
Properties: tc.Props,
|
||||
writer: &MockedWriter{
|
||||
template: tc.Props.GetString(properties.SegmentTemplate, ""),
|
||||
template: tc.Props.GetString(segmentTemplate, ""),
|
||||
},
|
||||
}
|
||||
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,
|
||||
}
|
||||
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)
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -341,8 +341,8 @@ func TestInlineColorOverride(t *testing.T) {
|
|||
Expected: "hello <#123456>foo</> bar",
|
||||
Property: Foo,
|
||||
Props: properties.Map{
|
||||
Foo: "#123456",
|
||||
properties.SegmentTemplate: "hello foo bar",
|
||||
Foo: "#123456",
|
||||
segmentTemplate: "hello foo bar",
|
||||
},
|
||||
},
|
||||
{
|
||||
|
@ -350,8 +350,8 @@ func TestInlineColorOverride(t *testing.T) {
|
|||
Expected: "hello foo bar",
|
||||
Property: Foo,
|
||||
Props: properties.Map{
|
||||
Bar: "#123456",
|
||||
properties.SegmentTemplate: "hello foo bar",
|
||||
Bar: "#123456",
|
||||
segmentTemplate: "hello foo bar",
|
||||
},
|
||||
},
|
||||
}
|
||||
|
@ -359,11 +359,11 @@ func TestInlineColorOverride(t *testing.T) {
|
|||
segment := &Segment{
|
||||
Properties: tc.Props,
|
||||
writer: &MockedWriter{
|
||||
template: tc.Props.GetString(properties.SegmentTemplate, ""),
|
||||
template: tc.Props.GetString(segmentTemplate, ""),
|
||||
},
|
||||
}
|
||||
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{
|
||||
Properties: tc.Props,
|
||||
writer: &MockedWriter{
|
||||
template: tc.Props.GetString(properties.SegmentTemplate, ""),
|
||||
template: tc.Props.GetString(segmentTemplate, ""),
|
||||
},
|
||||
}
|
||||
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, "postfix", tc.Case)
|
||||
}
|
||||
|
@ -431,3 +431,36 @@ func TestMigrateConfig(t *testing.T) {
|
|||
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)
|
||||
}
|
||||
}
|
||||
|
|
|
@ -26,6 +26,7 @@ type Segment struct {
|
|||
BackgroundTemplates color.Templates `json:"background_templates,omitempty"`
|
||||
LeadingDiamond string `json:"leading_diamond,omitempty"`
|
||||
TrailingDiamond string `json:"trailing_diamond,omitempty"`
|
||||
Template string `json:"template,omitempty"`
|
||||
Properties properties.Map `json:"properties,omitempty"`
|
||||
|
||||
writer SegmentWriter
|
||||
|
@ -300,9 +301,11 @@ func (segment *Segment) mapSegmentWithWriter(env environment.Environment) error
|
|||
}
|
||||
|
||||
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{
|
||||
Template: segmentTemplate,
|
||||
Template: segment.Template,
|
||||
Context: segment.writer,
|
||||
Env: segment.env,
|
||||
}
|
||||
|
|
|
@ -33,8 +33,6 @@ const (
|
|||
FetchVersion Property = "fetch_version"
|
||||
// AlwaysEnabled decides whether or not to always display the info
|
||||
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 Property = "version_url_template"
|
||||
// DisplayError to display when an error occurs or not
|
||||
|
|
|
@ -3,7 +3,6 @@ package segments
|
|||
import (
|
||||
"oh-my-posh/environment"
|
||||
"oh-my-posh/mock"
|
||||
"oh-my-posh/properties"
|
||||
"testing"
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
|
@ -41,9 +40,6 @@ func TestTextSegment(t *testing.T) {
|
|||
})
|
||||
txt := &Text{
|
||||
env: env,
|
||||
props: properties.Map{
|
||||
properties.SegmentTemplate: tc.Template,
|
||||
},
|
||||
}
|
||||
assert.Equal(t, tc.ExpectedString, renderTemplate(env, tc.Template, txt), tc.Case)
|
||||
}
|
||||
|
|
|
@ -8,10 +8,8 @@
|
|||
"background": "#9A348E",
|
||||
"foreground": "#ffffff",
|
||||
"leading_diamond": "\ue0b6",
|
||||
"properties": {
|
||||
"template": "{{ .UserName }} "
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "{{ .UserName }} ",
|
||||
"type": "session"
|
||||
},
|
||||
{
|
||||
|
@ -19,10 +17,10 @@
|
|||
"foreground": "#ffffff",
|
||||
"powerline_symbol": "\ue0b0",
|
||||
"properties": {
|
||||
"style": "folder",
|
||||
"template": " {{ .Path }} "
|
||||
"style": "folder"
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": " {{ .Path }} ",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
|
@ -33,30 +31,28 @@
|
|||
"branch_icon": "",
|
||||
"fetch_stash_count": true,
|
||||
"fetch_status": false,
|
||||
"fetch_upstream_icon": true,
|
||||
"template": " \u279c ({{ .UpstreamIcon }}{{ .HEAD }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }}) "
|
||||
"fetch_upstream_icon": true
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": " \u279c ({{ .UpstreamIcon }}{{ .HEAD }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }}) ",
|
||||
"type": "git"
|
||||
},
|
||||
{
|
||||
"background": "#86BBD8",
|
||||
"foreground": "#ffffff",
|
||||
"powerline_symbol": "\ue0b0",
|
||||
"properties": {
|
||||
"template": " \ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} "
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": " \ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} ",
|
||||
"type": "node"
|
||||
},
|
||||
{
|
||||
"background": "#33658A",
|
||||
"foreground": "#ffffff",
|
||||
"properties": {
|
||||
"template": " \u2665 {{ .CurrentDate | date .Format }} ",
|
||||
"time_format": "15:04"
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": " \u2665 {{ .CurrentDate | date .Format }} ",
|
||||
"trailing_diamond": "\ue0b0",
|
||||
"type": "time"
|
||||
}
|
||||
|
@ -65,5 +61,5 @@
|
|||
}
|
||||
],
|
||||
"final_space": true,
|
||||
"version": 1
|
||||
"version": 2
|
||||
}
|
||||
|
|
|
@ -8,20 +8,16 @@
|
|||
"background": "#ffe9aa",
|
||||
"foreground": "#100e23",
|
||||
"powerline_symbol": "\ue0b0",
|
||||
"properties": {
|
||||
"template": " \uf0e7 "
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": " \uf0e7 ",
|
||||
"type": "root"
|
||||
},
|
||||
{
|
||||
"background": "#ffffff",
|
||||
"foreground": "#100e23",
|
||||
"powerline_symbol": "\ue0b0",
|
||||
"properties": {
|
||||
"template": " {{ .UserName }}@{{ .HostName }} "
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": " {{ .UserName }}@{{ .HostName }} ",
|
||||
"type": "session"
|
||||
},
|
||||
{
|
||||
|
@ -32,40 +28,34 @@
|
|||
"folder_icon": "\uf115",
|
||||
"folder_separator_icon": " \ue0b1 ",
|
||||
"home_icon": "\uf7db",
|
||||
"style": "agnoster",
|
||||
"template": " {{ .Path }} "
|
||||
"style": "agnoster"
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": " {{ .Path }} ",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"background": "#95ffa4",
|
||||
"foreground": "#193549",
|
||||
"powerline_symbol": "\ue0b0",
|
||||
"properties": {
|
||||
"template": " {{ .HEAD }} "
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": " {{ .HEAD }} ",
|
||||
"type": "git"
|
||||
},
|
||||
{
|
||||
"background": "#906cff",
|
||||
"foreground": "#100e23",
|
||||
"powerline_symbol": "\ue0b0",
|
||||
"properties": {
|
||||
"template": " \ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }} "
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": " \ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }} ",
|
||||
"type": "python"
|
||||
},
|
||||
{
|
||||
"background": "#ff8080",
|
||||
"foreground": "#ffffff",
|
||||
"powerline_symbol": "\ue0b0",
|
||||
"properties": {
|
||||
"template": " {{ .Meaning }} "
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": " {{ .Meaning }} ",
|
||||
"type": "exit"
|
||||
}
|
||||
],
|
||||
|
@ -73,5 +63,5 @@
|
|||
}
|
||||
],
|
||||
"final_space": true,
|
||||
"version": 1
|
||||
"version": 2
|
||||
}
|
||||
|
|
|
@ -7,10 +7,10 @@
|
|||
{
|
||||
"foreground": "#007ACC",
|
||||
"properties": {
|
||||
"template": " {{ .CurrentDate | date .Format }} ",
|
||||
"time_format": "15:04:05"
|
||||
},
|
||||
"style": "plain",
|
||||
"template": " {{ .CurrentDate | date .Format }} ",
|
||||
"type": "time"
|
||||
}
|
||||
],
|
||||
|
@ -25,10 +25,8 @@
|
|||
"background": "#ffffff",
|
||||
"foreground": "#100e23",
|
||||
"powerline_symbol": "\ue0b0",
|
||||
"properties": {
|
||||
"template": " {{ .UserName }}@{{ .HostName }} "
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": " {{ .UserName }}@{{ .HostName }} ",
|
||||
"type": "session"
|
||||
},
|
||||
{
|
||||
|
@ -39,20 +37,18 @@
|
|||
"folder_icon": "\uf115",
|
||||
"folder_separator_icon": " \ue0b1 ",
|
||||
"home_icon": "\uf7db",
|
||||
"style": "agnoster",
|
||||
"template": " {{ .Path }} "
|
||||
"style": "agnoster"
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": " {{ .Path }} ",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"background": "#95ffa4",
|
||||
"foreground": "#193549",
|
||||
"powerline_symbol": "\ue0b0",
|
||||
"properties": {
|
||||
"template": " {{ .HEAD }} "
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": " {{ .HEAD }} ",
|
||||
"type": "git"
|
||||
}
|
||||
],
|
||||
|
@ -60,5 +56,5 @@
|
|||
}
|
||||
],
|
||||
"final_space": true,
|
||||
"version": 1
|
||||
"version": 2
|
||||
}
|
||||
|
|
|
@ -8,10 +8,8 @@
|
|||
"background": "#61AFEF",
|
||||
"foreground": "#ffffff",
|
||||
"leading_diamond": "\ue0b6",
|
||||
"properties": {
|
||||
"template": " {{ .UserName }}@{{ .HostName }} "
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": " {{ .UserName }}@{{ .HostName }} ",
|
||||
"trailing_diamond": "\ue0b0",
|
||||
"type": "session"
|
||||
},
|
||||
|
@ -20,30 +18,26 @@
|
|||
"foreground": "#ffffff",
|
||||
"powerline_symbol": "\ue0b0",
|
||||
"properties": {
|
||||
"style": "full",
|
||||
"template": " {{ .Path }} "
|
||||
"style": "full"
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": " {{ .Path }} ",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"background": "#95ffa4",
|
||||
"foreground": "#193549",
|
||||
"powerline_symbol": "\ue0b0",
|
||||
"properties": {
|
||||
"template": " {{ .HEAD }} "
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": " {{ .HEAD }} ",
|
||||
"type": "git"
|
||||
},
|
||||
{
|
||||
"background": "#FF6471",
|
||||
"foreground": "#ffffff",
|
||||
"leading_diamond": "<transparent,background>\ue0b0</>",
|
||||
"properties": {
|
||||
"template": " {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }} "
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": " {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }} ",
|
||||
"trailing_diamond": "\ue0b4",
|
||||
"type": "python"
|
||||
}
|
||||
|
@ -52,5 +46,5 @@
|
|||
}
|
||||
],
|
||||
"final_space": true,
|
||||
"version": 1
|
||||
"version": 2
|
||||
}
|
||||
|
|
|
@ -6,20 +6,18 @@
|
|||
"segments": [
|
||||
{
|
||||
"foreground": "#45F1C2",
|
||||
"properties": {
|
||||
"template": "\uf508 {{ .UserName }} on"
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "\uf508 {{ .UserName }} on",
|
||||
"type": "session"
|
||||
},
|
||||
{
|
||||
"foreground": "#0CA0D8",
|
||||
"properties": {
|
||||
"folder_separator_icon": "/",
|
||||
"style": "full",
|
||||
"template": " \uf07b {{ .Path }} "
|
||||
"style": "full"
|
||||
},
|
||||
"style": "plain",
|
||||
"template": " \uf07b {{ .Path }} ",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
|
@ -27,10 +25,10 @@
|
|||
"powerline_symbol": "\ue0b0",
|
||||
"properties": {
|
||||
"fetch_stash_count": true,
|
||||
"fetch_upstream_icon": true,
|
||||
"template": "{{ .UpstreamIcon }}{{ .HEAD }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} "
|
||||
"fetch_upstream_icon": true
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "{{ .UpstreamIcon }}{{ .HEAD }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} ",
|
||||
"type": "git"
|
||||
}
|
||||
],
|
||||
|
@ -42,23 +40,19 @@
|
|||
"segments": [
|
||||
{
|
||||
"foreground": "#cd5e42",
|
||||
"properties": {
|
||||
"template": "\ue3bf "
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "\ue3bf ",
|
||||
"type": "root"
|
||||
},
|
||||
{
|
||||
"foreground": "#CD4277",
|
||||
"properties": {
|
||||
"template": "# "
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "# ",
|
||||
"type": "text"
|
||||
}
|
||||
],
|
||||
"type": "prompt"
|
||||
}
|
||||
],
|
||||
"version": 1
|
||||
"version": 2
|
||||
}
|
||||
|
|
|
@ -8,19 +8,15 @@
|
|||
"background": "#0077c2",
|
||||
"foreground": "#ffffff",
|
||||
"leading_diamond": "\u256d\u2500\ue0b6",
|
||||
"properties": {
|
||||
"template": "\uf120 {{ .Name }} "
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "\uf120 {{ .Name }} ",
|
||||
"type": "shell"
|
||||
},
|
||||
{
|
||||
"background": "#ef5350",
|
||||
"foreground": "#FFFB38",
|
||||
"properties": {
|
||||
"template": "<parentBackground>\ue0b0</> \uf292 "
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "<parentBackground>\ue0b0</> \uf292 ",
|
||||
"type": "root"
|
||||
},
|
||||
{
|
||||
|
@ -30,10 +26,10 @@
|
|||
"properties": {
|
||||
"folder_icon": " \uf07b ",
|
||||
"home_icon": "\uf7dd",
|
||||
"style": "folder",
|
||||
"template": " \uf07b\uf553{{ .Path }} "
|
||||
"style": "folder"
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": " \uf07b\uf553{{ .Path }} ",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
|
@ -49,10 +45,10 @@
|
|||
"properties": {
|
||||
"branch_icon": "\ue725 ",
|
||||
"fetch_status": 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 }} "
|
||||
"fetch_upstream_icon": true
|
||||
},
|
||||
"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"
|
||||
},
|
||||
{
|
||||
|
@ -60,10 +56,10 @@
|
|||
"foreground": "#ffffff",
|
||||
"properties": {
|
||||
"style": "roundrock",
|
||||
"template": " \ufa1e{{ .FormattedMs }}\u2800",
|
||||
"threshold": 0
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": " \ufa1e{{ .FormattedMs }}\u2800",
|
||||
"trailing_diamond": "\ue0b4",
|
||||
"type": "executiontime"
|
||||
}
|
||||
|
@ -80,10 +76,10 @@
|
|||
"properties": {
|
||||
"fetch_package_manager": true,
|
||||
"npm_icon": " <#cc3a3a>\ue5fa</> ",
|
||||
"template": "\ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }}",
|
||||
"yarn_icon": " <#348cba>\uf61a</>"
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "\ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }}",
|
||||
"trailing_diamond": "\ue0b4 ",
|
||||
"type": "node"
|
||||
},
|
||||
|
@ -91,10 +87,8 @@
|
|||
"background": "#306998",
|
||||
"foreground": "#FFE873",
|
||||
"leading_diamond": "\ue0b6",
|
||||
"properties": {
|
||||
"template": "\ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }}"
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "\ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }}",
|
||||
"trailing_diamond": "\ue0b4 ",
|
||||
"type": "python"
|
||||
},
|
||||
|
@ -102,10 +96,8 @@
|
|||
"background": "#0e8ac8",
|
||||
"foreground": "#ec2729",
|
||||
"leading_diamond": "\ue0b6",
|
||||
"properties": {
|
||||
"template": "\ue738 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}"
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "\ue738 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}",
|
||||
"trailing_diamond": "\ue0b4 ",
|
||||
"type": "java"
|
||||
},
|
||||
|
@ -113,10 +105,8 @@
|
|||
"background": "#0e0e0e",
|
||||
"foreground": "#0d6da8",
|
||||
"leading_diamond": "\ue0b6",
|
||||
"properties": {
|
||||
"template": "\ue77f {{ if .Unsupported }}\uf071{{ else }}{{ .Full }}{{ end }}"
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "\ue77f {{ if .Unsupported }}\uf071{{ else }}{{ .Full }}{{ end }}",
|
||||
"trailing_diamond": "\ue0b4 ",
|
||||
"type": "dotnet"
|
||||
},
|
||||
|
@ -124,10 +114,8 @@
|
|||
"background": "#ffffff",
|
||||
"foreground": "#06aad5",
|
||||
"leading_diamond": "\ue0b6",
|
||||
"properties": {
|
||||
"template": "\ufcd1 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}"
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "\ufcd1 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}",
|
||||
"trailing_diamond": "\ue0b4 ",
|
||||
"type": "go"
|
||||
},
|
||||
|
@ -135,10 +123,8 @@
|
|||
"background": "#f3f0ec",
|
||||
"foreground": "#925837",
|
||||
"leading_diamond": "\ue0b6",
|
||||
"properties": {
|
||||
"template": "\ue7a8 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}"
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "\ue7a8 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}",
|
||||
"trailing_diamond": "\ue0b4 ",
|
||||
"type": "rust"
|
||||
},
|
||||
|
@ -146,10 +132,8 @@
|
|||
"background": "#e1e8e9",
|
||||
"foreground": "#055b9c",
|
||||
"leading_diamond": " \ue0b6",
|
||||
"properties": {
|
||||
"template": "\ue798 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}"
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "\ue798 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}",
|
||||
"trailing_diamond": "\ue0b4 ",
|
||||
"type": "dart"
|
||||
},
|
||||
|
@ -157,10 +141,8 @@
|
|||
"background": "#ffffff",
|
||||
"foreground": "#ce092f",
|
||||
"leading_diamond": " \ue0b6",
|
||||
"properties": {
|
||||
"template": "\ue753 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}"
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "\ue753 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}",
|
||||
"trailing_diamond": "\ue0b4 ",
|
||||
"type": "angular"
|
||||
},
|
||||
|
@ -168,10 +150,8 @@
|
|||
"background": "#945bb3",
|
||||
"foreground": "#359a25",
|
||||
"leading_diamond": " \ue0b6",
|
||||
"properties": {
|
||||
"template": "<#ca3c34>\ue624</> {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}"
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "<#ca3c34>\ue624</> {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}",
|
||||
"trailing_diamond": "\ue0b4 ",
|
||||
"type": "julia"
|
||||
},
|
||||
|
@ -179,10 +159,8 @@
|
|||
"background": "#ffffff",
|
||||
"foreground": "#9c1006",
|
||||
"leading_diamond": "\ue0b6",
|
||||
"properties": {
|
||||
"template": "\ue791 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}"
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "\ue791 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}",
|
||||
"trailing_diamond": "\ue0b4 ",
|
||||
"type": "ruby"
|
||||
},
|
||||
|
@ -190,10 +168,8 @@
|
|||
"background": "#ffffff",
|
||||
"foreground": "#5398c2",
|
||||
"leading_diamond": "\ue0b6",
|
||||
"properties": {
|
||||
"template": "\uf104<#f5bf45>\uf0e7</>\uf105 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}"
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "\uf104<#f5bf45>\uf0e7</>\uf105 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}",
|
||||
"trailing_diamond": "\ue0b4 ",
|
||||
"type": "azfunc"
|
||||
},
|
||||
|
@ -201,10 +177,8 @@
|
|||
"background": "#565656",
|
||||
"foreground": "#faa029",
|
||||
"leading_diamond": "\ue0b6",
|
||||
"properties": {
|
||||
"template": "\ue7ad {{.Profile}}{{if .Region}}@{{.Region}}{{end}}"
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "\ue7ad {{.Profile}}{{if .Region}}@{{.Region}}{{end}}",
|
||||
"trailing_diamond": "\ue0b4 ",
|
||||
"type": "aws"
|
||||
},
|
||||
|
@ -212,10 +186,8 @@
|
|||
"background": "#316ce4",
|
||||
"foreground": "#ffffff",
|
||||
"leading_diamond": "\ue0b6",
|
||||
"properties": {
|
||||
"template": "\ufd31 {{.Context}}{{if .Namespace}} :: {{.Namespace}}{{end}}"
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "\ufd31 {{.Context}}{{if .Namespace}} :: {{.Namespace}}{{end}}",
|
||||
"trailing_diamond": "\ue0b4",
|
||||
"type": "kubectl"
|
||||
},
|
||||
|
@ -226,10 +198,10 @@
|
|||
"properties": {
|
||||
"linux": "\ue27f",
|
||||
"macos": "\ue27f",
|
||||
"template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}}<#262626> \ue0b2</>",
|
||||
"windows": "\ue27f"
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}}<#262626> \ue0b2</>",
|
||||
"type": "os"
|
||||
},
|
||||
{
|
||||
|
@ -245,10 +217,10 @@
|
|||
"properties": {
|
||||
"charged_icon": "\uf58e ",
|
||||
"charging_icon": "\uf1e6 ",
|
||||
"discharging_icon": "\ue234 ",
|
||||
"template": " {{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }}\uf295 <#262626>\ue0b2</>"
|
||||
"discharging_icon": "\ue234 "
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": " {{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }}\uf295 <#262626>\ue0b2</>",
|
||||
"type": "battery"
|
||||
},
|
||||
{
|
||||
|
@ -257,10 +229,10 @@
|
|||
"invert_powerline": true,
|
||||
"leading_diamond": "\ue0b2",
|
||||
"properties": {
|
||||
"template": " \uf5ef {{ .CurrentDate | date .Format }} ",
|
||||
"time_format": "_2,15:04"
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": " \uf5ef {{ .CurrentDate | date .Format }} ",
|
||||
"trailing_diamond": "\ue0b4",
|
||||
"type": "time"
|
||||
}
|
||||
|
@ -273,10 +245,8 @@
|
|||
"segments": [
|
||||
{
|
||||
"foreground": "#21c7c7",
|
||||
"properties": {
|
||||
"template": "\u2570\u2500"
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "\u2570\u2500",
|
||||
"type": "text"
|
||||
},
|
||||
{
|
||||
|
@ -285,10 +255,10 @@
|
|||
"{{ if gt .Code 0 }}#ef5350{{ end }}"
|
||||
],
|
||||
"properties": {
|
||||
"always_enabled": true,
|
||||
"template": "\ue285\ufb00 "
|
||||
"always_enabled": true
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "\ue285\ufb00 ",
|
||||
"type": "exit"
|
||||
}
|
||||
],
|
||||
|
@ -296,5 +266,5 @@
|
|||
}
|
||||
],
|
||||
"osc99": true,
|
||||
"version": 1
|
||||
"version": 2
|
||||
}
|
||||
|
|
|
@ -5,26 +5,20 @@
|
|||
"alignment": "left",
|
||||
"segments": [
|
||||
{
|
||||
"properties": {
|
||||
"template": "\u256d\u2500[<#ffff55>{{ .UserName }}</><#ff5555>@</><#55ff55>{{ .HostName }}</>]\u2500"
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "\u256d\u2500[<#ffff55>{{ .UserName }}</><#ff5555>@</><#55ff55>{{ .HostName }}</>]\u2500",
|
||||
"type": "session"
|
||||
},
|
||||
{
|
||||
"foreground": "#ff5555",
|
||||
"properties": {
|
||||
"template": "<#ffffff>[</>{{ .Path }}<#ffffff>]</>"
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "<#ffffff>[</>{{ .Path }}<#ffffff>]</>",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"foreground": "#FF9248",
|
||||
"properties": {
|
||||
"template": "<#ffffff>\u2500(</>#<#ffffff>)</>"
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "<#ffffff>\u2500(</>#<#ffffff>)</>",
|
||||
"type": "root"
|
||||
}
|
||||
],
|
||||
|
@ -38,106 +32,82 @@
|
|||
"properties": {
|
||||
"fetch_package_manager": true,
|
||||
"npm_icon": " <#cc3a3a>\ue5fa</> ",
|
||||
"template": "<#ffffff>(</>{{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }}<#ffffff>)</>",
|
||||
"yarn_icon": " <#348cba>\uf61a</>"
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "<#ffffff>(</>{{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }}<#ffffff>)</>",
|
||||
"type": "node"
|
||||
},
|
||||
{
|
||||
"foreground": "#FFE873",
|
||||
"properties": {
|
||||
"template": "<#ffffff>(</>{{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }}<#ffffff>)</>"
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "<#ffffff>(</>{{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }}<#ffffff>)</>",
|
||||
"type": "python"
|
||||
},
|
||||
{
|
||||
"foreground": "#ec2729",
|
||||
"properties": {
|
||||
"template": "<#ffffff>(</>{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}<#ffffff>)</>"
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "<#ffffff>(</>{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}<#ffffff>)</>",
|
||||
"type": "java"
|
||||
},
|
||||
{
|
||||
"foreground": "#0d6da8",
|
||||
"properties": {
|
||||
"template": "<#ffffff>(</>{{ if .Unsupported }}\uf071{{ else }}{{ .Full }}{{ end }}<#ffffff>)</>"
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "<#ffffff>(</>{{ if .Unsupported }}\uf071{{ else }}{{ .Full }}{{ end }}<#ffffff>)</>",
|
||||
"type": "dotnet"
|
||||
},
|
||||
{
|
||||
"foreground": "#06aad5",
|
||||
"properties": {
|
||||
"template": "<#ffffff>(</>{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}<#ffffff>)</>"
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "<#ffffff>(</>{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}<#ffffff>)</>",
|
||||
"type": "go"
|
||||
},
|
||||
{
|
||||
"foreground": "#925837",
|
||||
"properties": {
|
||||
"template": "<#ffffff>(</>{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}<#ffffff>)</>"
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "<#ffffff>(</>{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}<#ffffff>)</>",
|
||||
"type": "rust"
|
||||
},
|
||||
{
|
||||
"foreground": "#055b9c",
|
||||
"properties": {
|
||||
"template": "<#ffffff>(</>{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}<#ffffff>)</>"
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "<#ffffff>(</>{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}<#ffffff>)</>",
|
||||
"type": "dart"
|
||||
},
|
||||
{
|
||||
"foreground": "#ce092f",
|
||||
"properties": {
|
||||
"template": "<#ffffff>(</>{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}<#ffffff>)</>"
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "<#ffffff>(</>{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}<#ffffff>)</>",
|
||||
"type": "angular"
|
||||
},
|
||||
{
|
||||
"foreground": "#359a25",
|
||||
"properties": {
|
||||
"template": "<#ffffff>(</>{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}<#ffffff>)</>"
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "<#ffffff>(</>{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}<#ffffff>)</>",
|
||||
"type": "julia"
|
||||
},
|
||||
{
|
||||
"foreground": "#9c1006",
|
||||
"properties": {
|
||||
"template": "<#ffffff>(</>{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}<#ffffff>)</>"
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "<#ffffff>(</>{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}<#ffffff>)</>",
|
||||
"type": "ruby"
|
||||
},
|
||||
{
|
||||
"foreground": "#5398c2",
|
||||
"properties": {
|
||||
"template": "<#ffffff>(</>{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}<#ffffff>)</>"
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "<#ffffff>(</>{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}<#ffffff>)</>",
|
||||
"type": "azfunc"
|
||||
},
|
||||
{
|
||||
"foreground": "#faa029",
|
||||
"properties": {
|
||||
"template": "<#ffffff>(</>{{.Profile}}{{if .Region}}@{{.Region}}{{end}}<#ffffff>)</>"
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "<#ffffff>(</>{{.Profile}}{{if .Region}}@{{.Region}}{{end}}<#ffffff>)</>",
|
||||
"type": "aws"
|
||||
},
|
||||
{
|
||||
"foreground": "#316ce4",
|
||||
"properties": {
|
||||
"template": "<#ffffff>(</>{{.Context}}{{if .Namespace}} :: {{.Namespace}}{{end}}<#ffffff>)</>"
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "<#ffffff>(</>{{.Context}}{{if .Namespace}} :: {{.Namespace}}{{end}}<#ffffff>)</>",
|
||||
"type": "kubectl"
|
||||
},
|
||||
{
|
||||
|
@ -145,10 +115,10 @@
|
|||
"properties": {
|
||||
"linux": "<#ffffff>\ue27f</>",
|
||||
"macos": "<#ffffff>\ue27f</>",
|
||||
"template": "<#ffffff>(</>{{ if .WSL }}WSL at {{ end }}{{.Icon}}<#ffffff>)\u2500</>",
|
||||
"windows": "<#ffffff>\ue27f</>"
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "<#ffffff>(</>{{ if .WSL }}WSL at {{ end }}{{.Icon}}<#ffffff>)\u2500</>",
|
||||
"type": "os"
|
||||
},
|
||||
{
|
||||
|
@ -161,19 +131,19 @@
|
|||
"properties": {
|
||||
"charged_icon": "\uf58e ",
|
||||
"charging_icon": "\uf1e6 ",
|
||||
"discharging_icon": "\ue234 ",
|
||||
"template": "<#ffffff>[</>{{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }}%<#ffffff>]\u2500</>"
|
||||
"discharging_icon": "\ue234 "
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "<#ffffff>[</>{{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }}%<#ffffff>]\u2500</>",
|
||||
"type": "battery"
|
||||
},
|
||||
{
|
||||
"foreground": "#55ffff",
|
||||
"properties": {
|
||||
"template": "<#ffffff>[</>{{ .CurrentDate | date .Format }}<#ffffff>]</>",
|
||||
"time_format": "_2,15:04"
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "<#ffffff>[</>{{ .CurrentDate | date .Format }}<#ffffff>]</>",
|
||||
"type": "time"
|
||||
}
|
||||
],
|
||||
|
@ -184,10 +154,8 @@
|
|||
"newline": true,
|
||||
"segments": [
|
||||
{
|
||||
"properties": {
|
||||
"template": "\u2570\u2500"
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "\u2570\u2500",
|
||||
"type": "text"
|
||||
},
|
||||
{
|
||||
|
@ -195,10 +163,10 @@
|
|||
"properties": {
|
||||
"branch_icon": "\ue725 ",
|
||||
"fetch_status": 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>]-</>"
|
||||
"fetch_upstream_icon": true
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "<#ffffff>[</>{{ .HEAD }}{{ if .Staging.Changed }}<#00AA00> \u25cf {{ .Staging.String }}</>{{ end }}{{ if .Working.Changed }}<#D75F00> \u25cf {{ .Working.String }}</>{{ end }}<#ffffff>]-</>",
|
||||
"type": "git"
|
||||
},
|
||||
{
|
||||
|
@ -207,10 +175,10 @@
|
|||
"{{ if gt .Code 0 }}#ef5350{{ end }}"
|
||||
],
|
||||
"properties": {
|
||||
"always_enabled": true,
|
||||
"template": "\ue285\ufb00 "
|
||||
"always_enabled": true
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "\ue285\ufb00 ",
|
||||
"type": "exit"
|
||||
}
|
||||
],
|
||||
|
@ -218,5 +186,5 @@
|
|||
}
|
||||
],
|
||||
"osc99": true,
|
||||
"version": 1
|
||||
"version": 2
|
||||
}
|
||||
|
|
|
@ -7,34 +7,28 @@
|
|||
{
|
||||
"foreground": "#ffffff",
|
||||
"properties": {
|
||||
"style": "full",
|
||||
"template": "{{ .Path }} "
|
||||
"style": "full"
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "{{ .Path }} ",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"foreground": "#C2C206",
|
||||
"properties": {
|
||||
"template": "{{ .HEAD }} "
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "{{ .HEAD }} ",
|
||||
"type": "git"
|
||||
},
|
||||
{
|
||||
"foreground": "#B5B50D",
|
||||
"properties": {
|
||||
"template": " \uf0e7 "
|
||||
},
|
||||
"style": "plain",
|
||||
"template": " \uf0e7 ",
|
||||
"type": "root"
|
||||
},
|
||||
{
|
||||
"foreground": "#C94A16",
|
||||
"properties": {
|
||||
"template": "x{{ .Meaning }} "
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "x{{ .Meaning }} ",
|
||||
"type": "exit"
|
||||
}
|
||||
],
|
||||
|
@ -46,10 +40,8 @@
|
|||
"segments": [
|
||||
{
|
||||
"foreground": "#007ACC",
|
||||
"properties": {
|
||||
"template": "\ue602 "
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "\ue602 ",
|
||||
"type": "text"
|
||||
}
|
||||
],
|
||||
|
@ -57,5 +49,5 @@
|
|||
}
|
||||
],
|
||||
"final_space": true,
|
||||
"version": 1
|
||||
"version": 2
|
||||
}
|
||||
|
|
|
@ -7,19 +7,15 @@
|
|||
{
|
||||
"background": "#a313a8",
|
||||
"foreground": "#FFEB3B",
|
||||
"properties": {
|
||||
"template": "\u26a1 "
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "\u26a1 ",
|
||||
"type": "root"
|
||||
},
|
||||
{
|
||||
"background": "transparent",
|
||||
"foreground": "#ffffff",
|
||||
"properties": {
|
||||
"template": "{{ if .WSL }}WSL at {{ end }}{{.Icon}} "
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "{{ if .WSL }}WSL at {{ end }}{{.Icon}} ",
|
||||
"type": "os"
|
||||
},
|
||||
{
|
||||
|
@ -30,10 +26,10 @@
|
|||
"folder_icon": "\uf6d7",
|
||||
"folder_separator_icon": "<transparent> \ue0bd </>",
|
||||
"home_icon": "\uf7db",
|
||||
"style": "agnoster_short",
|
||||
"template": " {{ .Path }} "
|
||||
"style": "agnoster_short"
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": " {{ .Path }} ",
|
||||
"trailing_diamond": "\ue0b0",
|
||||
"type": "path"
|
||||
},
|
||||
|
@ -49,10 +45,10 @@
|
|||
"powerline_symbol": "\ue0b0",
|
||||
"properties": {
|
||||
"fetch_stash_count": 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 }} "
|
||||
"fetch_status": true
|
||||
},
|
||||
"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"
|
||||
},
|
||||
{
|
||||
|
@ -61,10 +57,10 @@
|
|||
"leading_diamond": "<transparent,#49404f>\ue0b0</>",
|
||||
"properties": {
|
||||
"style": "dallas",
|
||||
"template": " {{ .FormattedMs }}s ",
|
||||
"threshold": 0
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": " {{ .FormattedMs }}s ",
|
||||
"trailing_diamond": "\ue0b0",
|
||||
"type": "executiontime"
|
||||
},
|
||||
|
@ -72,10 +68,8 @@
|
|||
"background": "#910000",
|
||||
"foreground": "#ffffff",
|
||||
"powerline_symbol": "\ue0b0",
|
||||
"properties": {
|
||||
"template": "<transparent> \uf12a</> {{ .Meaning }} "
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": "<transparent> \uf12a</> {{ .Meaning }} ",
|
||||
"type": "exit"
|
||||
}
|
||||
],
|
||||
|
@ -88,20 +82,18 @@
|
|||
"background": "#29315A",
|
||||
"foreground": "#43CCEA",
|
||||
"leading_diamond": "\ue0c5",
|
||||
"properties": {
|
||||
"template": " {{ .UserName }}<transparent> / </>{{ .HostName }}"
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": " {{ .UserName }}<transparent> / </>{{ .HostName }}",
|
||||
"type": "session"
|
||||
},
|
||||
{
|
||||
"background": "#29315A",
|
||||
"foreground": "#3EC669",
|
||||
"properties": {
|
||||
"template": "<transparent> \ue0ba\ue0bc </>{{ .CurrentDate | date .Format }} ",
|
||||
"time_format": "15:04:05"
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "<transparent> \ue0ba\ue0bc </>{{ .CurrentDate | date .Format }} ",
|
||||
"type": "time"
|
||||
}
|
||||
],
|
||||
|
@ -117,10 +109,10 @@
|
|||
"{{ if gt .Code 0 }}#ff0000{{ end }}"
|
||||
],
|
||||
"properties": {
|
||||
"always_enabled": true,
|
||||
"template": "\u276f "
|
||||
"always_enabled": true
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "\u276f ",
|
||||
"type": "exit"
|
||||
}
|
||||
],
|
||||
|
@ -129,5 +121,5 @@
|
|||
],
|
||||
"console_title_template": "{{if .Root}} \u26a1 {{end}}{{.Folder | replace \"~\" \"🏚\" }} @ {{.HostName}}",
|
||||
"osc99": true,
|
||||
"version": 1
|
||||
"version": 2
|
||||
}
|
||||
|
|
|
@ -9,10 +9,10 @@
|
|||
"foreground": "#26C6DA",
|
||||
"leading_diamond": "\ue0c5",
|
||||
"properties": {
|
||||
"macos": "mac",
|
||||
"template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}} \ue0b1"
|
||||
"macos": "mac"
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}} \ue0b1",
|
||||
"trailing_diamond": "\ue0b0",
|
||||
"type": "os"
|
||||
},
|
||||
|
@ -20,10 +20,8 @@
|
|||
"background": "#546E7A",
|
||||
"foreground": "#26C6DA",
|
||||
"powerline_symbol": "\ue0b0",
|
||||
"properties": {
|
||||
"template": " {{ .UserName }}@{{ .HostName }} "
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": " {{ .UserName }}@{{ .HostName }} ",
|
||||
"type": "session"
|
||||
},
|
||||
{
|
||||
|
@ -35,10 +33,8 @@
|
|||
],
|
||||
"foreground": "#193549",
|
||||
"powerline_symbol": "\ue0b0",
|
||||
"properties": {
|
||||
"template": " {{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }}\uf295 \uf583 "
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": " {{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }}\uf295 \uf583 ",
|
||||
"type": "battery"
|
||||
},
|
||||
{
|
||||
|
@ -46,10 +42,10 @@
|
|||
"foreground": "#193549",
|
||||
"powerline_symbol": "\ue0b0",
|
||||
"properties": {
|
||||
"style": "folder",
|
||||
"template": " \ue5ff {{ .Path }} "
|
||||
"style": "folder"
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": " \ue5ff {{ .Path }} ",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
|
@ -58,40 +54,34 @@
|
|||
"powerline_symbol": "\ue0b0",
|
||||
"properties": {
|
||||
"fetch_stash_count": true,
|
||||
"fetch_upstream_icon": true,
|
||||
"template": " {{ .UpstreamIcon }}{{ .HEAD }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} "
|
||||
"fetch_upstream_icon": true
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": " {{ .UpstreamIcon }}{{ .HEAD }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} ",
|
||||
"type": "git"
|
||||
},
|
||||
{
|
||||
"background": "#6CA35E",
|
||||
"foreground": "#ffffff",
|
||||
"powerline_symbol": "\ue0b0",
|
||||
"properties": {
|
||||
"template": " \ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} "
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": " \ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} ",
|
||||
"type": "node"
|
||||
},
|
||||
{
|
||||
"background": "#ffff66",
|
||||
"foreground": "#193549",
|
||||
"powerline_symbol": "\ue0b0",
|
||||
"properties": {
|
||||
"template": " \uf0e7 "
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": " \uf0e7 ",
|
||||
"type": "root"
|
||||
},
|
||||
{
|
||||
"background": "#0077c2",
|
||||
"foreground": "#ffffff",
|
||||
"powerline_symbol": "\ue0b0",
|
||||
"properties": {
|
||||
"template": " \ufd31 {{.Context}} :: {{if .Namespace}}{{.Namespace}}{{else}}default{{end}} "
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": " \ufd31 {{.Context}} :: {{if .Namespace}}{{.Namespace}}{{else}}default{{end}} ",
|
||||
"type": "kubectl"
|
||||
},
|
||||
{
|
||||
|
@ -102,10 +92,10 @@
|
|||
"foreground": "#ffffff",
|
||||
"leading_diamond": "<transparent,background>\ue0b0</>",
|
||||
"properties": {
|
||||
"always_enabled": true,
|
||||
"template": " \ufc8d "
|
||||
"always_enabled": true
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": " \ufc8d ",
|
||||
"trailing_diamond": "\ue0b0",
|
||||
"type": "exit"
|
||||
}
|
||||
|
@ -118,10 +108,8 @@
|
|||
"segments": [
|
||||
{
|
||||
"foreground": "#007ACC",
|
||||
"properties": {
|
||||
"template": "\u279c "
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "\u279c ",
|
||||
"type": "text"
|
||||
}
|
||||
],
|
||||
|
@ -129,5 +117,5 @@
|
|||
}
|
||||
],
|
||||
"final_space": true,
|
||||
"version": 1
|
||||
"version": 2
|
||||
}
|
||||
|
|
|
@ -8,10 +8,8 @@
|
|||
"background": "#29315A",
|
||||
"foreground": "#E64747",
|
||||
"leading_diamond": "\ue0b6",
|
||||
"properties": {
|
||||
"template": "{{ .UserName }}"
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "{{ .UserName }}",
|
||||
"trailing_diamond": "\ue0b4 ",
|
||||
"type": "session"
|
||||
},
|
||||
|
@ -20,10 +18,10 @@
|
|||
"foreground": "#3EC669",
|
||||
"leading_diamond": "\ue0b6",
|
||||
"properties": {
|
||||
"style": "folder",
|
||||
"template": "\ue5ff {{ .Path }}"
|
||||
"style": "folder"
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "\ue5ff {{ .Path }}",
|
||||
"trailing_diamond": "\ue0b4",
|
||||
"type": "path"
|
||||
},
|
||||
|
@ -32,10 +30,10 @@
|
|||
"foreground": "#43CCEA",
|
||||
"leading_diamond": " \ue0b6",
|
||||
"properties": {
|
||||
"branch_icon": "",
|
||||
"template": "{{ .HEAD }}"
|
||||
"branch_icon": ""
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "{{ .HEAD }}",
|
||||
"trailing_diamond": "\ue0b4",
|
||||
"type": "git"
|
||||
},
|
||||
|
@ -44,10 +42,10 @@
|
|||
"foreground": "#E4F34A",
|
||||
"leading_diamond": " \ue0b6",
|
||||
"properties": {
|
||||
"fetch_version": false,
|
||||
"template": "\ue235{{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }}"
|
||||
"fetch_version": false
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "\ue235{{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }}",
|
||||
"trailing_diamond": "\ue0b4",
|
||||
"type": "python"
|
||||
},
|
||||
|
@ -56,10 +54,10 @@
|
|||
"foreground": "#7FD5EA",
|
||||
"leading_diamond": " \ue0b6",
|
||||
"properties": {
|
||||
"fetch_version": false,
|
||||
"template": "\ufcd1{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}"
|
||||
"fetch_version": false
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "\ufcd1{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}",
|
||||
"trailing_diamond": "\ue0b4",
|
||||
"type": "go"
|
||||
},
|
||||
|
@ -68,10 +66,10 @@
|
|||
"foreground": "#42E66C",
|
||||
"leading_diamond": " \ue0b6",
|
||||
"properties": {
|
||||
"fetch_version": false,
|
||||
"template": "\ue718{{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }}"
|
||||
"fetch_version": false
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "\ue718{{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }}",
|
||||
"trailing_diamond": "\ue0b4",
|
||||
"type": "node"
|
||||
},
|
||||
|
@ -80,10 +78,10 @@
|
|||
"foreground": "#E64747",
|
||||
"leading_diamond": " \ue0b6",
|
||||
"properties": {
|
||||
"fetch_version": false,
|
||||
"template": "\ue791{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}"
|
||||
"fetch_version": false
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "\ue791{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}",
|
||||
"trailing_diamond": "\ue0b4",
|
||||
"type": "ruby"
|
||||
},
|
||||
|
@ -92,10 +90,10 @@
|
|||
"foreground": "#E64747",
|
||||
"leading_diamond": " \ue0b6",
|
||||
"properties": {
|
||||
"fetch_version": false,
|
||||
"template": "\ue738{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}"
|
||||
"fetch_version": false
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "\ue738{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}",
|
||||
"trailing_diamond": "\ue0b4",
|
||||
"type": "java"
|
||||
},
|
||||
|
@ -104,10 +102,10 @@
|
|||
"foreground": "#9B6BDF",
|
||||
"leading_diamond": " \ue0b6",
|
||||
"properties": {
|
||||
"fetch_version": false,
|
||||
"template": "\ue624{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} "
|
||||
"fetch_version": false
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "\ue624{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ",
|
||||
"trailing_diamond": "\ue0b4",
|
||||
"type": "julia"
|
||||
},
|
||||
|
@ -123,10 +121,10 @@
|
|||
"properties": {
|
||||
"charged_icon": " ",
|
||||
"charging_icon": "\u21e1 ",
|
||||
"discharging_icon": "\u21e3 ",
|
||||
"template": "{{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }}"
|
||||
"discharging_icon": "\u21e3 "
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "{{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }}",
|
||||
"trailing_diamond": "\ue0b4",
|
||||
"type": "battery"
|
||||
}
|
||||
|
@ -143,10 +141,10 @@
|
|||
"leading_diamond": "\ue0b6",
|
||||
"properties": {
|
||||
"style": "austin",
|
||||
"template": "{{ .FormattedMs }}",
|
||||
"threshold": 150
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "{{ .FormattedMs }}",
|
||||
"trailing_diamond": "\ue0b4 ",
|
||||
"type": "executiontime"
|
||||
},
|
||||
|
@ -154,10 +152,8 @@
|
|||
"background": "#29315A",
|
||||
"foreground": "#7FD5EA",
|
||||
"leading_diamond": "\ue0b6",
|
||||
"properties": {
|
||||
"template": "\u276f"
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "\u276f",
|
||||
"trailing_diamond": "\ue0b4",
|
||||
"type": "text"
|
||||
}
|
||||
|
@ -166,5 +162,5 @@
|
|||
}
|
||||
],
|
||||
"final_space": true,
|
||||
"version": 1
|
||||
"version": 2
|
||||
}
|
||||
|
|
|
@ -9,10 +9,10 @@
|
|||
"foreground": "#3EC669",
|
||||
"leading_diamond": "\ue0b6",
|
||||
"properties": {
|
||||
"style": "folder",
|
||||
"template": "\ue5ff {{ .Path }}"
|
||||
"style": "folder"
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "\ue5ff {{ .Path }}",
|
||||
"trailing_diamond": "\ue0b4",
|
||||
"type": "path"
|
||||
},
|
||||
|
@ -30,10 +30,10 @@
|
|||
"branch_max_length": 25,
|
||||
"fetch_stash_count": true,
|
||||
"fetch_status": 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 }} "
|
||||
"fetch_upstream_icon": true
|
||||
},
|
||||
"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",
|
||||
"type": "git"
|
||||
},
|
||||
|
@ -42,10 +42,10 @@
|
|||
"foreground": "#E4F34A",
|
||||
"leading_diamond": " \ue0b6",
|
||||
"properties": {
|
||||
"fetch_version": false,
|
||||
"template": "\ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }}"
|
||||
"fetch_version": false
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "\ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }}",
|
||||
"trailing_diamond": "\ue0b4",
|
||||
"type": "python"
|
||||
},
|
||||
|
@ -54,10 +54,10 @@
|
|||
"foreground": "#7FD5EA",
|
||||
"leading_diamond": " \ue0b6",
|
||||
"properties": {
|
||||
"fetch_version": false,
|
||||
"template": "\ufcd1{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}"
|
||||
"fetch_version": false
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "\ufcd1{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}",
|
||||
"trailing_diamond": "\ue0b4",
|
||||
"type": "go"
|
||||
},
|
||||
|
@ -66,10 +66,10 @@
|
|||
"foreground": "#42E66C",
|
||||
"leading_diamond": " \ue0b6",
|
||||
"properties": {
|
||||
"fetch_version": false,
|
||||
"template": "\ue718{{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }}"
|
||||
"fetch_version": false
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "\ue718{{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }}",
|
||||
"trailing_diamond": "\ue0b4",
|
||||
"type": "node"
|
||||
},
|
||||
|
@ -78,10 +78,10 @@
|
|||
"foreground": "#E64747",
|
||||
"leading_diamond": " \ue0b6",
|
||||
"properties": {
|
||||
"fetch_version": false,
|
||||
"template": "\ue791{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}"
|
||||
"fetch_version": false
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "\ue791{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}",
|
||||
"trailing_diamond": "\ue0b4",
|
||||
"type": "ruby"
|
||||
},
|
||||
|
@ -90,10 +90,10 @@
|
|||
"foreground": "#E64747",
|
||||
"leading_diamond": " \ue0b6",
|
||||
"properties": {
|
||||
"fetch_version": false,
|
||||
"template": "\ue738{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}"
|
||||
"fetch_version": false
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "\ue738{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}",
|
||||
"trailing_diamond": "\ue0b4",
|
||||
"type": "java"
|
||||
},
|
||||
|
@ -102,10 +102,10 @@
|
|||
"foreground": "#9B6BDF",
|
||||
"leading_diamond": " \ue0b6",
|
||||
"properties": {
|
||||
"fetch_version": false,
|
||||
"template": "\ue624{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} "
|
||||
"fetch_version": false
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "\ue624{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ",
|
||||
"trailing_diamond": "\ue0b4",
|
||||
"type": "julia"
|
||||
},
|
||||
|
@ -121,10 +121,10 @@
|
|||
"properties": {
|
||||
"charged_icon": " ",
|
||||
"charging_icon": "\u21e1 ",
|
||||
"discharging_icon": "\u21e3 ",
|
||||
"template": "{{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }}"
|
||||
"discharging_icon": "\u21e3 "
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "{{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }}",
|
||||
"trailing_diamond": "\ue0b4",
|
||||
"type": "battery"
|
||||
}
|
||||
|
@ -141,10 +141,10 @@
|
|||
"leading_diamond": "\ue0b6",
|
||||
"properties": {
|
||||
"style": "austin",
|
||||
"template": "{{ .FormattedMs }}",
|
||||
"threshold": 150
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "{{ .FormattedMs }}",
|
||||
"trailing_diamond": "\ue0b4 ",
|
||||
"type": "executiontime"
|
||||
},
|
||||
|
@ -152,10 +152,8 @@
|
|||
"background": "#29315A",
|
||||
"foreground": "#E64747",
|
||||
"leading_diamond": "\ue0b6",
|
||||
"properties": {
|
||||
"template": "{{ .UserName }} \u276f"
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "{{ .UserName }} \u276f",
|
||||
"trailing_diamond": "\ue0b4",
|
||||
"type": "text"
|
||||
}
|
||||
|
@ -164,5 +162,5 @@
|
|||
}
|
||||
],
|
||||
"final_space": true,
|
||||
"version": 1
|
||||
"version": 2
|
||||
}
|
||||
|
|
|
@ -9,10 +9,10 @@
|
|||
"foreground": "#3EC669",
|
||||
"leading_diamond": "\ue0b6",
|
||||
"properties": {
|
||||
"style": "folder",
|
||||
"template": "\ue5ff {{ .Path }}"
|
||||
"style": "folder"
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "\ue5ff {{ .Path }}",
|
||||
"trailing_diamond": "\ue0b4",
|
||||
"type": "path"
|
||||
},
|
||||
|
@ -21,10 +21,10 @@
|
|||
"foreground": "#43CCEA",
|
||||
"leading_diamond": " \ue0b6",
|
||||
"properties": {
|
||||
"branch_icon": "",
|
||||
"template": "{{ .HEAD }}"
|
||||
"branch_icon": ""
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "{{ .HEAD }}",
|
||||
"trailing_diamond": "\ue0b4",
|
||||
"type": "git"
|
||||
},
|
||||
|
@ -33,10 +33,10 @@
|
|||
"foreground": "#E4F34A",
|
||||
"leading_diamond": " \ue0b6",
|
||||
"properties": {
|
||||
"fetch_version": false,
|
||||
"template": "\ue235{{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }}"
|
||||
"fetch_version": false
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "\ue235{{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }}",
|
||||
"trailing_diamond": "\ue0b4",
|
||||
"type": "python"
|
||||
},
|
||||
|
@ -45,10 +45,10 @@
|
|||
"foreground": "#7FD5EA",
|
||||
"leading_diamond": " \ue0b6",
|
||||
"properties": {
|
||||
"fetch_version": false,
|
||||
"template": "\ufcd1{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}"
|
||||
"fetch_version": false
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "\ufcd1{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}",
|
||||
"trailing_diamond": "\ue0b4",
|
||||
"type": "go"
|
||||
},
|
||||
|
@ -57,10 +57,10 @@
|
|||
"foreground": "#42E66C",
|
||||
"leading_diamond": " \ue0b6",
|
||||
"properties": {
|
||||
"fetch_version": false,
|
||||
"template": "\ue718{{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }}"
|
||||
"fetch_version": false
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "\ue718{{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }}",
|
||||
"trailing_diamond": "\ue0b4",
|
||||
"type": "node"
|
||||
},
|
||||
|
@ -69,10 +69,10 @@
|
|||
"foreground": "#E64747",
|
||||
"leading_diamond": " \ue0b6",
|
||||
"properties": {
|
||||
"fetch_version": false,
|
||||
"template": "\ue791{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}"
|
||||
"fetch_version": false
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "\ue791{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}",
|
||||
"trailing_diamond": "\ue0b4",
|
||||
"type": "ruby"
|
||||
},
|
||||
|
@ -81,10 +81,10 @@
|
|||
"foreground": "#E64747",
|
||||
"leading_diamond": " \ue0b6",
|
||||
"properties": {
|
||||
"fetch_version": false,
|
||||
"template": "\ue738{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}"
|
||||
"fetch_version": false
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "\ue738{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}",
|
||||
"trailing_diamond": "\ue0b4",
|
||||
"type": "java"
|
||||
},
|
||||
|
@ -93,10 +93,10 @@
|
|||
"foreground": "#9B6BDF",
|
||||
"leading_diamond": " \ue0b6",
|
||||
"properties": {
|
||||
"fetch_version": false,
|
||||
"template": "\ue624{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}"
|
||||
"fetch_version": false
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "\ue624{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}",
|
||||
"trailing_diamond": "\ue0b4",
|
||||
"type": "julia"
|
||||
},
|
||||
|
@ -112,10 +112,10 @@
|
|||
"properties": {
|
||||
"charged_icon": "\u25cf ",
|
||||
"charging_icon": "\u21e1 ",
|
||||
"discharging_icon": "\u21e3 ",
|
||||
"template": "{{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }}"
|
||||
"discharging_icon": "\u21e3 "
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "{{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }}",
|
||||
"trailing_diamond": "\ue0b4",
|
||||
"type": "battery"
|
||||
}
|
||||
|
@ -129,10 +129,8 @@
|
|||
"background": "#424242",
|
||||
"foreground": "#9B6BDF",
|
||||
"leading_diamond": "\ue0b6",
|
||||
"properties": {
|
||||
"template": "{{ .UserName }} \u276f"
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "{{ .UserName }} \u276f",
|
||||
"trailing_diamond": "\ue0b4 ",
|
||||
"type": "session"
|
||||
}
|
||||
|
@ -140,5 +138,5 @@
|
|||
"type": "prompt"
|
||||
}
|
||||
],
|
||||
"version": 1
|
||||
"version": 2
|
||||
}
|
||||
|
|
|
@ -7,20 +7,18 @@
|
|||
{
|
||||
"background": "#003543",
|
||||
"foreground": "#ffffff",
|
||||
"properties": {
|
||||
"template": " \uf64f {{ .CurrentDate | date .Format }} "
|
||||
},
|
||||
"style": "plain",
|
||||
"template": " \uf64f {{ .CurrentDate | date .Format }} ",
|
||||
"type": "time"
|
||||
},
|
||||
{
|
||||
"background": "#83769c",
|
||||
"foreground": "#ffffff",
|
||||
"properties": {
|
||||
"always_enabled": true,
|
||||
"template": " \ufa1e{{ .FormattedMs }} "
|
||||
"always_enabled": true
|
||||
},
|
||||
"style": "plain",
|
||||
"template": " \ufa1e{{ .FormattedMs }} ",
|
||||
"type": "executiontime"
|
||||
}
|
||||
],
|
||||
|
@ -33,10 +31,10 @@
|
|||
"background": "#61AFEF",
|
||||
"foreground": "#ffffff",
|
||||
"properties": {
|
||||
"display_host": false,
|
||||
"template": "{{if .Root}} \uf0e7 {{.UserName}} {{else}} {{.UserName}} {{end}}"
|
||||
"display_host": false
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "{{if .Root}} \uf0e7 {{.UserName}} {{else}} {{.UserName}} {{end}}",
|
||||
"trailing_diamond": "\ue0b0",
|
||||
"type": "session"
|
||||
},
|
||||
|
@ -48,20 +46,18 @@
|
|||
"folder_icon": "\uf115",
|
||||
"folder_separator_icon": " \ue0b1 ",
|
||||
"max_depth": 2,
|
||||
"style": "agnoster_short",
|
||||
"template": " {{ .Path }} "
|
||||
"style": "agnoster_short"
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": " {{ .Path }} ",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"background": "#95ffa4",
|
||||
"foreground": "#193549",
|
||||
"powerline_symbol": "\ue0b0",
|
||||
"properties": {
|
||||
"template": " {{ .HEAD }} "
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": " {{ .HEAD }} ",
|
||||
"type": "git"
|
||||
}
|
||||
],
|
||||
|
@ -70,5 +66,5 @@
|
|||
],
|
||||
"console_title_template": "{{if .Root}} \u26a1 {{end}}{{.UserName}} \u2794 📁{{.Folder}}",
|
||||
"final_space": true,
|
||||
"version": 1
|
||||
"version": 2
|
||||
}
|
||||
|
|
|
@ -8,10 +8,8 @@
|
|||
"background": "#E36464",
|
||||
"foreground": "#fff",
|
||||
"leading_diamond": "\ue0b6",
|
||||
"properties": {
|
||||
"template": "{{ .UserName }} "
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "{{ .UserName }} ",
|
||||
"trailing_diamond": "\ue0c6",
|
||||
"type": "session"
|
||||
},
|
||||
|
@ -20,10 +18,10 @@
|
|||
"foreground": "#fff",
|
||||
"leading_diamond": "\ue0c7",
|
||||
"properties": {
|
||||
"style": "folder",
|
||||
"template": " {{ .Path }} "
|
||||
"style": "folder"
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": " {{ .Path }} ",
|
||||
"trailing_diamond": "\ue0c6",
|
||||
"type": "path"
|
||||
},
|
||||
|
@ -32,10 +30,10 @@
|
|||
"foreground": "#fff",
|
||||
"leading_diamond": "\ue0c7",
|
||||
"properties": {
|
||||
"branch_icon": "",
|
||||
"template": " git({{ .HEAD }}) "
|
||||
"branch_icon": ""
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": " git({{ .HEAD }}) ",
|
||||
"trailing_diamond": "\ue0c6",
|
||||
"type": "git"
|
||||
},
|
||||
|
@ -44,10 +42,10 @@
|
|||
"foreground": "#fff",
|
||||
"leading_diamond": "\ue0c7",
|
||||
"properties": {
|
||||
"template": " {{ .CurrentDate | date .Format }} ",
|
||||
"time_format": "15:04"
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": " {{ .CurrentDate | date .Format }} ",
|
||||
"trailing_diamond": "\ue0c6",
|
||||
"type": "time"
|
||||
}
|
||||
|
@ -56,5 +54,5 @@
|
|||
}
|
||||
],
|
||||
"final_space": true,
|
||||
"version": 1
|
||||
"version": 2
|
||||
}
|
||||
|
|
|
@ -8,20 +8,18 @@
|
|||
"background": "#07585c",
|
||||
"foreground": "#ffffff",
|
||||
"leading_diamond": "\ue0b6",
|
||||
"properties": {
|
||||
"template": " {{ .UserName }}@{{ .HostName }} "
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": " {{ .UserName }}@{{ .HostName }} ",
|
||||
"type": "session"
|
||||
},
|
||||
{
|
||||
"background": "#3e9022",
|
||||
"foreground": "#ffffff",
|
||||
"properties": {
|
||||
"style": "folder",
|
||||
"template": " \ue5ff {{ .Path }} "
|
||||
"style": "folder"
|
||||
},
|
||||
"style": "plain",
|
||||
"template": " \ue5ff {{ .Path }} ",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
|
@ -29,10 +27,10 @@
|
|||
"foreground": "#ffffff",
|
||||
"properties": {
|
||||
"branch_icon": "",
|
||||
"fetch_upstream_icon": true,
|
||||
"template": " {{ .UpstreamIcon }}{{ .HEAD }} "
|
||||
"fetch_upstream_icon": true
|
||||
},
|
||||
"style": "plain",
|
||||
"template": " {{ .UpstreamIcon }}{{ .HEAD }} ",
|
||||
"type": "git"
|
||||
},
|
||||
{
|
||||
|
@ -42,10 +40,10 @@
|
|||
"paused_icon": "\uf8e3 ",
|
||||
"playing_icon": "\ue602 ",
|
||||
"stopped_icon": "\uf04d ",
|
||||
"template": " \uf9c6 {{ .Icon }}{{ if ne .Status \"stopped\" }}{{ .Artist }} - {{ .Track }}{{ end }} ",
|
||||
"track_separator": " - "
|
||||
},
|
||||
"style": "plain",
|
||||
"template": " \uf9c6 {{ .Icon }}{{ if ne .Status \"stopped\" }}{{ .Artist }} - {{ .Track }}{{ end }} ",
|
||||
"type": "spotify"
|
||||
},
|
||||
{
|
||||
|
@ -55,10 +53,10 @@
|
|||
],
|
||||
"foreground": "#ffffff",
|
||||
"properties": {
|
||||
"always_enabled": true,
|
||||
"template": " \uf7d4 "
|
||||
"always_enabled": true
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": " \uf7d4 ",
|
||||
"trailing_diamond": "\ue0b4",
|
||||
"type": "exit"
|
||||
}
|
||||
|
@ -67,5 +65,5 @@
|
|||
}
|
||||
],
|
||||
"final_space": true,
|
||||
"version": 1
|
||||
"version": 2
|
||||
}
|
||||
|
|
|
@ -11,11 +11,11 @@
|
|||
"leading_diamond": "\ue0b2",
|
||||
"properties": {
|
||||
"macos": "\uf179 ",
|
||||
"template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}}",
|
||||
"ubuntu": "\uf31b ",
|
||||
"windows": "\uf871 "
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}}",
|
||||
"trailing_diamond": "<transparent,#FEF5ED>\ue0b2</>",
|
||||
"type": "os"
|
||||
},
|
||||
|
@ -23,10 +23,8 @@
|
|||
"background": "#FEF5ED",
|
||||
"foreground": "#011627",
|
||||
"leading_diamond": "\ue0b2",
|
||||
"properties": {
|
||||
"template": "\uf489 {{ .Name }}"
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "\uf489 {{ .Name }}",
|
||||
"trailing_diamond": "<transparent,#FEF5ED>\ue0b2</>",
|
||||
"type": "shell"
|
||||
},
|
||||
|
@ -34,19 +32,15 @@
|
|||
"background": "#516BEB",
|
||||
"foreground": "#ffffff",
|
||||
"leading_diamond": "\ue0b2",
|
||||
"properties": {
|
||||
"template": "\uf85a CPU: {{ round .PhysicalPercentUsed .Precision }}% | "
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "\uf85a CPU: {{ round .PhysicalPercentUsed .Precision }}% | ",
|
||||
"type": "sysinfo"
|
||||
},
|
||||
{
|
||||
"background": "#516BEB",
|
||||
"foreground": "#ffffff",
|
||||
"properties": {
|
||||
"template": "MEM: {{ (div ((sub .PhysicalTotalMemory .PhysicalFreeMemory)|float64) 1000000000.0) }}/{{ (div .PhysicalTotalMemory 1000000000.0) }}GB \uf85a "
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "MEM: {{ (div ((sub .PhysicalTotalMemory .PhysicalFreeMemory)|float64) 1000000000.0) }}/{{ (div .PhysicalTotalMemory 1000000000.0) }}GB \uf85a ",
|
||||
"trailing_diamond": "<transparent,#516BEB>\ue0b2</>",
|
||||
"type": "sysinfo"
|
||||
},
|
||||
|
@ -56,10 +50,10 @@
|
|||
"leading_diamond": "\ue0b2",
|
||||
"properties": {
|
||||
"style": "roundrock",
|
||||
"template": " {{ .FormattedMs }} ",
|
||||
"threshold": 0
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": " {{ .FormattedMs }} ",
|
||||
"trailing_diamond": "\ue0b0",
|
||||
"type": "executiontime"
|
||||
}
|
||||
|
@ -78,10 +72,10 @@
|
|||
"fetch_stash_count": true,
|
||||
"fetch_status": true,
|
||||
"fetch_upstream_icon": 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 }} "
|
||||
"fetch_worktree_count": true
|
||||
},
|
||||
"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",
|
||||
"type": "git"
|
||||
}
|
||||
|
@ -93,35 +87,31 @@
|
|||
"newline": true,
|
||||
"segments": [
|
||||
{
|
||||
"properties": {
|
||||
"template": "\u256d\u2500"
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "\u256d\u2500",
|
||||
"type": "text"
|
||||
},
|
||||
{
|
||||
"properties": {
|
||||
"template": " \u2665 {{ .CurrentDate | date .Format }} |",
|
||||
"time_format": "15:04"
|
||||
},
|
||||
"style": "plain",
|
||||
"template": " \u2665 {{ .CurrentDate | date .Format }} |",
|
||||
"type": "time"
|
||||
},
|
||||
{
|
||||
"properties": {
|
||||
"template": " \uf292 "
|
||||
},
|
||||
"style": "plain",
|
||||
"template": " \uf292 ",
|
||||
"type": "root"
|
||||
},
|
||||
{
|
||||
"properties": {
|
||||
"folder_icon": "\uf07b ",
|
||||
"folder_separator_icon": " \uf554 ",
|
||||
"home_icon": "\uf7db ",
|
||||
"template": " {{ .Path }} "
|
||||
"home_icon": "\uf7db "
|
||||
},
|
||||
"style": "plain",
|
||||
"template": " {{ .Path }} ",
|
||||
"type": "path"
|
||||
}
|
||||
],
|
||||
|
@ -133,10 +123,10 @@
|
|||
"segments": [
|
||||
{
|
||||
"properties": {
|
||||
"always_enabled": true,
|
||||
"template": "\u2570\u2500 "
|
||||
"always_enabled": true
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "\u2570\u2500 ",
|
||||
"type": "exit"
|
||||
}
|
||||
],
|
||||
|
@ -150,5 +140,5 @@
|
|||
"foreground": "#FEF5ED",
|
||||
"template": "\ue285 "
|
||||
},
|
||||
"version": 1
|
||||
"version": 2
|
||||
}
|
||||
|
|
|
@ -8,10 +8,8 @@
|
|||
"background": "#c386f1",
|
||||
"foreground": "#ffffff",
|
||||
"leading_diamond": "\ue0b6",
|
||||
"properties": {
|
||||
"template": " {{ if .SSHSession }}\uf817 {{ end }}{{ .UserName }}@{{ .HostName }} "
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": " {{ if .SSHSession }}\uf817 {{ end }}{{ .UserName }}@{{ .HostName }} ",
|
||||
"trailing_diamond": "\ue0b0",
|
||||
"type": "session"
|
||||
},
|
||||
|
@ -20,10 +18,10 @@
|
|||
"foreground": "#ffffff",
|
||||
"powerline_symbol": "\ue0b0",
|
||||
"properties": {
|
||||
"style": "folder",
|
||||
"template": " \uf07b {{ .Path }} "
|
||||
"style": "folder"
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": " \uf07b {{ .Path }} ",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
|
@ -40,10 +38,10 @@
|
|||
"branch_max_length": 25,
|
||||
"fetch_stash_count": true,
|
||||
"fetch_status": 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 }} "
|
||||
"fetch_upstream_icon": true
|
||||
},
|
||||
"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"
|
||||
},
|
||||
{
|
||||
|
@ -54,10 +52,10 @@
|
|||
"foreground": "#ffffff",
|
||||
"leading_diamond": "<transparent,background>\ue0b0</>",
|
||||
"properties": {
|
||||
"always_enabled": true,
|
||||
"template": " \ue23a {{ if gt .Code 0 }}\uf00d {{ .Meaning }}{{ else }}\uf42e{{ end }} "
|
||||
"always_enabled": true
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": " \ue23a {{ if gt .Code 0 }}\uf00d {{ .Meaning }}{{ else }}\uf42e{{ end }} ",
|
||||
"trailing_diamond": "\ue0b4",
|
||||
"type": "exit"
|
||||
}
|
||||
|
@ -70,10 +68,8 @@
|
|||
{
|
||||
"background": "#0077c2",
|
||||
"foreground": "#ffffff",
|
||||
"properties": {
|
||||
"template": "<#0077c2,transparent>\ue0b6</> \uf489 {{ .Name }} <transparent,#0077c2>\ue0b2</>"
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "<#0077c2,transparent>\ue0b6</> \uf489 {{ .Name }} <transparent,#0077c2>\ue0b2</>",
|
||||
"type": "shell"
|
||||
},
|
||||
{
|
||||
|
@ -89,10 +85,10 @@
|
|||
"properties": {
|
||||
"charged_icon": "\ue22f ",
|
||||
"charging_icon": "\uf583 ",
|
||||
"discharging_icon": "\uf582 ",
|
||||
"template": " {{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }}\uf295 "
|
||||
"discharging_icon": "\uf582 "
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": " {{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }}\uf295 ",
|
||||
"type": "battery"
|
||||
},
|
||||
{
|
||||
|
@ -100,10 +96,8 @@
|
|||
"foreground": "#111111",
|
||||
"invert_powerline": true,
|
||||
"leading_diamond": "\ue0b2",
|
||||
"properties": {
|
||||
"template": " {{ .CurrentDate | date .Format }} "
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": " {{ .CurrentDate | date .Format }} ",
|
||||
"trailing_diamond": "\ue0b4",
|
||||
"type": "time"
|
||||
}
|
||||
|
@ -118,10 +112,8 @@
|
|||
"background": "#ebcc34",
|
||||
"foreground": "#000000",
|
||||
"leading_diamond": "\ue0b6",
|
||||
"properties": {
|
||||
"template": " \ufd31 Kubernetes {{.Context}} cluster {{if .Namespace}}- {{.Namespace}} namespace{{end}} "
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": " \ufd31 Kubernetes {{.Context}} cluster {{if .Namespace}}- {{.Namespace}} namespace{{end}} ",
|
||||
"trailing_diamond": "\ue0b0",
|
||||
"type": "kubectl"
|
||||
},
|
||||
|
@ -129,10 +121,8 @@
|
|||
"background": "#9ec3f0",
|
||||
"foreground": "#000000",
|
||||
"powerline_symbol": "\ue0b0",
|
||||
"properties": {
|
||||
"template": " \ufd03 Subscription {{ .Name }} ({{ if .EnvironmentName | contains \"AzureCloud\" }}{{ \"Global\" }}{{ else }}{{ .EnvironmentName }}{{ end }}) "
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": " \ufd03 Subscription {{ .Name }} ({{ if .EnvironmentName | contains \"AzureCloud\" }}{{ \"Global\" }}{{ else }}{{ .EnvironmentName }}{{ end }}) ",
|
||||
"type": "az"
|
||||
}
|
||||
],
|
||||
|
@ -144,10 +134,8 @@
|
|||
"segments": [
|
||||
{
|
||||
"foreground": "#E06C75",
|
||||
"properties": {
|
||||
"template": " ~ "
|
||||
},
|
||||
"style": "plain",
|
||||
"template": " ~ ",
|
||||
"type": "text"
|
||||
}
|
||||
],
|
||||
|
@ -156,5 +144,5 @@
|
|||
],
|
||||
"console_title_template": "{{ .Shell }} in {{ .Folder }}",
|
||||
"final_space": true,
|
||||
"version": 1
|
||||
"version": 2
|
||||
}
|
||||
|
|
|
@ -8,20 +8,16 @@
|
|||
"background": "#f1184c",
|
||||
"foreground": "#242424",
|
||||
"powerline_symbol": "\ue0c4",
|
||||
"properties": {
|
||||
"template": "\uf0e7"
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": "\uf0e7",
|
||||
"type": "root"
|
||||
},
|
||||
{
|
||||
"background": "#282c34",
|
||||
"foreground": "#3A86FF",
|
||||
"leading_diamond": " ",
|
||||
"properties": {
|
||||
"template": "{{ if .WSL }}WSL at {{ end }}{{.Icon}} "
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "{{ if .WSL }}WSL at {{ end }}{{.Icon}} ",
|
||||
"type": "os"
|
||||
},
|
||||
{
|
||||
|
@ -29,10 +25,10 @@
|
|||
"foreground": "#FFBB00",
|
||||
"powerline_symbol": "\ue0c4",
|
||||
"properties": {
|
||||
"template": "{{ .CurrentDate | date .Format }} ",
|
||||
"time_format": "15:04:05"
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": "{{ .CurrentDate | date .Format }} ",
|
||||
"type": "time"
|
||||
},
|
||||
{
|
||||
|
@ -41,10 +37,10 @@
|
|||
"powerline_symbol": "\ue0b0",
|
||||
"properties": {
|
||||
"folder_separator_icon": "/",
|
||||
"style": "folder",
|
||||
"template": "\ue5ff {{ .Path }} "
|
||||
"style": "folder"
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": "\ue5ff {{ .Path }} ",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
|
@ -54,20 +50,18 @@
|
|||
"properties": {
|
||||
"fetch_stash_count": true,
|
||||
"fetch_status": 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 }} "
|
||||
"fetch_upstream_icon": true
|
||||
},
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"background": "#0184bc",
|
||||
"foreground": "#ffffff",
|
||||
"powerline_symbol": "\ue0c4",
|
||||
"properties": {
|
||||
"template": " \ue70c {{ if .Unsupported }}\uf071{{ else }}{{ .Full }}{{ end }} "
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": " \ue70c {{ if .Unsupported }}\uf071{{ else }}{{ .Full }}{{ end }} ",
|
||||
"type": "dotnet"
|
||||
},
|
||||
{
|
||||
|
@ -76,10 +70,10 @@
|
|||
"powerline_symbol": "\ue0c4",
|
||||
"properties": {
|
||||
"style": "austin",
|
||||
"template": " <#fefefe>\ufbab</> {{ .FormattedMs }} ",
|
||||
"threshold": 1
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": " <#fefefe>\ufbab</> {{ .FormattedMs }} ",
|
||||
"type": "executiontime"
|
||||
},
|
||||
{
|
||||
|
@ -89,10 +83,8 @@
|
|||
],
|
||||
"foreground": "#242424",
|
||||
"powerline_symbol": "\ue0b4",
|
||||
"properties": {
|
||||
"template": " \uf7d4 "
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": " \uf7d4 ",
|
||||
"type": "exit"
|
||||
}
|
||||
],
|
||||
|
@ -104,10 +96,8 @@
|
|||
"segments": [
|
||||
{
|
||||
"foreground": "#f1184c",
|
||||
"properties": {
|
||||
"template": "\u279c "
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "\u279c ",
|
||||
"type": "text"
|
||||
}
|
||||
],
|
||||
|
@ -115,5 +105,5 @@
|
|||
}
|
||||
],
|
||||
"console_title_template": "{{if .Root}}(Admin) {{end}}{{.Folder}}",
|
||||
"version": 1
|
||||
"version": 2
|
||||
}
|
||||
|
|
|
@ -6,34 +6,26 @@
|
|||
"segments": [
|
||||
{
|
||||
"foreground": "#ffffff",
|
||||
"properties": {
|
||||
"template": "<#CB4B16>\u250f[</>{{ .UserName }}<#CB4B16>]</>"
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "<#CB4B16>\u250f[</>{{ .UserName }}<#CB4B16>]</>",
|
||||
"type": "session"
|
||||
},
|
||||
{
|
||||
"foreground": "#ffffff",
|
||||
"properties": {
|
||||
"template": "<#CB4B16>[</>{{ .HEAD }}<#CB4B16>]</>"
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "<#CB4B16>[</>{{ .HEAD }}<#CB4B16>]</>",
|
||||
"type": "git"
|
||||
},
|
||||
{
|
||||
"foreground": "#ffffff",
|
||||
"properties": {
|
||||
"template": "<#CB4B16>[</>\uf0e7<#CB4B16>]</>"
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "<#CB4B16>[</>\uf0e7<#CB4B16>]</>",
|
||||
"type": "root"
|
||||
},
|
||||
{
|
||||
"foreground": "#ffffff",
|
||||
"properties": {
|
||||
"template": "<#CB4B16>[x</>{{ .Meaning }}<#CB4B16>]</>"
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "<#CB4B16>[x</>{{ .Meaning }}<#CB4B16>]</>",
|
||||
"type": "exit"
|
||||
}
|
||||
],
|
||||
|
@ -46,10 +38,10 @@
|
|||
{
|
||||
"foreground": "#ffffff",
|
||||
"properties": {
|
||||
"style": "full",
|
||||
"template": "<#CB4B16>\u2516[</>{{ .Path }}<#CB4B16>]></>"
|
||||
"style": "full"
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "<#CB4B16>\u2516[</>{{ .Path }}<#CB4B16>]></>",
|
||||
"type": "path"
|
||||
}
|
||||
],
|
||||
|
@ -57,5 +49,5 @@
|
|||
}
|
||||
],
|
||||
"final_space": true,
|
||||
"version": 1
|
||||
"version": 2
|
||||
}
|
||||
|
|
|
@ -1,14 +1,5 @@
|
|||
{
|
||||
"$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": [
|
||||
{
|
||||
"alignment": "left",
|
||||
|
@ -18,10 +9,10 @@
|
|||
"foreground": "p:black",
|
||||
"leading_diamond": "\ue0b6",
|
||||
"properties": {
|
||||
"display_host": false,
|
||||
"template": " {{ if .SSHSession }}\uf817 {{ end }}{{ .UserName }} "
|
||||
"display_host": false
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": " {{ if .SSHSession }}\uf817 {{ end }}{{ .UserName }} ",
|
||||
"trailing_diamond": "\ue0b0",
|
||||
"type": "session"
|
||||
},
|
||||
|
@ -31,10 +22,10 @@
|
|||
"powerline_symbol": "\ue0b0",
|
||||
"properties": {
|
||||
"home_icon": "~",
|
||||
"style": "folder",
|
||||
"template": " \uf74a {{ path .Path .Location }} "
|
||||
"style": "folder"
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": " \uf74a {{ path .Path .Location }} ",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
|
@ -56,10 +47,10 @@
|
|||
"branch_max_length": 25,
|
||||
"fetch_status": true,
|
||||
"fetch_upstream_icon": true,
|
||||
"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 }} "
|
||||
"github_icon": "\uf7a3"
|
||||
},
|
||||
"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"
|
||||
},
|
||||
{
|
||||
|
@ -67,22 +58,24 @@
|
|||
"foreground": "p:white",
|
||||
"powerline_symbol": "\ue0b0",
|
||||
"properties": {
|
||||
"root_icon": "\uf0ad",
|
||||
"template": " \uf0e7 "
|
||||
"root_icon": "\uf0ad"
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": " \uf0e7 ",
|
||||
"type": "root"
|
||||
},
|
||||
{
|
||||
"background": "p:blue",
|
||||
"background_templates": ["{{ if gt .Code 0 }}p:red{{ end }}"],
|
||||
"background_templates": [
|
||||
"{{ if gt .Code 0 }}p:red{{ end }}"
|
||||
],
|
||||
"foreground": "p:white",
|
||||
"leading_diamond": "<transparent,background>\ue0b0</>",
|
||||
"properties": {
|
||||
"always_enabled": true,
|
||||
"template": " {{ if gt .Code 0 }}\uf00d{{ else }}\uf00c{{ end }} "
|
||||
"always_enabled": true
|
||||
},
|
||||
"style": "diamond",
|
||||
"leading_diamond": "<transparent,background>\ue0b0</>",
|
||||
"template": " {{ if gt .Code 0 }}\uf00d{{ else }}\uf00c{{ end }} ",
|
||||
"trailing_diamond": "\ue0b4",
|
||||
"type": "exit"
|
||||
}
|
||||
|
@ -97,20 +90,20 @@
|
|||
"properties": {
|
||||
"display_mode": "files",
|
||||
"fetch_package_manager": false,
|
||||
"home_enabled": false,
|
||||
"template": "\uf898 "
|
||||
"home_enabled": false
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "\uf898 ",
|
||||
"type": "node"
|
||||
},
|
||||
{
|
||||
"background": "transparent",
|
||||
"foreground": "p:blue",
|
||||
"properties": {
|
||||
"fetch_version": false,
|
||||
"template": "\ufcd1 "
|
||||
"fetch_version": false
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": "\ufcd1 ",
|
||||
"type": "go"
|
||||
},
|
||||
{
|
||||
|
@ -119,28 +112,24 @@
|
|||
"properties": {
|
||||
"display_mode": "files",
|
||||
"fetch_version": true,
|
||||
"fetch_virtual_env": false,
|
||||
"template": "\ue235 "
|
||||
"fetch_virtual_env": false
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "\ue235 ",
|
||||
"type": "python"
|
||||
},
|
||||
{
|
||||
"background": "transparent",
|
||||
"foreground": "p:white",
|
||||
"properties": {
|
||||
"template": "in <p:blue><b>{{ .Name }}</b></> "
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "in <p:blue><b>{{ .Name }}</b></> ",
|
||||
"type": "shell"
|
||||
},
|
||||
{
|
||||
"background": "transparent",
|
||||
"foreground": "p:white",
|
||||
"properties": {
|
||||
"template": "at <p:blue><b>{{ .CurrentDate | date \"15:04:05\" }}</b></>"
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "at <p:blue><b>{{ .CurrentDate | date \"15:04:05\" }}</b></>",
|
||||
"type": "time"
|
||||
}
|
||||
],
|
||||
|
@ -149,6 +138,15 @@
|
|||
],
|
||||
"console_title_template": "{{ .Shell }} in {{ .Folder }}",
|
||||
"final_space": true,
|
||||
"palette": {
|
||||
"black": "#262B44",
|
||||
"blue": "#4B95E9",
|
||||
"green": "#59C9A5",
|
||||
"orange": "#F07623",
|
||||
"red": "#D81E5B",
|
||||
"white": "#E0DEF4",
|
||||
"yellow": "#F3AE35"
|
||||
},
|
||||
"secondary_prompt": {
|
||||
"background": "transparent",
|
||||
"foreground": "p:black",
|
||||
|
@ -160,11 +158,13 @@
|
|||
"foreground": "p:white",
|
||||
"leading_diamond": "\ue0b6",
|
||||
"properties": {
|
||||
"display_default": true,
|
||||
"template": " \ue7ad {{ .Profile }}{{ if .Region }}@{{ .Region }}{{ end }} "
|
||||
"display_default": true
|
||||
},
|
||||
"style": "diamond",
|
||||
"tips": ["aws"],
|
||||
"template": " \ue7ad {{ .Profile }}{{ if .Region }}@{{ .Region }}{{ end }} ",
|
||||
"tips": [
|
||||
"aws"
|
||||
],
|
||||
"trailing_diamond": "\ue0b4",
|
||||
"type": "aws"
|
||||
},
|
||||
|
@ -172,11 +172,11 @@
|
|||
"background": "p:blue",
|
||||
"foreground": "p:white",
|
||||
"leading_diamond": "\ue0b6",
|
||||
"properties": {
|
||||
"template": " \ufd03 {{ .Name }} "
|
||||
},
|
||||
"style": "diamond",
|
||||
"tips": ["az"],
|
||||
"template": " \ufd03 {{ .Name }} ",
|
||||
"tips": [
|
||||
"az"
|
||||
],
|
||||
"trailing_diamond": "\ue0b4",
|
||||
"type": "az"
|
||||
}
|
||||
|
@ -186,5 +186,5 @@
|
|||
"foreground": "p:black",
|
||||
"template": "<p:yellow,transparent>\ue0b6</><,p:yellow> {{ .Folder }} </><p:yellow,transparent>\ue0b0</> "
|
||||
},
|
||||
"version": 1
|
||||
"version": 2
|
||||
}
|
||||
|
|
|
@ -6,37 +6,35 @@
|
|||
"segments": [
|
||||
{
|
||||
"foreground": "#FFBD00",
|
||||
"properties": {
|
||||
"template": "{{ .UserName }}'s "
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "{{ .UserName }}'s ",
|
||||
"type": "session"
|
||||
},
|
||||
{
|
||||
"foreground": "#00C6F7",
|
||||
"properties": {
|
||||
"style": "folder",
|
||||
"template": "{{ .Path }}/ "
|
||||
"style": "folder"
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "{{ .Path }}/ ",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"foreground": "#F62F2E",
|
||||
"properties": {
|
||||
"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 }} "
|
||||
"fetch_status": true
|
||||
},
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"foreground": "#98C379",
|
||||
"properties": {
|
||||
"fetch_version": true,
|
||||
"template": "<#ffffff>via</> \ue781 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} "
|
||||
"fetch_version": true
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "<#ffffff>via</> \ue781 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} ",
|
||||
"type": "node"
|
||||
}
|
||||
],
|
||||
|
@ -47,10 +45,8 @@
|
|||
"segments": [
|
||||
{
|
||||
"foreground": "#85C980",
|
||||
"properties": {
|
||||
"template": "RAM:{{ (div ((sub .PhysicalTotalMemory .PhysicalFreeMemory)|float64) 1000000000.0) }}/{{ (div .PhysicalTotalMemory 1000000000.0) }}GB "
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "RAM:{{ (div ((sub .PhysicalTotalMemory .PhysicalFreeMemory)|float64) 1000000000.0) }}/{{ (div .PhysicalTotalMemory 1000000000.0) }}GB ",
|
||||
"trailing_diamond": " ",
|
||||
"type": "sysinfo"
|
||||
},
|
||||
|
@ -59,10 +55,10 @@
|
|||
"leading_diamond": "\u250b",
|
||||
"properties": {
|
||||
"style": "roundrock",
|
||||
"template": " {{ .FormattedMs }} ",
|
||||
"threshold": 0
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": " {{ .FormattedMs }} ",
|
||||
"type": "executiontime"
|
||||
}
|
||||
],
|
||||
|
@ -74,10 +70,8 @@
|
|||
"segments": [
|
||||
{
|
||||
"foreground": "#FFBD00",
|
||||
"properties": {
|
||||
"template": "\u2b9e "
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "\u2b9e ",
|
||||
"type": "text"
|
||||
}
|
||||
],
|
||||
|
@ -85,5 +79,5 @@
|
|||
}
|
||||
],
|
||||
"final_space": true,
|
||||
"version": 1
|
||||
"version": 2
|
||||
}
|
||||
|
|
|
@ -7,58 +7,52 @@
|
|||
{
|
||||
"foreground": "#E5C07B",
|
||||
"properties": {
|
||||
"template": "[{{ .CurrentDate | date .Format }}]",
|
||||
"time_format": "15:04:05"
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "[{{ .CurrentDate | date .Format }}]",
|
||||
"type": "time"
|
||||
},
|
||||
{
|
||||
"foreground": "#B5B50D",
|
||||
"properties": {
|
||||
"template": " \uf0e7 "
|
||||
},
|
||||
"style": "plain",
|
||||
"template": " \uf0e7 ",
|
||||
"type": "root"
|
||||
},
|
||||
{
|
||||
"foreground": "#61AFEF",
|
||||
"properties": {
|
||||
"style": "agnoster",
|
||||
"template": " {{ .Path }} on"
|
||||
"style": "agnoster"
|
||||
},
|
||||
"style": "plain",
|
||||
"template": " {{ .Path }} on",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"foreground": "#F3C267",
|
||||
"properties": {
|
||||
"branch_gone_icon": "\u274e",
|
||||
"branch_identical_icon": "\uf14a",
|
||||
"template": " {{ .HEAD }} "
|
||||
"branch_identical_icon": "\uf14a"
|
||||
},
|
||||
"style": "plain",
|
||||
"template": " {{ .HEAD }} ",
|
||||
"type": "git"
|
||||
},
|
||||
{
|
||||
"foreground": "#C94A16",
|
||||
"properties": {
|
||||
"template": "x{{ .Meaning }} "
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "x{{ .Meaning }} ",
|
||||
"type": "exit"
|
||||
},
|
||||
{
|
||||
"foreground": "#E06C75",
|
||||
"properties": {
|
||||
"template": "\u276f "
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "\u276f ",
|
||||
"type": "text"
|
||||
}
|
||||
],
|
||||
"type": "prompt"
|
||||
}
|
||||
],
|
||||
"version": 1
|
||||
"version": 2
|
||||
}
|
||||
|
|
|
@ -8,10 +8,8 @@
|
|||
"background": "#adbccd",
|
||||
"foreground": "#0f1225",
|
||||
"leading_diamond": "\ue0b6",
|
||||
"properties": {
|
||||
"template": "{{ .UserName }} "
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "{{ .UserName }} ",
|
||||
"type": "session"
|
||||
},
|
||||
{
|
||||
|
@ -19,10 +17,10 @@
|
|||
"foreground": "#0f1225",
|
||||
"powerline_symbol": "\ue0b0",
|
||||
"properties": {
|
||||
"style": "folder",
|
||||
"template": " {{ .Path }} "
|
||||
"style": "folder"
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": " {{ .Path }} ",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
|
@ -33,30 +31,28 @@
|
|||
"branch_icon": "",
|
||||
"fetch_stash_count": true,
|
||||
"fetch_status": true,
|
||||
"fetch_upstream_icon": true,
|
||||
"template": " \u279c ({{ .UpstreamIcon }}{{ .HEAD }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }}) "
|
||||
"fetch_upstream_icon": true
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": " \u279c ({{ .UpstreamIcon }}{{ .HEAD }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }}) ",
|
||||
"type": "git"
|
||||
},
|
||||
{
|
||||
"background": "#86BBD8",
|
||||
"foreground": "#ffffff",
|
||||
"powerline_symbol": "\ue0b0",
|
||||
"properties": {
|
||||
"template": " \ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} "
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": " \ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} ",
|
||||
"type": "node"
|
||||
},
|
||||
{
|
||||
"background": "#1f4b8e",
|
||||
"foreground": "#ffffff",
|
||||
"properties": {
|
||||
"template": " \uf9b6{{ .CurrentDate | date .Format }} ",
|
||||
"time_format": "15:04"
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": " \uf9b6{{ .CurrentDate | date .Format }} ",
|
||||
"trailing_diamond": "\ue0b0",
|
||||
"type": "time"
|
||||
}
|
||||
|
@ -69,10 +65,8 @@
|
|||
"background": "#1f4b8e",
|
||||
"foreground": "#ffffff",
|
||||
"leading_diamond": "\ue0b2",
|
||||
"properties": {
|
||||
"template": " \uf1bb {{ .Env.DAYS }} days till Christmas "
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": " \uf1bb {{ .Env.DAYS }} days till Christmas ",
|
||||
"trailing_diamond": "\ue0b4",
|
||||
"type": "text"
|
||||
}
|
||||
|
@ -87,5 +81,5 @@
|
|||
"foreground": "#ffffff",
|
||||
"template": "<#1f4b8e,transparent>\ue0b6</><#ffffff,#1f4b8e>\uf2dc</><#1f4b8e,transparent>\ue0b4</> {{ .Command }}"
|
||||
},
|
||||
"version": 1
|
||||
"version": 2
|
||||
}
|
||||
|
|
|
@ -6,26 +6,20 @@
|
|||
"segments": [
|
||||
{
|
||||
"foreground": "#ffffff",
|
||||
"properties": {
|
||||
"template": " {{ .Meaning }}"
|
||||
},
|
||||
"style": "plain",
|
||||
"template": " {{ .Meaning }}",
|
||||
"type": "exit"
|
||||
},
|
||||
{
|
||||
"foreground": "#100e23",
|
||||
"properties": {
|
||||
"template": " \uf0e7 "
|
||||
},
|
||||
"style": "plain",
|
||||
"template": " \uf0e7 ",
|
||||
"type": "root"
|
||||
},
|
||||
{
|
||||
"foreground": "#ffffff",
|
||||
"properties": {
|
||||
"template": " {{ .UserName }}@{{ .HostName }} "
|
||||
},
|
||||
"style": "plain",
|
||||
"template": " {{ .UserName }}@{{ .HostName }} ",
|
||||
"type": "session"
|
||||
},
|
||||
{
|
||||
|
@ -34,32 +28,28 @@
|
|||
"properties": {
|
||||
"folder_icon": "\uf115",
|
||||
"folder_separator_icon": " \ue0b1 ",
|
||||
"style": "full",
|
||||
"template": "<transparent>\ue0b0</> {{ .Path }} "
|
||||
"style": "full"
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "<transparent>\ue0b0</> {{ .Path }} ",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"background": "#007ACC",
|
||||
"foreground": "#ffffff",
|
||||
"properties": {
|
||||
"template": "<#ffffff>\ue0b1</> {{ .HEAD }} "
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "<#ffffff>\ue0b1</> {{ .HEAD }} ",
|
||||
"type": "git"
|
||||
},
|
||||
{
|
||||
"foreground": "#007ACC",
|
||||
"properties": {
|
||||
"template": "\ue0b0 "
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "\ue0b0 ",
|
||||
"type": "text"
|
||||
}
|
||||
],
|
||||
"type": "prompt"
|
||||
}
|
||||
],
|
||||
"version": 1
|
||||
"version": 2
|
||||
}
|
||||
|
|
|
@ -7,9 +7,6 @@
|
|||
"segments": [
|
||||
{
|
||||
"foreground": "#ffffff",
|
||||
"properties": {
|
||||
"template": ""
|
||||
},
|
||||
"style": "plain",
|
||||
"type": "text"
|
||||
}
|
||||
|
@ -21,20 +18,16 @@
|
|||
"segments": [
|
||||
{
|
||||
"foreground": "#0057b7",
|
||||
"properties": {
|
||||
"template": "\ue0c5"
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "\ue0c5",
|
||||
"type": "text"
|
||||
},
|
||||
{
|
||||
"background": "#0057b7",
|
||||
"foreground": "#FBD951",
|
||||
"powerline_symbol": "\ue0c4",
|
||||
"properties": {
|
||||
"template": " \ue795 "
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": " \ue795 ",
|
||||
"type": "text"
|
||||
},
|
||||
{
|
||||
|
@ -42,10 +35,10 @@
|
|||
"foreground": "#FBD951",
|
||||
"properties": {
|
||||
"home_icon": "\uf7dd",
|
||||
"style": "mixed",
|
||||
"template": "{{ .Path }} "
|
||||
"style": "mixed"
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "{{ .Path }} ",
|
||||
"trailing_diamond": "\ue0b0",
|
||||
"type": "path"
|
||||
},
|
||||
|
@ -56,10 +49,10 @@
|
|||
"properties": {
|
||||
"fetch_stash_count": true,
|
||||
"fetch_status": 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 }} "
|
||||
"fetch_upstream_icon": true
|
||||
},
|
||||
"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"
|
||||
},
|
||||
{
|
||||
|
@ -75,33 +68,30 @@
|
|||
"properties": {
|
||||
"fetch_stash_count": false,
|
||||
"fetch_status": false,
|
||||
"fetch_upstream_icon": false,
|
||||
"template": "\uf105"
|
||||
"fetch_upstream_icon": false
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": "\uf105",
|
||||
"type": "git"
|
||||
},
|
||||
{
|
||||
"leading_diamond": "<transparent,#49404f>\ue0b0</>",
|
||||
"properties": {
|
||||
"template": ""
|
||||
},
|
||||
"style": "plain",
|
||||
"trailing_diamond": "\ue0b0",
|
||||
"type": "text"
|
||||
},
|
||||
{
|
||||
"background": "#ffd700",
|
||||
"foreground": "#0057b7",
|
||||
"foreground_templates": [
|
||||
"{{ if gt .Code 0 }}#a30000{{ end }}"
|
||||
],
|
||||
"background": "#ffd700",
|
||||
"leading_diamond": "<transparent,#ffd700>\ue0b0</>",
|
||||
"properties": {
|
||||
"always_enabled": true,
|
||||
"template": " {{ if gt .Code 0 }}\uf421 \uf119 {{ else }}\uf469 \u2665 {{ end }}"
|
||||
"always_enabled": true
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": " {{ if gt .Code 0 }}\uf421 \uf119 {{ else }}\uf469 \u2665 {{ end }}",
|
||||
"trailing_diamond": "\ue0b0",
|
||||
"type": "exit"
|
||||
}
|
||||
|
@ -115,10 +105,8 @@
|
|||
"background": "#0057b7",
|
||||
"foreground": "#FBD951",
|
||||
"leading_diamond": "\ue0b6",
|
||||
"properties": {
|
||||
"template": " \uf0ac <#111111>\ue0b2</>"
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": " \uf0ac <#111111>\ue0b2</>",
|
||||
"type": "text"
|
||||
},
|
||||
{
|
||||
|
@ -129,10 +117,10 @@
|
|||
"properties": {
|
||||
"charged_icon": "\uf583 ",
|
||||
"charging_icon": "\uf492 ",
|
||||
"discharging_icon": "\uf58c ",
|
||||
"template": " {{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }}% <#111111>\ue0b2</>"
|
||||
"discharging_icon": "\uf58c "
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": " {{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }}% <#111111>\ue0b2</>",
|
||||
"type": "battery"
|
||||
},
|
||||
{
|
||||
|
@ -141,10 +129,10 @@
|
|||
"invert_powerline": true,
|
||||
"leading_diamond": "\ue0b2",
|
||||
"properties": {
|
||||
"always_enabled": true,
|
||||
"template": " \uf608 {{ .FormattedMs }} <#111111>\ue0b2</>"
|
||||
"always_enabled": true
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": " \uf608 {{ .FormattedMs }} <#111111>\ue0b2</>",
|
||||
"type": "executiontime"
|
||||
},
|
||||
{
|
||||
|
@ -153,10 +141,10 @@
|
|||
"invert_powerline": true,
|
||||
"leading_diamond": "\ue0b2",
|
||||
"properties": {
|
||||
"template": " \uf5ef {{ .CurrentDate | date .Format }}",
|
||||
"time_format": "_2,15:04"
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": " \uf5ef {{ .CurrentDate | date .Format }}",
|
||||
"trailing_diamond": "\ue0b4",
|
||||
"type": "time"
|
||||
}
|
||||
|
@ -169,30 +157,24 @@
|
|||
"segments": [
|
||||
{
|
||||
"foreground": "#0057b7",
|
||||
"properties": {
|
||||
"template": "\ue0c5"
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "\ue0c5",
|
||||
"type": "text"
|
||||
},
|
||||
{
|
||||
"background": "#0057b7",
|
||||
"foreground": "#ffd700",
|
||||
"powerline_symbol": "\ue0c4",
|
||||
"properties": {
|
||||
"template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}} "
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}} ",
|
||||
"type": "os"
|
||||
},
|
||||
{
|
||||
"background": "#0057b7",
|
||||
"foreground": "#FBD951",
|
||||
"powerline_symbol": "\ue0b0",
|
||||
"properties": {
|
||||
"template": "\uf0e7 "
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": "\uf0e7 ",
|
||||
"type": "root"
|
||||
},
|
||||
{
|
||||
|
@ -200,10 +182,10 @@
|
|||
"foreground": "#0057b7",
|
||||
"powerline_symbol": "\ue0b0",
|
||||
"properties": {
|
||||
"display_host": false,
|
||||
"template": " {{ if .SSHSession }}\uf817 {{ end }}{{ .UserName }} "
|
||||
"display_host": false
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": " {{ if .SSHSession }}\uf817 {{ end }}{{ .UserName }} ",
|
||||
"type": "session"
|
||||
}
|
||||
],
|
||||
|
@ -214,34 +196,26 @@
|
|||
"segments": [
|
||||
{
|
||||
"foreground": "#0057b7",
|
||||
"properties": {
|
||||
"template": "\uf004"
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "\uf004",
|
||||
"type": "text"
|
||||
},
|
||||
{
|
||||
"foreground": "#FBD951",
|
||||
"properties": {
|
||||
"template": "\uf004"
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "\uf004",
|
||||
"type": "text"
|
||||
},
|
||||
{
|
||||
"foreground": "#0057b7",
|
||||
"properties": {
|
||||
"template": "\uf004"
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "\uf004",
|
||||
"type": "text"
|
||||
},
|
||||
{
|
||||
"foreground": "#FBD951",
|
||||
"properties": {
|
||||
"template": "\uf004 Ukraine"
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "\uf004 Ukraine",
|
||||
"type": "text"
|
||||
}
|
||||
],
|
||||
|
@ -250,5 +224,5 @@
|
|||
],
|
||||
"console_title_template": "{{if .Root}}Admin: {{end}} {{.Folder}}",
|
||||
"final_space": true,
|
||||
"version": 1
|
||||
"version": 2
|
||||
}
|
||||
|
|
|
@ -8,19 +8,15 @@
|
|||
"background": "#3A86FF",
|
||||
"foreground": "#ffffff",
|
||||
"leading_diamond": "\ue0b6",
|
||||
"properties": {
|
||||
"template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}} "
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}} ",
|
||||
"type": "os"
|
||||
},
|
||||
{
|
||||
"background": "#3A86FF",
|
||||
"foreground": "#ffffff",
|
||||
"properties": {
|
||||
"template": " {{ .UserName }}@{{ .HostName }} "
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": " {{ .UserName }}@{{ .HostName }} ",
|
||||
"type": "session"
|
||||
},
|
||||
{
|
||||
|
@ -28,10 +24,10 @@
|
|||
"foreground": "#ffffff",
|
||||
"powerline_symbol": "\ue0b0",
|
||||
"properties": {
|
||||
"style": "full",
|
||||
"template": " \ue5ff {{ .Path }} "
|
||||
"style": "full"
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": " \ue5ff {{ .Path }} ",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
|
@ -39,10 +35,10 @@
|
|||
"foreground": "#193549",
|
||||
"powerline_symbol": "\ue0b0",
|
||||
"properties": {
|
||||
"template": " {{ .CurrentDate | date .Format }} ",
|
||||
"time_format": "2006-01-02 15:04:05"
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": " {{ .CurrentDate | date .Format }} ",
|
||||
"type": "time"
|
||||
},
|
||||
{
|
||||
|
@ -51,30 +47,26 @@
|
|||
"powerline_symbol": "\ue0b0",
|
||||
"properties": {
|
||||
"fetch_stash_count": true,
|
||||
"fetch_upstream_icon": true,
|
||||
"template": " {{ .UpstreamIcon }}{{ .HEAD }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} "
|
||||
"fetch_upstream_icon": true
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": " {{ .UpstreamIcon }}{{ .HEAD }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} ",
|
||||
"type": "git"
|
||||
},
|
||||
{
|
||||
"background": "#6CA35E",
|
||||
"foreground": "#ffffff",
|
||||
"powerline_symbol": "\ue0b0",
|
||||
"properties": {
|
||||
"template": " \ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} "
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": " \ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} ",
|
||||
"type": "node"
|
||||
},
|
||||
{
|
||||
"background": "#ffff66",
|
||||
"foreground": "#193549",
|
||||
"powerline_symbol": "\ue0b0",
|
||||
"properties": {
|
||||
"template": " \uf0e7 "
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": " \uf0e7 ",
|
||||
"type": "root"
|
||||
},
|
||||
{
|
||||
|
@ -85,10 +77,10 @@
|
|||
"foreground": "#ffffff",
|
||||
"leading_diamond": "<transparent,background>\ue0b0</>",
|
||||
"properties": {
|
||||
"always_enabled": true,
|
||||
"template": " \uf7d4 "
|
||||
"always_enabled": true
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": " \uf7d4 ",
|
||||
"trailing_diamond": "\ue0b4",
|
||||
"type": "exit"
|
||||
}
|
||||
|
@ -101,10 +93,8 @@
|
|||
"segments": [
|
||||
{
|
||||
"foreground": "#f1184c",
|
||||
"properties": {
|
||||
"template": "\uf7c6 "
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "\uf7c6 ",
|
||||
"type": "text"
|
||||
}
|
||||
],
|
||||
|
@ -112,5 +102,5 @@
|
|||
}
|
||||
],
|
||||
"final_space": true,
|
||||
"version": 1
|
||||
"version": 2
|
||||
}
|
||||
|
|
|
@ -7,19 +7,15 @@
|
|||
{
|
||||
"background": "#000000",
|
||||
"foreground": "#dd1e1e",
|
||||
"properties": {
|
||||
"template": " \u26a1 "
|
||||
},
|
||||
"style": "plain",
|
||||
"template": " \u26a1 ",
|
||||
"type": "root"
|
||||
},
|
||||
{
|
||||
"background": "transparent",
|
||||
"foreground": "#ffffff",
|
||||
"properties": {
|
||||
"template": "{{ if .WSL }}WSL at {{ end }}{{.Icon}} "
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "{{ if .WSL }}WSL at {{ end }}{{.Icon}} ",
|
||||
"type": "os"
|
||||
},
|
||||
{
|
||||
|
@ -29,10 +25,10 @@
|
|||
"folder_icon": "\uf6d7",
|
||||
"folder_separator_icon": "<transparent> \ue0bd </>",
|
||||
"home_icon": "\uf7db",
|
||||
"style": "agnoster_short",
|
||||
"template": " {{ .Path }} "
|
||||
"style": "agnoster_short"
|
||||
},
|
||||
"style": "plain",
|
||||
"template": " {{ .Path }} ",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
|
@ -44,25 +40,25 @@
|
|||
"{{ if gt .Behind 0 }}#B388FF{{ end }}"
|
||||
],
|
||||
"foreground": "#000000",
|
||||
"leading_diamond": "<parentBackground,background>\ue0b0</>",
|
||||
"properties": {
|
||||
"fetch_stash_count": 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 }} "
|
||||
"fetch_status": true
|
||||
},
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"background": "#2ba1bb",
|
||||
"foreground": "#5a3d29",
|
||||
"leading_diamond": "<parentBackground,background>\ue0b0</>",
|
||||
"properties": {
|
||||
"style": "dallas",
|
||||
"template": " {{ .FormattedMs }}s ",
|
||||
"threshold": 0
|
||||
},
|
||||
"style": "diamond",
|
||||
"leading_diamond": "<parentBackground,background>\ue0b0</>",
|
||||
"template": " {{ .FormattedMs }}s ",
|
||||
"type": "executiontime"
|
||||
},
|
||||
{
|
||||
|
@ -70,10 +66,10 @@
|
|||
"foreground": "#ffffff",
|
||||
"powerline_symbol": "\ue0b0",
|
||||
"properties": {
|
||||
"always_enabled": true,
|
||||
"template": "{{ if gt .Code 0 }}<parentBackground,background>\ue0b0</><transparent> \uf12a</> {{ .Meaning }} <background,transparent>\ue0b0</>{{ else }}<parentBackground,transparent>\ue0b0</>{{ end }}"
|
||||
"always_enabled": true
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "{{ if gt .Code 0 }}<parentBackground,background>\ue0b0</><transparent> \uf12a</> {{ .Meaning }} <background,transparent>\ue0b0</>{{ else }}<parentBackground,transparent>\ue0b0</>{{ end }}",
|
||||
"type": "exit"
|
||||
}
|
||||
],
|
||||
|
@ -86,20 +82,18 @@
|
|||
"background": "#5a3d29",
|
||||
"foreground": "#43CCEA",
|
||||
"leading_diamond": "\ue0c5",
|
||||
"properties": {
|
||||
"template": " {{ if .SSHSession }}\uf817 {{ end }}{{ .UserName }}<transparent> / </>{{ .HostName }}"
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": " {{ if .SSHSession }}\uf817 {{ end }}{{ .UserName }}<transparent> / </>{{ .HostName }}",
|
||||
"type": "session"
|
||||
},
|
||||
{
|
||||
"background": "#5a3d29",
|
||||
"foreground": "#43CCEA",
|
||||
"properties": {
|
||||
"template": "<transparent> \ue0ba\ue0bc </>{{ .CurrentDate | date .Format }} ",
|
||||
"time_format": "3:04:05 PM"
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "<transparent> \ue0ba\ue0bc </>{{ .CurrentDate | date .Format }} ",
|
||||
"type": "time"
|
||||
}
|
||||
],
|
||||
|
@ -115,10 +109,10 @@
|
|||
"{{ if gt .Code 0 }}#ff0000{{ end }}"
|
||||
],
|
||||
"properties": {
|
||||
"always_enabled": true,
|
||||
"template": "\u276f "
|
||||
"always_enabled": true
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "\u276f ",
|
||||
"type": "exit"
|
||||
}
|
||||
],
|
||||
|
@ -127,5 +121,5 @@
|
|||
],
|
||||
"console_title_template": "{{if .Root}} \u26a1 {{end}}{{.Folder | replace \"~\" \"🏚\" }} @ {{.HostName}}",
|
||||
"osc99": true,
|
||||
"version": 1
|
||||
"version": 2
|
||||
}
|
||||
|
|
|
@ -6,27 +6,23 @@
|
|||
"segments": [
|
||||
{
|
||||
"foreground": "#7E46B6",
|
||||
"properties": {
|
||||
"template": "{{ .UserName }} "
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "{{ .UserName }} ",
|
||||
"type": "session"
|
||||
},
|
||||
{
|
||||
"foreground": "#ffffff",
|
||||
"properties": {
|
||||
"template": "in "
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "in ",
|
||||
"type": "text"
|
||||
},
|
||||
{
|
||||
"foreground": "#87FF00",
|
||||
"properties": {
|
||||
"style": "full",
|
||||
"template": "{{ .Path }} "
|
||||
"style": "full"
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "{{ .Path }} ",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
|
@ -43,23 +39,21 @@
|
|||
"merge_icon": "",
|
||||
"rebase_icon": "",
|
||||
"revert_icon": "",
|
||||
"tag_icon": "",
|
||||
"template": "<#ffffff>on</> {{ .HEAD }}{{ if .Staging.Changed }}<#87FF00> \u25cf {{ .Staging.String }}</>{{ end }}{{ if .Working.Changed }}<#D75F00> \u25cf {{ .Working.String }}</>{{ end }} "
|
||||
"tag_icon": ""
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "<#ffffff>on</> {{ .HEAD }}{{ if .Staging.Changed }}<#87FF00> \u25cf {{ .Staging.String }}</>{{ end }}{{ if .Working.Changed }}<#D75F00> \u25cf {{ .Working.String }}</>{{ end }} ",
|
||||
"type": "git"
|
||||
},
|
||||
{
|
||||
"foreground": "#D75F00",
|
||||
"properties": {
|
||||
"template": "λ "
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "λ ",
|
||||
"type": "text"
|
||||
}
|
||||
],
|
||||
"type": "prompt"
|
||||
}
|
||||
],
|
||||
"version": 1
|
||||
"version": 2
|
||||
}
|
||||
|
|
|
@ -6,10 +6,8 @@
|
|||
"segments": [
|
||||
{
|
||||
"foreground": "#FFFFFF",
|
||||
"properties": {
|
||||
"template": "<#0377C8># </><#0377C8>{{ .UserName }}</> <#ffffff>in</> <#4A9207>{{ .HostName }}</> "
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "<#0377C8># </><#0377C8>{{ .UserName }}</> <#ffffff>in</> <#4A9207>{{ .HostName }}</> ",
|
||||
"type": "session"
|
||||
},
|
||||
{
|
||||
|
@ -17,18 +15,16 @@
|
|||
"properties": {
|
||||
"folder_icon": "\uf115",
|
||||
"folder_separator_icon": " \ue0b1 ",
|
||||
"style": "full",
|
||||
"template": " {{ .Path }} "
|
||||
"style": "full"
|
||||
},
|
||||
"style": "plain",
|
||||
"template": " {{ .Path }} ",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"foreground": "#B8B80A",
|
||||
"properties": {
|
||||
"template": "<#ffffff>on git:</>{{ .HEAD }} "
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "<#ffffff>on git:</>{{ .HEAD }} ",
|
||||
"type": "git"
|
||||
}
|
||||
],
|
||||
|
@ -39,10 +35,8 @@
|
|||
"segments": [
|
||||
{
|
||||
"foreground": "#ffffff",
|
||||
"properties": {
|
||||
"template": "[{{ .CurrentDate | date .Format }}]"
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "[{{ .CurrentDate | date .Format }}]",
|
||||
"type": "time"
|
||||
}
|
||||
],
|
||||
|
@ -54,34 +48,26 @@
|
|||
"segments": [
|
||||
{
|
||||
"foreground": "#CECE04",
|
||||
"properties": {
|
||||
"template": "\uf0e7 "
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "\uf0e7 ",
|
||||
"type": "root"
|
||||
},
|
||||
{
|
||||
"foreground": "#100e23",
|
||||
"properties": {
|
||||
"template": "\ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }} "
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "\ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }} ",
|
||||
"type": "python"
|
||||
},
|
||||
{
|
||||
"foreground": "#CB4B16",
|
||||
"properties": {
|
||||
"template": " {{ .Meaning }} "
|
||||
},
|
||||
"style": "plain",
|
||||
"template": " {{ .Meaning }} ",
|
||||
"type": "exit"
|
||||
},
|
||||
{
|
||||
"foreground": "#CC4B16",
|
||||
"properties": {
|
||||
"template": "\u279c "
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "\u279c ",
|
||||
"type": "text"
|
||||
}
|
||||
],
|
||||
|
@ -89,5 +75,5 @@
|
|||
}
|
||||
],
|
||||
"final_space": true,
|
||||
"version": 1
|
||||
"version": 2
|
||||
}
|
||||
|
|
|
@ -6,10 +6,8 @@
|
|||
"segments": [
|
||||
{
|
||||
"foreground": "yellow",
|
||||
"properties": {
|
||||
"template": " \ue0a2 "
|
||||
},
|
||||
"style": "plain",
|
||||
"template": " \ue0a2 ",
|
||||
"type": "root"
|
||||
},
|
||||
{
|
||||
|
@ -17,10 +15,10 @@
|
|||
"foreground": "black",
|
||||
"leading_diamond": "\ue0b6",
|
||||
"properties": {
|
||||
"style": "mixed",
|
||||
"template": " {{ .Path }} "
|
||||
"style": "mixed"
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": " {{ .Path }} ",
|
||||
"trailing_diamond": "\ue0b0",
|
||||
"type": "path"
|
||||
},
|
||||
|
@ -43,10 +41,10 @@
|
|||
"merge_icon": "\u25f4 ",
|
||||
"no_commits_icon": "[no commits]",
|
||||
"rebase_icon": "\u2c62 ",
|
||||
"tag_icon": "\u25b6 ",
|
||||
"template": " {{ .HEAD }}{{ if .Staging.Changed }} {{ .Staging.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Working.Changed }} {{ .Working.String }}{{ end }} "
|
||||
"tag_icon": "\u25b6 "
|
||||
},
|
||||
"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"
|
||||
}
|
||||
],
|
||||
|
@ -56,5 +54,5 @@
|
|||
"console_title_template": "{{.Folder}}{{if .Root}} :: root{{end}} :: {{.Shell}}",
|
||||
"final_space": true,
|
||||
"osc99": true,
|
||||
"version": 1
|
||||
"version": 2
|
||||
}
|
||||
|
|
|
@ -9,10 +9,10 @@
|
|||
"foreground": "#ffffff",
|
||||
"leading_diamond": "\ue0b6",
|
||||
"properties": {
|
||||
"template": "{{ if .WSL }}WSL at {{ end }}{{.Icon}}",
|
||||
"windows": "\ue62a"
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "{{ if .WSL }}WSL at {{ end }}{{.Icon}}",
|
||||
"type": "os"
|
||||
},
|
||||
{
|
||||
|
@ -20,20 +20,18 @@
|
|||
"foreground": "#ffffff",
|
||||
"powerline_symbol": "\ue0b0",
|
||||
"properties": {
|
||||
"style": "full",
|
||||
"template": "{{ .Path }} "
|
||||
"style": "full"
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": "{{ .Path }} ",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"background": "#f78fb3",
|
||||
"foreground": "#ffffff",
|
||||
"powerline_symbol": "\ue0b0",
|
||||
"properties": {
|
||||
"template": " \ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} "
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": " \ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} ",
|
||||
"type": "node"
|
||||
},
|
||||
{
|
||||
|
@ -41,10 +39,10 @@
|
|||
"foreground": "#ffffff",
|
||||
"powerline_symbol": "\ue0b0",
|
||||
"properties": {
|
||||
"fetch_version": false,
|
||||
"template": " \ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }} "
|
||||
"fetch_version": false
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": " \ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }} ",
|
||||
"type": "python"
|
||||
},
|
||||
{
|
||||
|
@ -59,10 +57,10 @@
|
|||
"powerline_symbol": "\ue0b0",
|
||||
"properties": {
|
||||
"fetch_status": 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 }} "
|
||||
"fetch_upstream_icon": true
|
||||
},
|
||||
"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"
|
||||
}
|
||||
],
|
||||
|
@ -77,10 +75,10 @@
|
|||
"invert_powerline": true,
|
||||
"powerline_symbol": "\ue0b2",
|
||||
"properties": {
|
||||
"always_enabled": true,
|
||||
"template": " {{ .FormattedMs }} "
|
||||
"always_enabled": true
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": " {{ .FormattedMs }} ",
|
||||
"type": "executiontime"
|
||||
},
|
||||
{
|
||||
|
@ -88,10 +86,8 @@
|
|||
"foreground": "#FFD700",
|
||||
"invert_powerline": true,
|
||||
"powerline_symbol": "\ue0b2",
|
||||
"properties": {
|
||||
"template": " \u26a1"
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": " \u26a1",
|
||||
"type": "root"
|
||||
},
|
||||
{
|
||||
|
@ -99,20 +95,16 @@
|
|||
"foreground": "#ffffff",
|
||||
"invert_powerline": true,
|
||||
"powerline_symbol": "\ue0b2",
|
||||
"properties": {
|
||||
"template": " {{ .UserName }} "
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": " {{ .UserName }} ",
|
||||
"type": "session"
|
||||
},
|
||||
{
|
||||
"background": "#33658A",
|
||||
"foreground": "#ffffff",
|
||||
"invert_powerline": true,
|
||||
"properties": {
|
||||
"template": " {{ .Name }} "
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": " {{ .Name }} ",
|
||||
"trailing_diamond": "\ue0b4",
|
||||
"type": "shell"
|
||||
}
|
||||
|
@ -124,25 +116,20 @@
|
|||
"newline": true,
|
||||
"segments": [
|
||||
{
|
||||
"properties": {
|
||||
"template": " \uf0e7 "
|
||||
},
|
||||
"style": "plain",
|
||||
"template": " \uf0e7 ",
|
||||
"type": "root"
|
||||
},
|
||||
{
|
||||
"foreground": "#ffffff",
|
||||
"properties": {
|
||||
"template": "<#69FF94>\u276f</>"
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "<#69FF94>\u276f</>",
|
||||
"type": "text"
|
||||
}
|
||||
],
|
||||
"type": "prompt"
|
||||
}
|
||||
],
|
||||
"console_title": true,
|
||||
"final_space": true,
|
||||
"version": 1
|
||||
"version": 2
|
||||
}
|
||||
|
|
|
@ -6,44 +6,38 @@
|
|||
"segments": [
|
||||
{
|
||||
"foreground": "#FFE082",
|
||||
"properties": {
|
||||
"template": "@{{ .UserName }} \u279c"
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "@{{ .UserName }} \u279c",
|
||||
"type": "session"
|
||||
},
|
||||
{
|
||||
"foreground": "#56B6C2",
|
||||
"properties": {
|
||||
"style": "agnoster_short",
|
||||
"template": " {{ .Path }} "
|
||||
"style": "agnoster_short"
|
||||
},
|
||||
"style": "plain",
|
||||
"template": " {{ .Path }} ",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"foreground": "#7FD5EA",
|
||||
"properties": {
|
||||
"template": "(\ufcd1{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}) "
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": "(\ufcd1{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}) ",
|
||||
"type": "go"
|
||||
},
|
||||
{
|
||||
"foreground": "#9e7eff",
|
||||
"properties": {
|
||||
"template": "(\ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }}) "
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": "(\ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }}) ",
|
||||
"type": "python"
|
||||
},
|
||||
{
|
||||
"foreground": "#56B6C2",
|
||||
"properties": {
|
||||
"branch_icon": "",
|
||||
"template": "<#E8CC97>git(</>{{ .HEAD }}<#E8CC97>) </>"
|
||||
"branch_icon": ""
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "<#E8CC97>git(</>{{ .HEAD }}<#E8CC97>) </>",
|
||||
"type": "git"
|
||||
},
|
||||
{
|
||||
|
@ -51,10 +45,10 @@
|
|||
"properties": {
|
||||
"always_enabled": false,
|
||||
"style": "austin",
|
||||
"template": "{{{ .FormattedMs }}}",
|
||||
"threshold": 100
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": "{{{ .FormattedMs }}}",
|
||||
"type": "executiontime"
|
||||
}
|
||||
],
|
||||
|
@ -74,10 +68,10 @@
|
|||
"properties": {
|
||||
"charged_icon": "\ue22f ",
|
||||
"charging_icon": "\ue234 ",
|
||||
"discharging_icon": "\ue231 ",
|
||||
"template": "[{{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }}\uf295]"
|
||||
"discharging_icon": "\ue231 "
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": "[{{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }}\uf295]",
|
||||
"type": "battery"
|
||||
}
|
||||
],
|
||||
|
@ -85,5 +79,5 @@
|
|||
}
|
||||
],
|
||||
"final_space": true,
|
||||
"version": 1
|
||||
"version": 2
|
||||
}
|
||||
|
|
|
@ -21,13 +21,13 @@
|
|||
"mint": "\uf30f",
|
||||
"opensuse": "\uf314",
|
||||
"raspbian": "\uf315",
|
||||
"template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}}",
|
||||
"ubuntu": "\uf31b ",
|
||||
"windows": "\uf871 ",
|
||||
"wsl": "\ue712",
|
||||
"wsl_separator": " on "
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}}",
|
||||
"trailing_diamond": "<transparent,>\ue0b2</>",
|
||||
"type": "os"
|
||||
},
|
||||
|
@ -35,19 +35,15 @@
|
|||
"background": "#00c7fc",
|
||||
"foreground": "#000000",
|
||||
"leading_diamond": "\ue0c2",
|
||||
"properties": {
|
||||
"template": " \uf85a CPU: {{ round .PhysicalPercentUsed .Precision }}% | "
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": " \uf85a CPU: {{ round .PhysicalPercentUsed .Precision }}% | ",
|
||||
"type": "sysinfo"
|
||||
},
|
||||
{
|
||||
"background": "#00c7fc",
|
||||
"foreground": "#000000",
|
||||
"properties": {
|
||||
"template": "RAM: {{ (div ((sub .PhysicalTotalMemory .PhysicalFreeMemory)|float64) 1000000000.0) }}/{{ (div .PhysicalTotalMemory 1000000000.0) }}GB \uf85a "
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "RAM: {{ (div ((sub .PhysicalTotalMemory .PhysicalFreeMemory)|float64) 1000000000.0) }}/{{ (div .PhysicalTotalMemory 1000000000.0) }}GB \uf85a ",
|
||||
"trailing_diamond": "<transparent,#00c7fc>\ue0b2</>",
|
||||
"type": "sysinfo"
|
||||
},
|
||||
|
@ -57,10 +53,10 @@
|
|||
"leading_diamond": "\ue0b2",
|
||||
"properties": {
|
||||
"style": "roundrock",
|
||||
"template": " {{ .FormattedMs }} ",
|
||||
"threshold": 0
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": " {{ .FormattedMs }} ",
|
||||
"trailing_diamond": "\ue0b0",
|
||||
"type": "executiontime"
|
||||
}
|
||||
|
@ -79,10 +75,10 @@
|
|||
"fetch_stash_count": true,
|
||||
"fetch_status": true,
|
||||
"fetch_upstream_icon": 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 }} "
|
||||
"fetch_worktree_count": true
|
||||
},
|
||||
"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",
|
||||
"type": "git"
|
||||
}
|
||||
|
@ -95,20 +91,16 @@
|
|||
"segments": [
|
||||
{
|
||||
"foreground": "#91f2ff",
|
||||
"properties": {
|
||||
"template": "\u256d\u2500"
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "\u256d\u2500",
|
||||
"type": "text"
|
||||
},
|
||||
{
|
||||
"background": "#91f2ff",
|
||||
"foreground": "#000000",
|
||||
"leading_diamond": "\ue0b2",
|
||||
"properties": {
|
||||
"template": " \uf489 {{ .Name }} "
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": " \uf489 {{ .Name }} ",
|
||||
"trailing_diamond": "<transparent,#91f2ff>\ue0b2</>",
|
||||
"type": "shell"
|
||||
},
|
||||
|
@ -117,19 +109,19 @@
|
|||
"foreground": "#000000",
|
||||
"leading_diamond": "\ue0b2",
|
||||
"properties": {
|
||||
"template": " \uf64f {{ .CurrentDate | date .Format }} \uf5ef ",
|
||||
"time_format": "3:04:05 PM | Monday"
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": " \uf64f {{ .CurrentDate | date .Format }} \uf5ef ",
|
||||
"trailing_diamond": "\ue0b0",
|
||||
"type": "time"
|
||||
},
|
||||
{
|
||||
"properties": {
|
||||
"root_icon": "\uf292 ",
|
||||
"template": " \uf0e7 "
|
||||
"root_icon": "\uf292 "
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": " \uf0e7 ",
|
||||
"type": "root"
|
||||
},
|
||||
{
|
||||
|
@ -140,10 +132,10 @@
|
|||
"folder_icon": "\uf07b ",
|
||||
"folder_separator_icon": " \uf554 ",
|
||||
"home_icon": "\uf7db ",
|
||||
"style": "agnoster_full",
|
||||
"template": " \ue5ff {{ .Path }} "
|
||||
"style": "agnoster_full"
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": " \ue5ff {{ .Path }} ",
|
||||
"trailing_diamond": "\ue0b0",
|
||||
"type": "path"
|
||||
}
|
||||
|
@ -160,10 +152,10 @@
|
|||
"{{ if gt .Code 0 }}#ef5350{{ end }}"
|
||||
],
|
||||
"properties": {
|
||||
"always_enabled": true,
|
||||
"template": " "
|
||||
"always_enabled": true
|
||||
},
|
||||
"style": "plain",
|
||||
"template": " ",
|
||||
"type": "exit"
|
||||
}
|
||||
],
|
||||
|
@ -177,5 +169,5 @@
|
|||
"foreground": "#FEF5ED",
|
||||
"template": "\ue285 "
|
||||
},
|
||||
"version": 1
|
||||
"version": 2
|
||||
}
|
||||
|
|
|
@ -9,20 +9,18 @@
|
|||
"foreground": "#fff",
|
||||
"powerline_symbol": "\ue0b0",
|
||||
"properties": {
|
||||
"template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}}",
|
||||
"windows": "\uf179"
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}}",
|
||||
"type": "os"
|
||||
},
|
||||
{
|
||||
"background": "#003543",
|
||||
"foreground": "#d2ff5e",
|
||||
"powerline_symbol": "\ue0b0",
|
||||
"properties": {
|
||||
"template": "{{ .UserName }} "
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": "{{ .UserName }} ",
|
||||
"type": "session"
|
||||
},
|
||||
{
|
||||
|
@ -31,10 +29,10 @@
|
|||
"powerline_symbol": "\ue0b0",
|
||||
"properties": {
|
||||
"folder_separator_icon": "/",
|
||||
"style": "full",
|
||||
"template": " \ue5ff {{ .Path }} "
|
||||
"style": "full"
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": " \ue5ff {{ .Path }} ",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
|
@ -49,10 +47,10 @@
|
|||
"powerline_symbol": "\ue0b0",
|
||||
"properties": {
|
||||
"fetch_stash_count": 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 }} "
|
||||
"fetch_status": true
|
||||
},
|
||||
"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"
|
||||
},
|
||||
{
|
||||
|
@ -63,10 +61,10 @@
|
|||
"foreground": "#242424",
|
||||
"powerline_symbol": "\ue0b0",
|
||||
"properties": {
|
||||
"always_enabled": true,
|
||||
"template": " \ufc8d "
|
||||
"always_enabled": true
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": " \ufc8d ",
|
||||
"type": "exit"
|
||||
}
|
||||
],
|
||||
|
@ -85,10 +83,8 @@
|
|||
"foreground": "#242424",
|
||||
"invert_powerline": true,
|
||||
"powerline_symbol": "\ue0b2",
|
||||
"properties": {
|
||||
"template": " {{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }}\uf295 \uf583 "
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": " {{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }}\uf295 \uf583 ",
|
||||
"type": "battery"
|
||||
},
|
||||
{
|
||||
|
@ -98,10 +94,10 @@
|
|||
"powerline_symbol": "\ue0b2",
|
||||
"properties": {
|
||||
"display_mode": "context",
|
||||
"fetch_virtual_env": true,
|
||||
"template": " \ue235 {{ .Venv }} "
|
||||
"fetch_virtual_env": true
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": " \ue235 {{ .Venv }} ",
|
||||
"type": "python"
|
||||
},
|
||||
{
|
||||
|
@ -109,10 +105,8 @@
|
|||
"foreground": "#fff",
|
||||
"invert_powerline": true,
|
||||
"powerline_symbol": "\ue0b2",
|
||||
"properties": {
|
||||
"template": "<#fff> \uf64f </>{{ .CurrentDate | date .Format }} "
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": "<#fff> \uf64f </>{{ .CurrentDate | date .Format }} ",
|
||||
"type": "time"
|
||||
}
|
||||
],
|
||||
|
@ -124,18 +118,14 @@
|
|||
"segments": [
|
||||
{
|
||||
"foreground": "#FFD700",
|
||||
"properties": {
|
||||
"template": " \u26a1 "
|
||||
},
|
||||
"style": "plain",
|
||||
"template": " \u26a1 ",
|
||||
"type": "root"
|
||||
},
|
||||
{
|
||||
"foreground": "#f1184c",
|
||||
"properties": {
|
||||
"template": "🚀 "
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "🚀 ",
|
||||
"type": "text"
|
||||
}
|
||||
],
|
||||
|
@ -149,5 +139,5 @@
|
|||
"foreground": "#FFD700",
|
||||
"template": "{{if .Root}}\u26a1 {{end}}🚀 "
|
||||
},
|
||||
"version": 1
|
||||
"version": 2
|
||||
}
|
||||
|
|
|
@ -8,10 +8,8 @@
|
|||
"background": "#c386f1",
|
||||
"foreground": "#ffffff",
|
||||
"leading_diamond": "\ue0b6",
|
||||
"properties": {
|
||||
"template": " {{ .UserName }} "
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": " {{ .UserName }} ",
|
||||
"trailing_diamond": "\ue0b0",
|
||||
"type": "session"
|
||||
},
|
||||
|
@ -22,10 +20,10 @@
|
|||
"properties": {
|
||||
"folder_separator_icon": " \ue0b1 ",
|
||||
"home_icon": "~",
|
||||
"style": "folder",
|
||||
"template": " \uf74a {{ .Path }} "
|
||||
"style": "folder"
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": " \uf74a {{ .Path }} ",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
|
@ -43,10 +41,10 @@
|
|||
"branch_max_length": 25,
|
||||
"fetch_stash_count": true,
|
||||
"fetch_status": 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 }} "
|
||||
"fetch_upstream_icon": true
|
||||
},
|
||||
"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",
|
||||
"type": "git"
|
||||
},
|
||||
|
@ -55,10 +53,10 @@
|
|||
"foreground": "#ffffff",
|
||||
"powerline_symbol": "\ue0b0",
|
||||
"properties": {
|
||||
"fetch_version": true,
|
||||
"template": " \uf898 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} "
|
||||
"fetch_version": true
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": " \uf898 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} ",
|
||||
"type": "node"
|
||||
},
|
||||
{
|
||||
|
@ -66,10 +64,10 @@
|
|||
"foreground": "#111111",
|
||||
"powerline_symbol": "\ue0b0",
|
||||
"properties": {
|
||||
"fetch_version": true,
|
||||
"template": " \ue626 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} "
|
||||
"fetch_version": true
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": " \ue626 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ",
|
||||
"type": "go"
|
||||
},
|
||||
{
|
||||
|
@ -77,10 +75,10 @@
|
|||
"foreground": "#111111",
|
||||
"powerline_symbol": "\ue0b0",
|
||||
"properties": {
|
||||
"fetch_version": true,
|
||||
"template": " \ue624 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} "
|
||||
"fetch_version": true
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": " \ue624 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ",
|
||||
"type": "julia"
|
||||
},
|
||||
{
|
||||
|
@ -89,10 +87,10 @@
|
|||
"powerline_symbol": "\ue0b0",
|
||||
"properties": {
|
||||
"display_mode": "files",
|
||||
"fetch_virtual_env": false,
|
||||
"template": " \ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} "
|
||||
"fetch_virtual_env": false
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": " \ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ",
|
||||
"type": "python"
|
||||
},
|
||||
{
|
||||
|
@ -101,10 +99,10 @@
|
|||
"powerline_symbol": "\ue0b0",
|
||||
"properties": {
|
||||
"display_mode": "files",
|
||||
"fetch_version": true,
|
||||
"template": " \ue791 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} "
|
||||
"fetch_version": true
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": " \ue791 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ",
|
||||
"type": "ruby"
|
||||
},
|
||||
{
|
||||
|
@ -113,10 +111,10 @@
|
|||
"powerline_symbol": "\ue0b0",
|
||||
"properties": {
|
||||
"display_mode": "files",
|
||||
"fetch_version": false,
|
||||
"template": " \uf0e7{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} "
|
||||
"fetch_version": false
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": " \uf0e7{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ",
|
||||
"type": "azfunc"
|
||||
},
|
||||
{
|
||||
|
@ -127,30 +125,28 @@
|
|||
"foreground": "#ffffff",
|
||||
"powerline_symbol": "\ue0b0",
|
||||
"properties": {
|
||||
"display_default": false,
|
||||
"template": " \ue7ad {{ .Profile }}{{ if .Region }}@{{ .Region }}{{ end }} "
|
||||
"display_default": false
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": " \ue7ad {{ .Profile }}{{ if .Region }}@{{ .Region }}{{ end }} ",
|
||||
"type": "aws"
|
||||
},
|
||||
{
|
||||
"background": "#ffff66",
|
||||
"foreground": "#111111",
|
||||
"powerline_symbol": "\ue0b0",
|
||||
"properties": {
|
||||
"template": " \uf0ad "
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": " \uf0ad ",
|
||||
"type": "root"
|
||||
},
|
||||
{
|
||||
"background": "#83769c",
|
||||
"foreground": "#ffffff",
|
||||
"properties": {
|
||||
"always_enabled": true,
|
||||
"template": "<transparent>\ue0b0</> \ufbab{{ .FormattedMs }}\u2800"
|
||||
"always_enabled": true
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "<transparent>\ue0b0</> \ufbab{{ .FormattedMs }}\u2800",
|
||||
"type": "executiontime"
|
||||
},
|
||||
{
|
||||
|
@ -160,10 +156,10 @@
|
|||
],
|
||||
"foreground": "#ffffff",
|
||||
"properties": {
|
||||
"always_enabled": true,
|
||||
"template": "<parentBackground>\ue0b0</> \ue23a "
|
||||
"always_enabled": true
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "<parentBackground>\ue0b0</> \ue23a ",
|
||||
"trailing_diamond": "\ue0b4",
|
||||
"type": "exit"
|
||||
}
|
||||
|
@ -175,10 +171,8 @@
|
|||
{
|
||||
"background": "#0077c2",
|
||||
"foreground": "#ffffff",
|
||||
"properties": {
|
||||
"template": "<#0077c2,transparent>\ue0b6</> \uf489 {{ .Name }} <transparent,#0077c2>\ue0b2</>"
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "<#0077c2,transparent>\ue0b6</> \uf489 {{ .Name }} <transparent,#0077c2>\ue0b2</>",
|
||||
"type": "shell"
|
||||
},
|
||||
{
|
||||
|
@ -188,10 +182,10 @@
|
|||
"powerline_symbol": "\ue0b2",
|
||||
"properties": {
|
||||
"paused_icon": "\uf04c ",
|
||||
"playing_icon": "\uf04b ",
|
||||
"template": " \uf167 {{ .Icon }}{{ if ne .Status \"stopped\" }}{{ .Artist }} - {{ .Track }}{{ end }} "
|
||||
"playing_icon": "\uf04b "
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": " \uf167 {{ .Icon }}{{ if ne .Status \"stopped\" }}{{ .Artist }} - {{ .Track }}{{ end }} ",
|
||||
"type": "ytm"
|
||||
},
|
||||
{
|
||||
|
@ -207,10 +201,10 @@
|
|||
"properties": {
|
||||
"charged_icon": "\ue22f ",
|
||||
"charging_icon": "\ue234 ",
|
||||
"discharging_icon": "\ue231 ",
|
||||
"template": " {{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }}\uf295 "
|
||||
"discharging_icon": "\ue231 "
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": " {{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }}\uf295 ",
|
||||
"type": "battery"
|
||||
},
|
||||
{
|
||||
|
@ -218,10 +212,8 @@
|
|||
"foreground": "#111111",
|
||||
"invert_powerline": true,
|
||||
"leading_diamond": "\ue0b2",
|
||||
"properties": {
|
||||
"template": " {{ .CurrentDate | date .Format }} "
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": " {{ .CurrentDate | date .Format }} ",
|
||||
"trailing_diamond": "\ue0b4",
|
||||
"type": "time"
|
||||
}
|
||||
|
@ -231,5 +223,5 @@
|
|||
],
|
||||
"console_title_template": "{{ .Shell }} in {{ .Folder }}",
|
||||
"final_space": true,
|
||||
"version": 1
|
||||
"version": 2
|
||||
}
|
||||
|
|
|
@ -8,10 +8,8 @@
|
|||
"background": "#0C212F",
|
||||
"foreground": "#FFFFFF",
|
||||
"leading_diamond": "\ue0b6",
|
||||
"properties": {
|
||||
"template": " {{ .Icon }} "
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": " {{ .Icon }} ",
|
||||
"trailing_diamond": "\ue0b0",
|
||||
"type": "os"
|
||||
},
|
||||
|
@ -19,10 +17,8 @@
|
|||
"background": "#DE2121",
|
||||
"foreground": "#FFFFFF",
|
||||
"leading_diamond": "<transparent,#DE2121>\ue0b0</>",
|
||||
"properties": {
|
||||
"template": " \uf0e7 "
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": " \uf0e7 ",
|
||||
"trailing_diamond": "\ue0b0",
|
||||
"type": "root"
|
||||
},
|
||||
|
@ -34,10 +30,10 @@
|
|||
"folder_icon": "\uf6d7",
|
||||
"folder_separator_icon": "<transparent> \ue0b1 </>",
|
||||
"home_icon": "\uf7db",
|
||||
"style": "agnoster_short",
|
||||
"template": " {{ .Path }} "
|
||||
"style": "agnoster_short"
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": " {{ .Path }} ",
|
||||
"trailing_diamond": "\ue0b0",
|
||||
"type": "path"
|
||||
},
|
||||
|
@ -54,10 +50,10 @@
|
|||
"properties": {
|
||||
"fetch_stash_count": true,
|
||||
"fetch_status": 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 }} "
|
||||
"fetch_upstream_icon": true
|
||||
},
|
||||
"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"
|
||||
},
|
||||
{
|
||||
|
@ -65,10 +61,10 @@
|
|||
"foreground": "#FFFFFF",
|
||||
"leading_diamond": "<transparent,#0C212F>\ue0b0</>",
|
||||
"properties": {
|
||||
"template": " {{ .CurrentDate | date .Format }} ",
|
||||
"time_format": "15:04"
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": " {{ .CurrentDate | date .Format }} ",
|
||||
"trailing_diamond": "\ue0b0",
|
||||
"type": "time"
|
||||
},
|
||||
|
@ -78,10 +74,10 @@
|
|||
"leading_diamond": "<transparent,#26BDBB>\ue0b0</>",
|
||||
"properties": {
|
||||
"style": "dallas",
|
||||
"template": " {{ .FormattedMs }}s ",
|
||||
"threshold": 0
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": " {{ .FormattedMs }}s ",
|
||||
"trailing_diamond": "\ue0b0",
|
||||
"type": "executiontime"
|
||||
},
|
||||
|
@ -89,10 +85,8 @@
|
|||
"background": "#910000",
|
||||
"foreground": "#ffffff",
|
||||
"leading_diamond": "<transparent,background>\ue0b0</>",
|
||||
"properties": {
|
||||
"template": "<transparent> \uf12a</> {{ .Meaning }} "
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "<transparent> \uf12a</> {{ .Meaning }} ",
|
||||
"trailing_diamond": "\ue0b0",
|
||||
"type": "exit"
|
||||
}
|
||||
|
@ -103,5 +97,5 @@
|
|||
"console_title_template": "{{if .Root}} \u26a1 {{end}}{{.Folder | replace \"~\" \"🏠\"}} @ {{.HostName}}",
|
||||
"final_space": true,
|
||||
"osc99": true,
|
||||
"version": 1
|
||||
"version": 2
|
||||
}
|
||||
|
|
|
@ -8,9 +8,6 @@
|
|||
"background": "#4707a8",
|
||||
"foreground": "#000000",
|
||||
"leading_diamond": "\ue0c2\ue0c2",
|
||||
"properties": {
|
||||
"template": ""
|
||||
},
|
||||
"style": "diamond",
|
||||
"type": "text"
|
||||
},
|
||||
|
@ -18,10 +15,8 @@
|
|||
"background": "#4707a8",
|
||||
"foreground": "#ffffff",
|
||||
"leading_diamond": "\ue0b6",
|
||||
"properties": {
|
||||
"template": " {{ .UserName }}@{{ .HostName }} "
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": " {{ .UserName }}@{{ .HostName }} ",
|
||||
"trailing_diamond": "\ue0b0",
|
||||
"type": "session"
|
||||
},
|
||||
|
@ -29,10 +24,8 @@
|
|||
"background": "#1a1af5",
|
||||
"foreground": "#ffffff",
|
||||
"powerline_symbol": "\ue0b0",
|
||||
"properties": {
|
||||
"template": " \ufd03 {{ .Name }} "
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": " \ufd03 {{ .Name }} ",
|
||||
"type": "az"
|
||||
},
|
||||
{
|
||||
|
@ -42,10 +35,10 @@
|
|||
],
|
||||
"foreground": "#ffffff",
|
||||
"properties": {
|
||||
"always_enabled": true,
|
||||
"template": "<transparent>\ue0b0</>\ue23a "
|
||||
"always_enabled": true
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "<transparent>\ue0b0</>\ue23a ",
|
||||
"trailing_diamond": "\ue0b4",
|
||||
"type": "exit"
|
||||
}
|
||||
|
@ -74,20 +67,18 @@
|
|||
"mint": "\uf30f",
|
||||
"opensuse": "\uf314",
|
||||
"raspbian": "\uf315",
|
||||
"template": " {{ if .WSL }}\ue712 on {{ end }}{{ .Icon }}<#000000> \ue0b1</>",
|
||||
"ubuntu": "\uf31c",
|
||||
"windows": "\ue70f"
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": " {{ if .WSL }}\ue712 on {{ end }}{{ .Icon }}<#000000> \ue0b1</>",
|
||||
"type": "os"
|
||||
},
|
||||
{
|
||||
"background": "#000000",
|
||||
"foreground": "#ffffff",
|
||||
"properties": {
|
||||
"template": " \uf0e7<#ffffff> \ue0b1</>"
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": " \uf0e7<#ffffff> \ue0b1</>",
|
||||
"type": "root"
|
||||
},
|
||||
{
|
||||
|
@ -97,10 +88,10 @@
|
|||
"folder_icon": "<#000000>\ue5fe </>",
|
||||
"folder_separator_icon": "<#000000>\ue0b1 </>",
|
||||
"home_icon": "\uf7db ",
|
||||
"style": "agnoster_short",
|
||||
"template": "<#000000> \ue5ff </>{{ .Path }} "
|
||||
"style": "agnoster_short"
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "<#000000> \ue5ff </>{{ .Path }} ",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
|
@ -114,27 +105,22 @@
|
|||
"properties": {
|
||||
"fetch_stash_count": true,
|
||||
"fetch_status": 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 }} "
|
||||
"fetch_upstream_icon": true
|
||||
},
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"background": "#ffffff",
|
||||
"foreground": "#000000",
|
||||
"properties": {
|
||||
"template": " {{ .WorkspaceName }} "
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": " {{ .WorkspaceName }} ",
|
||||
"type": "terraform"
|
||||
},
|
||||
{
|
||||
"background": "#ffffff",
|
||||
"foreground": "#000000",
|
||||
"properties": {
|
||||
"template": ""
|
||||
},
|
||||
"style": "diamond",
|
||||
"trailing_diamond": "\ue0b0",
|
||||
"type": "text"
|
||||
|
@ -147,10 +133,8 @@
|
|||
"segments": [
|
||||
{
|
||||
"foreground": "#1a1af5",
|
||||
"properties": {
|
||||
"template": " \u276f "
|
||||
},
|
||||
"style": "plain",
|
||||
"template": " \u276f ",
|
||||
"type": "text"
|
||||
}
|
||||
],
|
||||
|
@ -159,5 +143,5 @@
|
|||
],
|
||||
"console_title_template": "{{if .Root}}root :: {{end}}{{.Shell}} :: {{.Folder}}",
|
||||
"final_space": true,
|
||||
"version": 1
|
||||
"version": 2
|
||||
}
|
||||
|
|
|
@ -9,30 +9,30 @@
|
|||
"foreground": "#ffffff",
|
||||
"leading_diamond": "\ue0b6",
|
||||
"properties": {
|
||||
"display_host": false,
|
||||
"template": "{{ if .SSHSession }}\uf817 {{ end }}{{ .UserName }} "
|
||||
"display_host": false
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "{{ if .SSHSession }}\uf817 {{ end }}{{ .UserName }} ",
|
||||
"type": "session"
|
||||
},
|
||||
{
|
||||
"background": "lightYellow",
|
||||
"foreground": "#3f3f3f",
|
||||
"properties": {
|
||||
"style": "full",
|
||||
"template": " {{ .Path }} "
|
||||
"style": "full"
|
||||
},
|
||||
"style": "plain",
|
||||
"template": " {{ .Path }} ",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"background": "#25AFF3",
|
||||
"foreground": "#ffffff",
|
||||
"properties": {
|
||||
"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 }}) "
|
||||
"fetch_status": true
|
||||
},
|
||||
"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"
|
||||
},
|
||||
{
|
||||
|
@ -42,20 +42,20 @@
|
|||
"paused_icon": "",
|
||||
"playing_icon": "",
|
||||
"stopped_icon": "",
|
||||
"template": " {{ .Icon }}{{ if ne .Status \"stopped\" }}{{ .Artist }} - {{ .Track }}{{ end }} ",
|
||||
"track_separator": " - "
|
||||
},
|
||||
"style": "plain",
|
||||
"template": " {{ .Icon }}{{ if ne .Status \"stopped\" }}{{ .Artist }} - {{ .Track }}{{ end }} ",
|
||||
"type": "spotify"
|
||||
},
|
||||
{
|
||||
"background": "#cc00ff",
|
||||
"foreground": "#ffffff",
|
||||
"properties": {
|
||||
"template": " {{ .CurrentDate | date .Format }} ",
|
||||
"time_format": "15:04:05"
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": " {{ .CurrentDate | date .Format }} ",
|
||||
"trailing_diamond": "\ue0b0",
|
||||
"type": "time"
|
||||
}
|
||||
|
@ -64,5 +64,5 @@
|
|||
}
|
||||
],
|
||||
"final_space": true,
|
||||
"version": 1
|
||||
"version": 2
|
||||
}
|
||||
|
|
|
@ -7,9 +7,6 @@
|
|||
"segments": [
|
||||
{
|
||||
"foreground": "#ffffff",
|
||||
"properties": {
|
||||
"template": ""
|
||||
},
|
||||
"style": "plain",
|
||||
"type": "text"
|
||||
}
|
||||
|
@ -21,19 +18,14 @@
|
|||
"segments": [
|
||||
{
|
||||
"foreground": "#185F7B",
|
||||
"properties": {
|
||||
"template": "\ue0c5"
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "\ue0c5",
|
||||
"type": "text"
|
||||
},
|
||||
{
|
||||
"background": "#185F7B",
|
||||
"foreground": "#185F7B",
|
||||
"powerline_symbol": "\ue0c4",
|
||||
"properties": {
|
||||
"template": ""
|
||||
},
|
||||
"style": "powerline",
|
||||
"type": "text"
|
||||
},
|
||||
|
@ -42,10 +34,10 @@
|
|||
"foreground": "#ffffff",
|
||||
"properties": {
|
||||
"home_icon": "\uf7dd ",
|
||||
"style": "mixed",
|
||||
"template": "{{ .Path }} "
|
||||
"style": "mixed"
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "{{ .Path }} ",
|
||||
"trailing_diamond": "\ue0b0",
|
||||
"type": "path"
|
||||
},
|
||||
|
@ -56,17 +48,14 @@
|
|||
"properties": {
|
||||
"fetch_stash_count": true,
|
||||
"fetch_status": 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 }} "
|
||||
"fetch_upstream_icon": true
|
||||
},
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"leading_diamond": "<transparent,#49404f>\ue0b0</>",
|
||||
"properties": {
|
||||
"template": ""
|
||||
},
|
||||
"style": "plain",
|
||||
"trailing_diamond": "\ue0b0",
|
||||
"type": "text"
|
||||
|
@ -79,10 +68,10 @@
|
|||
"foreground": "#ffffff",
|
||||
"powerline_symbol": "\ue0b0",
|
||||
"properties": {
|
||||
"always_enabled": true,
|
||||
"template": " {{ if gt .Code 0 }}\uf525{{ else }}\uf469 \u2665{{ end }} "
|
||||
"always_enabled": true
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": " {{ if gt .Code 0 }}\uf525{{ else }}\uf469 \u2665{{ end }} ",
|
||||
"type": "exit"
|
||||
}
|
||||
],
|
||||
|
@ -97,10 +86,10 @@
|
|||
"invert_powerline": true,
|
||||
"leading_diamond": "\ue0c5",
|
||||
"properties": {
|
||||
"template": " {{ .CurrentDate | date .Format }}<#ffffff> \uf64f </>",
|
||||
"time_format": "3:04:05 PM"
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": " {{ .CurrentDate | date .Format }}<#ffffff> \uf64f </>",
|
||||
"trailing_diamond": "\ue0c4",
|
||||
"type": "time"
|
||||
},
|
||||
|
@ -110,10 +99,10 @@
|
|||
"invert_powerline": true,
|
||||
"leading_diamond": "\ue0c5",
|
||||
"properties": {
|
||||
"always_enabled": true,
|
||||
"template": " {{ .FormattedMs }}<#ffffff> \uf252 </>"
|
||||
"always_enabled": true
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": " {{ .FormattedMs }}<#ffffff> \uf252 </>",
|
||||
"trailing_diamond": "\ue0c4",
|
||||
"type": "executiontime"
|
||||
}
|
||||
|
@ -126,40 +115,32 @@
|
|||
"segments": [
|
||||
{
|
||||
"foreground": "#2B2B2B",
|
||||
"properties": {
|
||||
"template": "\ue0c5"
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "\ue0c5",
|
||||
"type": "text"
|
||||
},
|
||||
{
|
||||
"background": "#2B2B2B",
|
||||
"foreground": "#1CA6A3",
|
||||
"powerline_symbol": "\ue0c4",
|
||||
"properties": {
|
||||
"template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}} "
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}} ",
|
||||
"type": "os"
|
||||
},
|
||||
{
|
||||
"background": "#2B2B2B",
|
||||
"foreground": "#FBD951",
|
||||
"powerline_symbol": "\ue0b0",
|
||||
"properties": {
|
||||
"template": "\uf0e7 "
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": "\uf0e7 ",
|
||||
"type": "root"
|
||||
},
|
||||
{
|
||||
"background": "#DC291E",
|
||||
"foreground": "#ffffff",
|
||||
"powerline_symbol": "\ue0b0",
|
||||
"properties": {
|
||||
"template": " {{ .UserName }} "
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": " {{ .UserName }} ",
|
||||
"type": "session"
|
||||
}
|
||||
],
|
||||
|
@ -171,10 +152,8 @@
|
|||
{
|
||||
"background": "#000000",
|
||||
"foreground": "#666666",
|
||||
"properties": {
|
||||
"template": "\uf489 {{ .Name }}"
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "\uf489 {{ .Name }}",
|
||||
"type": "shell"
|
||||
}
|
||||
],
|
||||
|
@ -183,5 +162,5 @@
|
|||
],
|
||||
"console_title_template": "{{if .Root}}Admin: {{end}} {{.Folder}}",
|
||||
"final_space": true,
|
||||
"version": 1
|
||||
"version": 2
|
||||
}
|
||||
|
|
|
@ -10,38 +10,36 @@
|
|||
"{{ if .Root }}red{{ end }}"
|
||||
],
|
||||
"properties": {
|
||||
"display_host": true,
|
||||
"template": "<green>\u250c\u2500\u2500(</>{{ if .Root }}root💀{{ else }}{{ .UserName }}@{{ end }}{{ .HostName }}<green>)</>"
|
||||
"display_host": true
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "<green>\u250c\u2500\u2500(</>{{ if .Root }}root💀{{ else }}{{ .UserName }}@{{ end }}{{ .HostName }}<green>)</>",
|
||||
"type": "session"
|
||||
},
|
||||
{
|
||||
"foreground": "yellow",
|
||||
"properties": {
|
||||
"fetch_version": false,
|
||||
"fetch_virtual_env": true,
|
||||
"template": "<green>-[</>\ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }}{{ end }}{{ .Full }}{{ end }}<green>]</>"
|
||||
"fetch_virtual_env": true
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "<green>-[</>\ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }}{{ end }}{{ .Full }}{{ end }}<green>]</>",
|
||||
"type": "python"
|
||||
},
|
||||
{
|
||||
"foreground": "lightWhite",
|
||||
"properties": {
|
||||
"folder_separator_icon": "<#c0c0c0>/</>",
|
||||
"style": "full",
|
||||
"template": "<green>-[</>{{ .Path }}<green>]</>"
|
||||
"style": "full"
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "<green>-[</>{{ .Path }}<green>]</>",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"foreground": "white",
|
||||
"properties": {
|
||||
"template": "<green>-[</>{{ .HEAD }}<green>]</>"
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "<green>-[</>{{ .HEAD }}<green>]</>",
|
||||
"type": "git"
|
||||
}
|
||||
],
|
||||
|
@ -54,10 +52,10 @@
|
|||
"foreground": "white",
|
||||
"properties": {
|
||||
"always_enabled": true,
|
||||
"style": "round",
|
||||
"template": " {{ .FormattedMs }} "
|
||||
"style": "round"
|
||||
},
|
||||
"style": "plain",
|
||||
"template": " {{ .FormattedMs }} ",
|
||||
"type": "executiontime"
|
||||
},
|
||||
{
|
||||
|
@ -66,10 +64,10 @@
|
|||
"{{ if gt .Code 0 }}red{{ end }}"
|
||||
],
|
||||
"properties": {
|
||||
"always_enabled": true,
|
||||
"template": " {{ if gt .Code 0 }}\u2a2f{{else}}\u2713{{ end }} "
|
||||
"always_enabled": true
|
||||
},
|
||||
"style": "plain",
|
||||
"template": " {{ if gt .Code 0 }}\u2a2f{{else}}\u2713{{ end }} ",
|
||||
"type": "exit"
|
||||
}
|
||||
],
|
||||
|
@ -81,15 +79,13 @@
|
|||
"segments": [
|
||||
{
|
||||
"foreground": "lightBlue",
|
||||
"properties": {
|
||||
"template": "<green>\u2514\u2500</>{{ if .Root }}<red>#</>{{ else }}${{ end }} "
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "<green>\u2514\u2500</>{{ if .Root }}<red>#</>{{ else }}${{ end }} ",
|
||||
"type": "text"
|
||||
}
|
||||
],
|
||||
"type": "prompt"
|
||||
}
|
||||
],
|
||||
"version": 1
|
||||
"version": 2
|
||||
}
|
||||
|
|
|
@ -6,32 +6,28 @@
|
|||
"segments": [
|
||||
{
|
||||
"foreground": "#F5F5F5",
|
||||
"properties": {
|
||||
"template": "\ufb26 "
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "\ufb26 ",
|
||||
"type": "text"
|
||||
},
|
||||
{
|
||||
"foreground": "#B80101",
|
||||
"properties": {
|
||||
"style": "agnoster",
|
||||
"template": " {{ .Path }} "
|
||||
"style": "agnoster"
|
||||
},
|
||||
"style": "plain",
|
||||
"template": " {{ .Path }} ",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"foreground": "#B80101",
|
||||
"properties": {
|
||||
"template": " <#F5F5F5>git:</>{{ .HEAD }} "
|
||||
},
|
||||
"style": "plain",
|
||||
"template": " <#F5F5F5>git:</>{{ .HEAD }} ",
|
||||
"type": "git"
|
||||
}
|
||||
],
|
||||
"type": "prompt"
|
||||
}
|
||||
],
|
||||
"version": 1
|
||||
"version": 2
|
||||
}
|
||||
|
|
|
@ -8,10 +8,8 @@
|
|||
"background": "#c386f1",
|
||||
"foreground": "#ffffff",
|
||||
"leading_diamond": "\ue0b6",
|
||||
"properties": {
|
||||
"template": " {{ .UserName }} "
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": " {{ .UserName }} ",
|
||||
"trailing_diamond": "\ue0b0",
|
||||
"type": "session"
|
||||
},
|
||||
|
@ -22,10 +20,10 @@
|
|||
"properties": {
|
||||
"folder_separator_icon": " \ue0b1 ",
|
||||
"home_icon": "~",
|
||||
"style": "folder",
|
||||
"template": " \uf74a {{ .Path }} "
|
||||
"style": "folder"
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": " \uf74a {{ .Path }} ",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
|
@ -42,20 +40,20 @@
|
|||
"branch_max_length": 25,
|
||||
"fetch_stash_count": true,
|
||||
"fetch_status": 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 }} "
|
||||
"fetch_upstream_icon": true
|
||||
},
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"background": "#83769c",
|
||||
"foreground": "#ffffff",
|
||||
"properties": {
|
||||
"always_enabled": true,
|
||||
"template": "<transparent>\ue0b0</> \ufbab{{ .FormattedMs }}\u2800"
|
||||
"always_enabled": true
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "<transparent>\ue0b0</> \ufbab{{ .FormattedMs }}\u2800",
|
||||
"type": "executiontime"
|
||||
},
|
||||
{
|
||||
|
@ -74,10 +72,10 @@
|
|||
"properties": {
|
||||
"access_token": "0ccbd2ac1e37a5b84101468df3d367177fe02ab3",
|
||||
"http_timeout": 1500,
|
||||
"refresh_token": "111111111111111111111111111111",
|
||||
"template": " {{.Name}} {{.Ago}} {{.Icon}} "
|
||||
"refresh_token": "111111111111111111111111111111"
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": " {{.Name}} {{.Ago}} {{.Icon}} ",
|
||||
"type": "strava"
|
||||
},
|
||||
{
|
||||
|
@ -87,10 +85,10 @@
|
|||
],
|
||||
"foreground": "#ffffff",
|
||||
"properties": {
|
||||
"always_enabled": true,
|
||||
"template": "<parentBackground>\ue0b0</> \ue23a "
|
||||
"always_enabled": true
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": "<parentBackground>\ue0b0</> \ue23a ",
|
||||
"trailing_diamond": "\ue0b4",
|
||||
"type": "exit"
|
||||
}
|
||||
|
@ -100,5 +98,5 @@
|
|||
],
|
||||
"console_title_template": "{{ .Shell }} in {{ .Folder }}",
|
||||
"final_space": true,
|
||||
"version": 1
|
||||
"version": 2
|
||||
}
|
||||
|
|
|
@ -10,10 +10,10 @@
|
|||
"leading_diamond": "\ue0b6",
|
||||
"powerline_symbol": "\ue0b0",
|
||||
"properties": {
|
||||
"style": "folder",
|
||||
"template": " \ue5ff {{ .Path }} "
|
||||
"style": "folder"
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": " \ue5ff {{ .Path }} ",
|
||||
"trailing_diamond": "\ue0b0",
|
||||
"type": "path"
|
||||
},
|
||||
|
@ -30,10 +30,10 @@
|
|||
"properties": {
|
||||
"fetch_stash_count": true,
|
||||
"fetch_status": 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 }} "
|
||||
"fetch_upstream_icon": true
|
||||
},
|
||||
"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"
|
||||
},
|
||||
{
|
||||
|
@ -44,10 +44,10 @@
|
|||
"foreground": "#ffffff",
|
||||
"leading_diamond": "<transparent,background>\ue0b0</>",
|
||||
"properties": {
|
||||
"always_enabled": true,
|
||||
"template": " \uf0e7 "
|
||||
"always_enabled": true
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": " \uf0e7 ",
|
||||
"trailing_diamond": "\ue0b4",
|
||||
"type": "exit"
|
||||
}
|
||||
|
@ -56,5 +56,5 @@
|
|||
}
|
||||
],
|
||||
"final_space": true,
|
||||
"version": 1
|
||||
"version": 2
|
||||
}
|
||||
|
|
|
@ -6,20 +6,16 @@
|
|||
"segments": [
|
||||
{
|
||||
"foreground": "#ffce7b",
|
||||
"properties": {
|
||||
"template": "\u250c "
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "\u250c ",
|
||||
"type": "text"
|
||||
},
|
||||
{
|
||||
"background": "#ffce7b",
|
||||
"foreground": "#1d1626",
|
||||
"powerline_symbol": "\ue0b0",
|
||||
"properties": {
|
||||
"template": " \uf26c {{ if .SSHSession }}\uf817 {{ end }}{{ .UserName }}@{{ .HostName }} "
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": " \uf26c {{ if .SSHSession }}\uf817 {{ end }}{{ .UserName }}@{{ .HostName }} ",
|
||||
"type": "session"
|
||||
},
|
||||
{
|
||||
|
@ -27,10 +23,10 @@
|
|||
"foreground": "#fffef9",
|
||||
"powerline_symbol": "\ue0b0",
|
||||
"properties": {
|
||||
"template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}} ",
|
||||
"windows": "\uf17a"
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}} ",
|
||||
"type": "os"
|
||||
},
|
||||
{
|
||||
|
@ -38,10 +34,10 @@
|
|||
"foreground": "#fffef9",
|
||||
"powerline_symbol": "\ue0b0",
|
||||
"properties": {
|
||||
"style": "full",
|
||||
"template": "{{ path .Path .Location }} "
|
||||
"style": "full"
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": "{{ path .Path .Location }} ",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
|
@ -69,10 +65,10 @@
|
|||
"git_icon": "\uf1d3 ",
|
||||
"github_icon": "\uf408 ",
|
||||
"gitlab_icon": "\uf296 ",
|
||||
"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 }} "
|
||||
"tag_icon": "\uf412 "
|
||||
},
|
||||
"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"
|
||||
},
|
||||
{
|
||||
|
@ -80,20 +76,18 @@
|
|||
"foreground": "#fffef9",
|
||||
"powerline_symbol": "\ue0b0",
|
||||
"properties": {
|
||||
"always_enabled": true,
|
||||
"template": " \uf064 {{ .FormattedMs }} "
|
||||
"always_enabled": true
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": " \uf064 {{ .FormattedMs }} ",
|
||||
"type": "executiontime"
|
||||
},
|
||||
{
|
||||
"background": "#ed1941",
|
||||
"foreground": "#fffef9",
|
||||
"powerline_symbol": "\ue0b0",
|
||||
"properties": {
|
||||
"template": " \uf12a >>{{ .Meaning }} "
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": " \uf12a >>{{ .Meaning }} ",
|
||||
"type": "exit"
|
||||
}
|
||||
],
|
||||
|
@ -105,18 +99,14 @@
|
|||
"segments": [
|
||||
{
|
||||
"foreground": "#ffce7b",
|
||||
"properties": {
|
||||
"template": "\u2514"
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "\u2514",
|
||||
"type": "text"
|
||||
},
|
||||
{
|
||||
"foreground": "#ffffff",
|
||||
"properties": {
|
||||
"template": " $"
|
||||
},
|
||||
"style": "plain",
|
||||
"template": " $",
|
||||
"type": "text"
|
||||
}
|
||||
],
|
||||
|
@ -126,5 +116,5 @@
|
|||
"console_title_template": "{{if .Root}}\u26a1 {{end}}{{.Folder}}",
|
||||
"final_space": true,
|
||||
"osc99": true,
|
||||
"version": 1
|
||||
"version": 2
|
||||
}
|
||||
|
|
|
@ -6,51 +6,47 @@
|
|||
"segments": [
|
||||
{
|
||||
"foreground": "#ffffff",
|
||||
"properties": {
|
||||
"template": "<#C591E8>\u276f</><#69FF94>\u276f</>"
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "<#C591E8>\u276f</><#69FF94>\u276f</>",
|
||||
"type": "text"
|
||||
},
|
||||
{
|
||||
"foreground": "#56B6C2",
|
||||
"properties": {
|
||||
"style": "folder",
|
||||
"template": " {{ .Path }} "
|
||||
"style": "folder"
|
||||
},
|
||||
"style": "plain",
|
||||
"template": " {{ .Path }} ",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"foreground": "#D0666F",
|
||||
"properties": {
|
||||
"branch_icon": "",
|
||||
"fetch_status": false,
|
||||
"template": "<#5FAAE8>git:(</>{{ .HEAD }}<#5FAAE8>)</>"
|
||||
"fetch_status": false
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "<#5FAAE8>git:(</>{{ .HEAD }}<#5FAAE8>)</>",
|
||||
"type": "git"
|
||||
},
|
||||
{
|
||||
"foreground": "#DCB977",
|
||||
"properties": {
|
||||
"template": " \uf119"
|
||||
},
|
||||
"style": "plain",
|
||||
"template": " \uf119",
|
||||
"type": "exit"
|
||||
},
|
||||
{
|
||||
"foreground": "#66F68F",
|
||||
"properties": {
|
||||
"template": " {{ .CurrentDate | date .Format }} ",
|
||||
"time_format": "15:04"
|
||||
},
|
||||
"style": "plain",
|
||||
"template": " {{ .CurrentDate | date .Format }} ",
|
||||
"type": "time"
|
||||
}
|
||||
],
|
||||
"type": "prompt"
|
||||
}
|
||||
],
|
||||
"version": 1
|
||||
"version": 2
|
||||
}
|
||||
|
|
|
@ -6,30 +6,24 @@
|
|||
"segments": [
|
||||
{
|
||||
"foreground": "#3A86FF",
|
||||
"properties": {
|
||||
"template": "{{ if .WSL }}WSL at {{ end }}{{.Icon}} "
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "{{ if .WSL }}WSL at {{ end }}{{.Icon}} ",
|
||||
"type": "os"
|
||||
},
|
||||
{
|
||||
"background": "#242424",
|
||||
"foreground": "#f1184c",
|
||||
"powerline_symbol": "\ue0b0",
|
||||
"properties": {
|
||||
"template": " {{ .UserName }}"
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": " {{ .UserName }}",
|
||||
"type": "session"
|
||||
},
|
||||
{
|
||||
"background": "#242424",
|
||||
"foreground": "#f1184c",
|
||||
"powerline_symbol": "\ue0b0",
|
||||
"properties": {
|
||||
"template": "- root \uf0e7"
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": "- root \uf0e7",
|
||||
"type": "root"
|
||||
},
|
||||
{
|
||||
|
@ -37,10 +31,10 @@
|
|||
"foreground": "#FFBB00",
|
||||
"powerline_symbol": "\ue0b0",
|
||||
"properties": {
|
||||
"template": "{{ .CurrentDate | date .Format }} ",
|
||||
"time_format": "2006-01-02 15:04:05"
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": "{{ .CurrentDate | date .Format }} ",
|
||||
"type": "time"
|
||||
},
|
||||
{
|
||||
|
@ -49,10 +43,10 @@
|
|||
"powerline_symbol": "\ue0b0",
|
||||
"properties": {
|
||||
"folder_separator_icon": "/",
|
||||
"style": "full",
|
||||
"template": "\ue5ff {{ .Path }} "
|
||||
"style": "full"
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": "\ue5ff {{ .Path }} ",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
|
@ -61,10 +55,10 @@
|
|||
"powerline_symbol": "\ue0b0",
|
||||
"properties": {
|
||||
"fetch_stash_count": true,
|
||||
"fetch_upstream_icon": true,
|
||||
"template": "{{ .UpstreamIcon }}{{ .HEAD }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} "
|
||||
"fetch_upstream_icon": true
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": "{{ .UpstreamIcon }}{{ .HEAD }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} ",
|
||||
"type": "git"
|
||||
},
|
||||
{
|
||||
|
@ -75,10 +69,10 @@
|
|||
"foreground": "#242424",
|
||||
"powerline_symbol": "\ue0b0",
|
||||
"properties": {
|
||||
"always_enabled": true,
|
||||
"template": " \ufc8d "
|
||||
"always_enabled": true
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": " \ufc8d ",
|
||||
"type": "exit"
|
||||
}
|
||||
],
|
||||
|
@ -90,15 +84,13 @@
|
|||
"segments": [
|
||||
{
|
||||
"foreground": "#f1184c",
|
||||
"properties": {
|
||||
"template": "\u279c "
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "\u279c ",
|
||||
"type": "text"
|
||||
}
|
||||
],
|
||||
"type": "prompt"
|
||||
}
|
||||
],
|
||||
"version": 1
|
||||
"version": 2
|
||||
}
|
||||
|
|
|
@ -17,11 +17,11 @@
|
|||
"macos": "\uf179",
|
||||
"manjaro": "\uf312",
|
||||
"opensuse": "\uf314",
|
||||
"template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}} ",
|
||||
"ubuntu": "\uf31b",
|
||||
"windows": "\uf17a"
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}} ",
|
||||
"type": "os"
|
||||
},
|
||||
{
|
||||
|
@ -29,20 +29,18 @@
|
|||
"foreground": "#0077c2",
|
||||
"powerline_symbol": "\ue0b0",
|
||||
"properties": {
|
||||
"display_host": true,
|
||||
"template": "{{ .UserName }}<#000000>@</><#e06c75>{{ .HostName }}</> "
|
||||
"display_host": true
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": "{{ .UserName }}<#000000>@</><#e06c75>{{ .HostName }}</> ",
|
||||
"type": "session"
|
||||
},
|
||||
{
|
||||
"background": "#e06c75",
|
||||
"foreground": "#ffffff",
|
||||
"powerline_symbol": "\ue0b0",
|
||||
"properties": {
|
||||
"template": " \ue799\u2800"
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": " \ue799\u2800",
|
||||
"type": "root"
|
||||
},
|
||||
{
|
||||
|
@ -53,10 +51,10 @@
|
|||
"folder_separator_icon": "/",
|
||||
"home_icon": "~",
|
||||
"max_depth": 2,
|
||||
"style": "letter",
|
||||
"template": " \ue5fe {{ .Path }} "
|
||||
"style": "letter"
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": " \ue5fe {{ .Path }} ",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
|
@ -72,18 +70,16 @@
|
|||
"properties": {
|
||||
"fetch_stash_count": true,
|
||||
"fetch_status": 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 }} "
|
||||
"fetch_upstream_icon": true
|
||||
},
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"foreground": "#FFD54F",
|
||||
"properties": {
|
||||
"template": " {{if .Root}}#{{else}}${{end}}"
|
||||
},
|
||||
"style": "plain",
|
||||
"template": " {{if .Root}}#{{else}}${{end}}",
|
||||
"type": "text"
|
||||
}
|
||||
],
|
||||
|
@ -94,19 +90,19 @@
|
|||
{
|
||||
"foreground": "#ffffff",
|
||||
"properties": {
|
||||
"always_enabled": true,
|
||||
"template": " {{ if gt .Code 0 }}\uf659{{ else }}\uf633{{ end }} "
|
||||
"always_enabled": true
|
||||
},
|
||||
"style": "plain",
|
||||
"template": " {{ if gt .Code 0 }}\uf659{{ else }}\uf633{{ end }} ",
|
||||
"type": "exit"
|
||||
},
|
||||
{
|
||||
"foreground": "#ffffff",
|
||||
"properties": {
|
||||
"always_enabled": true,
|
||||
"template": "{{ .FormattedMs }} "
|
||||
"always_enabled": true
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "{{ .FormattedMs }} ",
|
||||
"type": "executiontime"
|
||||
},
|
||||
{
|
||||
|
@ -122,10 +118,10 @@
|
|||
"properties": {
|
||||
"charged_icon": "\uf583 ",
|
||||
"charging_icon": "\uf588 ",
|
||||
"discharging_icon": "\uf57d ",
|
||||
"template": " {{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }}% "
|
||||
"discharging_icon": "\uf57d "
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": " {{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }}% ",
|
||||
"type": "battery"
|
||||
},
|
||||
{
|
||||
|
@ -133,10 +129,10 @@
|
|||
"foreground": "#ffffff",
|
||||
"invert_powerline": true,
|
||||
"properties": {
|
||||
"template": " {{ .CurrentDate | date .Format }} ",
|
||||
"time_format": "15:04 (Mon)"
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": " {{ .CurrentDate | date .Format }} ",
|
||||
"trailing_diamond": "\ue0b4",
|
||||
"type": "time"
|
||||
}
|
||||
|
@ -146,5 +142,5 @@
|
|||
],
|
||||
"console_title_template": "{{.UserName}}@{{.HostName}} : {{.Folder}}",
|
||||
"final_space": true,
|
||||
"version": 1
|
||||
"version": 2
|
||||
}
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue