2021-10-25 10:25:14 -07:00
|
|
|
{
|
|
|
|
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
|
|
|
"blocks": [
|
|
|
|
{
|
|
|
|
"alignment": "left",
|
|
|
|
"segments": [
|
|
|
|
{
|
|
|
|
"background": "#21c7a8",
|
2022-02-03 01:22:57 -08:00
|
|
|
"foreground": "#011627",
|
|
|
|
"leading_diamond": "\u256d\u2500\ue0b6",
|
2021-10-25 10:25:14 -07:00
|
|
|
"properties": {
|
|
|
|
"windows": "\uf871"
|
2022-02-03 01:22:57 -08:00
|
|
|
},
|
|
|
|
"style": "diamond",
|
2022-03-27 01:12:47 -07:00
|
|
|
"template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}} ",
|
2022-02-03 01:22:57 -08:00
|
|
|
"trailing_diamond": "\ue0b0",
|
|
|
|
"type": "os"
|
2021-10-25 10:25:14 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"background": "#ef5350",
|
2022-02-03 01:22:57 -08:00
|
|
|
"foreground": "#ffeb95",
|
|
|
|
"leading_diamond": "<transparent,#ef5350>\ue0b0</>",
|
|
|
|
"style": "diamond",
|
2022-03-27 01:12:47 -07:00
|
|
|
"template": " \uf292 ",
|
2022-02-03 01:22:57 -08:00
|
|
|
"trailing_diamond": "\ue0b0",
|
|
|
|
"type": "root"
|
2021-10-25 10:25:14 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"background": "#82AAFF",
|
2022-02-03 01:22:57 -08:00
|
|
|
"foreground": "#011627",
|
|
|
|
"leading_diamond": "<transparent,#82AAFF>\ue0b0</>",
|
2021-10-25 10:25:14 -07:00
|
|
|
"properties": {
|
2021-11-21 05:43:05 -08:00
|
|
|
"folder_icon": "\uf07c ",
|
2022-02-03 01:22:57 -08:00
|
|
|
"folder_separator_icon": " <#011627>\ue0b1</> ",
|
|
|
|
"home_icon": "\uf7db ",
|
2022-03-27 01:12:47 -07:00
|
|
|
"style": "agnoster"
|
2022-02-03 01:22:57 -08:00
|
|
|
},
|
|
|
|
"style": "diamond",
|
2022-03-27 01:12:47 -07:00
|
|
|
"template": " {{ .Path }} ",
|
2022-02-03 01:22:57 -08:00
|
|
|
"trailing_diamond": "\ue0b0",
|
|
|
|
"type": "path"
|
2021-10-25 10:25:14 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"background": "#22da6e",
|
2021-11-07 08:42:56 -08:00
|
|
|
"background_templates": [
|
2021-11-21 05:43:05 -08:00
|
|
|
"{{ if or (.Working.Changed) (.Staging.Changed) }}#addb67{{ end }}",
|
|
|
|
"{{ if and (gt .Ahead 0) (gt .Behind 0) }}#f78c6c{{ end }}",
|
|
|
|
"{{ if gt .Ahead 0 }}#21c7a8{{ end }}",
|
|
|
|
"{{ if gt .Behind 0 }}#c792ea{{ end }}"
|
2021-11-07 08:42:56 -08:00
|
|
|
],
|
2022-02-03 01:22:57 -08:00
|
|
|
"foreground": "#011627",
|
|
|
|
"powerline_symbol": "\ue0b0",
|
2021-10-25 10:25:14 -07:00
|
|
|
"properties": {
|
2021-11-07 08:42:56 -08:00
|
|
|
"branch_icon": "\ue725 ",
|
2021-11-21 05:43:05 -08:00
|
|
|
"fetch_stash_count": true,
|
2022-02-03 01:22:57 -08:00
|
|
|
"fetch_status": true,
|
2021-11-08 13:56:40 -08:00
|
|
|
"fetch_upstream_icon": true,
|
2022-03-27 01:12:47 -07:00
|
|
|
"fetch_worktree_count": true
|
2022-02-03 01:22:57 -08:00
|
|
|
},
|
|
|
|
"style": "powerline",
|
2022-09-06 22:01:52 -07:00
|
|
|
"template": " {{ .UpstreamIcon }}{{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ 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 }} ",
|
2022-02-03 01:22:57 -08:00
|
|
|
"type": "git"
|
2021-10-25 10:25:14 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"background": "#575656",
|
2022-02-03 01:22:57 -08:00
|
|
|
"foreground": "#d6deeb",
|
|
|
|
"leading_diamond": "<transparent,#575656>\ue0b0</>",
|
2021-10-25 10:25:14 -07:00
|
|
|
"properties": {
|
2022-02-03 01:22:57 -08:00
|
|
|
"style": "roundrock",
|
|
|
|
"threshold": 0
|
|
|
|
},
|
|
|
|
"style": "diamond",
|
2022-03-27 01:12:47 -07:00
|
|
|
"template": " {{ .FormattedMs }} ",
|
2022-02-03 01:22:57 -08:00
|
|
|
"trailing_diamond": "\ue0b4",
|
|
|
|
"type": "executiontime"
|
2021-10-25 10:25:14 -07:00
|
|
|
}
|
2022-02-03 01:22:57 -08:00
|
|
|
],
|
|
|
|
"type": "prompt"
|
2021-10-25 10:25:14 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"alignment": "right",
|
|
|
|
"segments": [
|
2021-11-21 05:43:05 -08:00
|
|
|
{
|
|
|
|
"background": "#d6deeb",
|
2022-02-03 01:22:57 -08:00
|
|
|
"foreground": "#011627",
|
|
|
|
"leading_diamond": "\ue0b6",
|
|
|
|
"style": "diamond",
|
2022-03-27 01:12:47 -07:00
|
|
|
"template": "\uf489 {{ .Name }}",
|
2022-02-03 01:22:57 -08:00
|
|
|
"trailing_diamond": "<transparent,#d6deeb>\ue0b2</>",
|
|
|
|
"type": "shell"
|
2021-11-21 05:43:05 -08:00
|
|
|
},
|
2021-11-24 04:08:51 -08:00
|
|
|
{
|
|
|
|
"background": "#8f43f3",
|
2022-02-03 01:22:57 -08:00
|
|
|
"foreground": "#ffffff",
|
|
|
|
"leading_diamond": "\ue0b2",
|
|
|
|
"style": "diamond",
|
2022-03-27 01:12:47 -07:00
|
|
|
"template": " \uf85a {{ round .PhysicalPercentUsed .Precision }}% ",
|
2022-02-03 01:22:57 -08:00
|
|
|
"trailing_diamond": "<transparent,#8f43f3>\ue0b2</>",
|
|
|
|
"type": "sysinfo"
|
2021-11-24 04:08:51 -08:00
|
|
|
},
|
2021-10-25 10:25:14 -07:00
|
|
|
{
|
|
|
|
"background": "#303030",
|
2022-02-03 01:22:57 -08:00
|
|
|
"foreground": "#3C873A",
|
|
|
|
"leading_diamond": "\ue0b2",
|
2021-10-25 10:25:14 -07:00
|
|
|
"properties": {
|
2022-02-03 01:22:57 -08:00
|
|
|
"fetch_package_manager": true,
|
|
|
|
"npm_icon": " <#cc3a3a>\ue71e</> ",
|
|
|
|
"yarn_icon": " <#348cba>\uf61a</>"
|
|
|
|
},
|
|
|
|
"style": "diamond",
|
2022-03-27 01:12:47 -07:00
|
|
|
"template": "\ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }}",
|
2022-02-03 01:22:57 -08:00
|
|
|
"trailing_diamond": "<transparent,#303030>\ue0b2</>",
|
|
|
|
"type": "node"
|
2021-10-25 10:25:14 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"background": "#306998",
|
2022-02-03 01:22:57 -08:00
|
|
|
"foreground": "#FFE873",
|
|
|
|
"leading_diamond": "\ue0b2",
|
|
|
|
"style": "diamond",
|
2022-03-27 01:12:47 -07:00
|
|
|
"template": "\ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }}",
|
2022-02-03 01:22:57 -08:00
|
|
|
"trailing_diamond": "<transparent,#306998>\ue0b2</>",
|
|
|
|
"type": "python"
|
2021-10-25 10:25:14 -07:00
|
|
|
},
|
|
|
|
{
|
2021-11-24 04:08:51 -08:00
|
|
|
"background": "#ffffff",
|
2022-02-03 01:22:57 -08:00
|
|
|
"foreground": "#ec2729",
|
|
|
|
"leading_diamond": "\ue0b2",
|
|
|
|
"style": "diamond",
|
2022-03-27 01:12:47 -07:00
|
|
|
"template": "\ue738 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}",
|
2022-02-03 01:22:57 -08:00
|
|
|
"trailing_diamond": "<transparent,#ffffff>\ue0b2</>",
|
|
|
|
"type": "java"
|
2021-10-25 10:25:14 -07:00
|
|
|
},
|
2021-11-24 04:08:51 -08:00
|
|
|
{
|
|
|
|
"background": "#787CB5",
|
2022-02-03 01:22:57 -08:00
|
|
|
"foreground": "#000000",
|
|
|
|
"leading_diamond": "\ue0b2",
|
|
|
|
"style": "diamond",
|
2022-03-27 01:12:47 -07:00
|
|
|
"template": "\ue73d {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}",
|
2022-02-03 01:22:57 -08:00
|
|
|
"trailing_diamond": "<transparent,#787CB5>\ue0b2</>",
|
|
|
|
"type": "php"
|
2021-11-24 04:08:51 -08:00
|
|
|
},
|
2021-10-25 10:25:14 -07:00
|
|
|
{
|
|
|
|
"background": "#0e0e0e",
|
2022-02-03 01:22:57 -08:00
|
|
|
"foreground": "#0d6da8",
|
|
|
|
"leading_diamond": "\ue0b2",
|
|
|
|
"style": "diamond",
|
2022-03-27 01:12:47 -07:00
|
|
|
"template": "\ue77f {{ if .Unsupported }}\uf071{{ else }}{{ .Full }}{{ end }}",
|
2022-02-03 01:22:57 -08:00
|
|
|
"trailing_diamond": "<transparent,#0e0e0e>\ue0b2</>",
|
|
|
|
"type": "dotnet"
|
2021-10-25 10:25:14 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"background": "#ffffff",
|
2022-02-03 01:22:57 -08:00
|
|
|
"foreground": "#06aad5",
|
|
|
|
"leading_diamond": "\ue0b2",
|
|
|
|
"style": "diamond",
|
2022-03-27 01:12:47 -07:00
|
|
|
"template": " \ufcd1 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ",
|
2022-02-03 01:22:57 -08:00
|
|
|
"trailing_diamond": "<transparent,#ffffff>\ue0b2</>",
|
|
|
|
"type": "go"
|
2021-10-25 10:25:14 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"background": "#f3f0ec",
|
2022-02-03 01:22:57 -08:00
|
|
|
"foreground": "#925837",
|
|
|
|
"leading_diamond": "\ue0b2",
|
|
|
|
"style": "diamond",
|
2022-03-27 01:12:47 -07:00
|
|
|
"template": " \ue7a8 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ",
|
2022-02-03 01:22:57 -08:00
|
|
|
"trailing_diamond": "<transparent,#f3f0ec>\ue0b2</>",
|
|
|
|
"type": "rust"
|
2021-10-25 10:25:14 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"background": "#e1e8e9",
|
2022-02-03 01:22:57 -08:00
|
|
|
"foreground": "#055b9c",
|
|
|
|
"leading_diamond": "\ue0b2",
|
|
|
|
"style": "diamond",
|
2022-03-27 01:12:47 -07:00
|
|
|
"template": " \ue798 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ",
|
2022-02-03 01:22:57 -08:00
|
|
|
"trailing_diamond": "<transparent,#e1e8e9>\ue0b2</>",
|
|
|
|
"type": "dart"
|
2021-10-25 10:25:14 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"background": "#ffffff",
|
2022-02-03 01:22:57 -08:00
|
|
|
"foreground": "#ce092f",
|
|
|
|
"leading_diamond": "\ue0b2",
|
|
|
|
"style": "diamond",
|
2022-03-27 01:12:47 -07:00
|
|
|
"template": " \ue753 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ",
|
2022-02-03 01:22:57 -08:00
|
|
|
"trailing_diamond": "<transparent,#ffffff>\ue0b2</>",
|
|
|
|
"type": "angular"
|
2021-10-25 10:25:14 -07:00
|
|
|
},
|
2022-05-26 05:51:26 -07:00
|
|
|
{
|
|
|
|
"background": "#1e293b",
|
|
|
|
"foreground": "#ffffff",
|
|
|
|
"leading_diamond": "\ue0b2",
|
|
|
|
"style": "diamond",
|
|
|
|
"template": "\ue753 {{ if .Error }}{{ .Error }}{{ else }}Nx {{ .Full }}{{ end }} ",
|
|
|
|
"trailing_diamond": "<transparent,#1e293b>\ue0b2</>",
|
|
|
|
"type": "nx"
|
|
|
|
},
|
2021-10-25 10:25:14 -07:00
|
|
|
{
|
|
|
|
"background": "#945bb3",
|
2022-02-03 01:22:57 -08:00
|
|
|
"foreground": "#359a25",
|
|
|
|
"leading_diamond": "\ue0b2",
|
|
|
|
"style": "diamond",
|
2022-03-27 01:12:47 -07:00
|
|
|
"template": " <#ca3c34>\ue624</> {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ",
|
2022-02-03 01:22:57 -08:00
|
|
|
"trailing_diamond": "<transparent,#945bb3>\ue0b2</>",
|
|
|
|
"type": "julia"
|
2021-10-25 10:25:14 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"background": "#ffffff",
|
2022-02-03 01:22:57 -08:00
|
|
|
"foreground": "#9c1006",
|
|
|
|
"leading_diamond": "\ue0b2",
|
|
|
|
"style": "diamond",
|
2022-03-27 01:12:47 -07:00
|
|
|
"template": " \ue791 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ",
|
2022-02-03 01:22:57 -08:00
|
|
|
"trailing_diamond": "<transparent,#ffffff>\ue0b2</>",
|
|
|
|
"type": "ruby"
|
2021-10-25 10:25:14 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"background": "#ffffff",
|
2022-02-03 01:22:57 -08:00
|
|
|
"foreground": "#5398c2",
|
|
|
|
"leading_diamond": "\ue0b2",
|
|
|
|
"style": "diamond",
|
2022-03-27 01:12:47 -07:00
|
|
|
"template": " \uf104<#f5bf45>\uf0e7</>\uf105 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ",
|
2022-02-03 01:22:57 -08:00
|
|
|
"trailing_diamond": "<transparent,#ffffff>\ue0b2</>",
|
|
|
|
"type": "azfunc"
|
2021-10-25 10:25:14 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"background": "#565656",
|
2022-02-03 01:22:57 -08:00
|
|
|
"foreground": "#faa029",
|
|
|
|
"leading_diamond": "\ue0b2",
|
|
|
|
"style": "diamond",
|
2022-03-27 01:12:47 -07:00
|
|
|
"template": " \ue7ad {{.Profile}}{{if .Region}}@{{.Region}}{{end}} ",
|
2022-02-03 01:22:57 -08:00
|
|
|
"trailing_diamond": "<transparent,#565656>\ue0b2</>",
|
|
|
|
"type": "aws"
|
2021-10-25 10:25:14 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"background": "#316ce4",
|
2022-02-03 01:22:57 -08:00
|
|
|
"foreground": "#ffffff",
|
|
|
|
"leading_diamond": "\ue0b2",
|
|
|
|
"style": "diamond",
|
2022-03-27 01:12:47 -07:00
|
|
|
"template": " \ufd31 {{.Context}}{{if .Namespace}} :: {{.Namespace}}{{end}} ",
|
2022-02-03 01:22:57 -08:00
|
|
|
"trailing_diamond": "<transparent,#316ce4>\ue0b2</>",
|
|
|
|
"type": "kubectl"
|
2021-10-25 10:25:14 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"background": "#234d70",
|
2022-02-03 01:22:57 -08:00
|
|
|
"foreground": "#d6deeb",
|
|
|
|
"leading_diamond": "\ue0b2",
|
2021-10-25 10:25:14 -07:00
|
|
|
"properties": {
|
|
|
|
"time_format": "15:04:05"
|
2022-02-03 01:22:57 -08:00
|
|
|
},
|
|
|
|
"style": "diamond",
|
2022-03-27 01:12:47 -07:00
|
|
|
"template": " \uf64f {{ .CurrentDate | date .Format }} ",
|
2022-02-03 01:22:57 -08:00
|
|
|
"trailing_diamond": "\ue0b4",
|
|
|
|
"type": "time"
|
2021-10-25 10:25:14 -07:00
|
|
|
}
|
2022-02-03 01:22:57 -08:00
|
|
|
],
|
|
|
|
"type": "prompt"
|
2021-10-25 10:25:14 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"alignment": "left",
|
|
|
|
"newline": true,
|
|
|
|
"segments": [
|
|
|
|
{
|
|
|
|
"foreground": "#21c7a8",
|
2022-02-03 01:22:57 -08:00
|
|
|
"style": "plain",
|
2022-03-27 01:12:47 -07:00
|
|
|
"template": "\u2570\u2500",
|
2022-02-03 01:22:57 -08:00
|
|
|
"type": "text"
|
2021-10-25 10:25:14 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"background": "#1DB954",
|
2022-02-03 01:22:57 -08:00
|
|
|
"foreground": "#011627",
|
|
|
|
"leading_diamond": "\ue0b6",
|
2021-10-25 10:25:14 -07:00
|
|
|
"properties": {
|
|
|
|
"playing_icon": "\uf1bc ",
|
|
|
|
"track_separator": " ~ "
|
2022-02-03 01:22:57 -08:00
|
|
|
},
|
|
|
|
"style": "diamond",
|
2022-03-27 01:12:47 -07:00
|
|
|
"template": " {{ .Icon }}{{ if ne .Status \"stopped\" }}{{ .Artist }} - {{ .Track }}{{ end }} ",
|
2022-02-03 01:22:57 -08:00
|
|
|
"trailing_diamond": "\ue0c6 ",
|
|
|
|
"type": "spotify"
|
2021-10-25 10:25:14 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"foreground": "#22da6e",
|
2022-05-26 05:51:26 -07:00
|
|
|
"foreground_templates": ["{{ if gt .Code 0 }}#ef5350{{ end }}"],
|
2021-10-25 10:25:14 -07:00
|
|
|
"properties": {
|
2022-03-27 01:12:47 -07:00
|
|
|
"always_enabled": true
|
2022-02-03 01:22:57 -08:00
|
|
|
},
|
|
|
|
"style": "plain",
|
2022-03-27 01:12:47 -07:00
|
|
|
"template": "\ue285\ue285 ",
|
2022-02-03 01:22:57 -08:00
|
|
|
"type": "exit"
|
2021-10-25 10:25:14 -07:00
|
|
|
}
|
2022-02-03 01:22:57 -08:00
|
|
|
],
|
|
|
|
"type": "prompt"
|
2021-10-25 10:25:14 -07:00
|
|
|
}
|
2022-02-03 01:22:57 -08:00
|
|
|
],
|
|
|
|
"console_title_template": "{{ .Folder }}",
|
|
|
|
"transient_prompt": {
|
|
|
|
"background": "transparent",
|
|
|
|
"foreground": "#d6deeb",
|
|
|
|
"template": "\ue285 "
|
|
|
|
},
|
2022-03-27 01:12:47 -07:00
|
|
|
"version": 2
|
2021-10-25 10:25:14 -07:00
|
|
|
}
|