oh-my-posh/themes/powerlevel10k_rainbow.omp.json

217 lines
6.7 KiB
JSON
Raw Normal View History

{
2022-02-03 01:22:57 -08:00
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"segments": [
{
"background": "#d3d7cf",
2022-02-03 01:22:57 -08:00
"foreground": "#000000",
"leading_diamond": "\u256d\u2500\ue0b2",
"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
"type": "os"
},
{
"background": "#3465a4",
2022-02-03 01:22:57 -08:00
"foreground": "#e4e4e4",
"powerline_symbol": "\ue0b0",
"properties": {
"home_icon": "~",
2022-03-27 01:12:47 -07:00
"style": "full"
2022-02-03 01:22:57 -08:00
},
"style": "powerline",
2022-03-27 01:12:47 -07:00
"template": " \uf07c {{ .Path }} ",
2022-02-03 01:22:57 -08:00
"type": "path"
},
{
"background": "#4e9a06",
"background_templates": [
2021-11-09 08:13:47 -08:00
"{{ if or (.Working.Changed) (.Staging.Changed) }}#c4a000{{ end }}",
"{{ if and (gt .Ahead 0) (gt .Behind 0) }}#f26d50{{ end }}",
"{{ if gt .Ahead 0 }}#89d1dc{{ end }}",
"{{ if gt .Behind 0 }}#4e9a06{{ end }}"
],
2022-02-03 01:22:57 -08:00
"foreground": "#000000",
"powerline_symbol": "\ue0b0",
"properties": {
2022-02-03 01:22:57 -08:00
"branch_icon": "\uf126 ",
"fetch_stash_count": true,
"fetch_status": true,
2022-03-27 01:12:47 -07:00
"fetch_upstream_icon": true
2022-02-03 01:22:57 -08:00
},
"style": "powerline",
"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 }} \ueb4b {{ .StashCount }}{{ end }} ",
2022-02-03 01:22:57 -08:00
"type": "git"
}
2022-02-03 01:22:57 -08:00
],
"type": "prompt"
},
{
"alignment": "right",
"segments": [
{
"background": "#689f63",
2022-02-03 01:22:57 -08:00
"foreground": "#ffffff",
"invert_powerline": true,
"powerline_symbol": "\ue0b2",
"properties": {
2022-03-27 01:12:47 -07:00
"fetch_version": true
2022-02-03 01:22:57 -08:00
},
"style": "powerline",
"template": " {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} \ue718 ",
2022-02-03 01:22:57 -08:00
"type": "node"
},
{
"background": "#00acd7",
2022-02-03 01:22:57 -08:00
"foreground": "#111111",
"invert_powerline": true,
"powerline_symbol": "\ue0b2",
"properties": {
2022-03-27 01:12:47 -07:00
"fetch_version": true
2022-02-03 01:22:57 -08:00
},
"style": "powerline",
2022-03-27 01:12:47 -07:00
"template": " {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} \ue627 ",
2022-02-03 01:22:57 -08:00
"type": "go"
},
{
"background": "#4063D8",
2022-02-03 01:22:57 -08:00
"foreground": "#111111",
"invert_powerline": true,
"powerline_symbol": "\ue0b2",
"properties": {
2022-03-27 01:12:47 -07:00
"fetch_version": true
2022-02-03 01:22:57 -08:00
},
"style": "powerline",
2022-03-27 01:12:47 -07:00
"template": " {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} \ue624 ",
2022-02-03 01:22:57 -08:00
"type": "julia"
},
{
"background": "#FFDE57",
2022-02-03 01:22:57 -08:00
"foreground": "#111111",
"invert_powerline": true,
"powerline_symbol": "\ue0b2",
"properties": {
"display_mode": "files",
2022-03-27 01:12:47 -07:00
"fetch_virtual_env": false
2022-02-03 01:22:57 -08:00
},
"style": "powerline",
2022-03-27 01:12:47 -07:00
"template": " {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} \ue235 ",
2022-02-03 01:22:57 -08:00
"type": "python"
},
{
"background": "#AE1401",
2022-02-03 01:22:57 -08:00
"foreground": "#ffffff",
"invert_powerline": true,
"powerline_symbol": "\ue0b2",
"properties": {
2022-02-03 01:22:57 -08:00
"display_mode": "files",
2022-03-27 01:12:47 -07:00
"fetch_version": true
2022-02-03 01:22:57 -08:00
},
"style": "powerline",
2022-03-27 01:12:47 -07:00
"template": " {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} \ue791 ",
2022-02-03 01:22:57 -08:00
"type": "ruby"
},
{
"background": "#FEAC19",
2022-02-03 01:22:57 -08:00
"foreground": "#ffffff",
"invert_powerline": true,
"powerline_symbol": "\ue0b2",
"properties": {
2022-02-03 01:22:57 -08:00
"display_mode": "files",
2022-03-27 01:12:47 -07:00
"fetch_version": false
2022-02-03 01:22:57 -08:00
},
"style": "powerline",
2022-03-27 01:12:47 -07:00
"template": " {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} \uf0e7",
2022-02-03 01:22:57 -08:00
"type": "azfunc"
},
{
"background_templates": [
"{{if contains \"default\" .Profile}}#FFA400{{end}}",
"{{if contains \"jan\" .Profile}}#f1184c{{end}}"
],
2022-02-03 01:22:57 -08:00
"foreground": "#ffffff",
"invert_powerline": true,
"powerline_symbol": "\ue0b2",
"properties": {
2022-03-27 01:12:47 -07:00
"display_default": false
2022-02-03 01:22:57 -08:00
},
"style": "powerline",
2022-03-27 01:12:47 -07:00
"template": " {{ .Profile }}{{ if .Region }}@{{ .Region }}{{ end }} \ue7ad ",
2022-02-03 01:22:57 -08:00
"type": "aws"
},
{
"background": "#ffff66",
2022-02-03 01:22:57 -08:00
"foreground": "#111111",
"invert_powerline": true,
"powerline_symbol": "\ue0b2",
"style": "powerline",
2022-03-27 01:12:47 -07:00
"template": " \uf0ad ",
2022-02-03 01:22:57 -08:00
"type": "root"
},
{
"background": "#c4a000",
2022-02-03 01:22:57 -08:00
"foreground": "#000000",
"invert_powerline": true,
"powerline_symbol": "\ue0b2",
"style": "powerline",
2022-03-27 01:12:47 -07:00
"template": " {{ .FormattedMs }} \uf252 ",
2022-02-03 01:22:57 -08:00
"type": "executiontime"
},
{
"background": "#000000",
2022-02-03 01:22:57 -08:00
"background_templates": [
"{{ if gt .Code 0 }}#cc2222{{ end }}"
],
"foreground": "#d3d7cf",
"invert_powerline": true,
"powerline_symbol": "\ue0b2",
"properties": {
2022-03-27 01:12:47 -07:00
"always_enabled": true
2022-02-03 01:22:57 -08:00
},
"style": "powerline",
"template": " {{ if gt .Code 0 }}{{ reason .Code }}{{ else }}\u2714{{ end }} ",
"type": "status"
},
{
"background": "#d3d7cf",
"foreground": "#000000",
2022-02-03 01:22:57 -08:00
"invert_powerline": true,
"style": "diamond",
2022-03-27 01:12:47 -07:00
"template": " {{ .CurrentDate | date .Format }} \uf017 ",
2022-02-03 01:22:57 -08:00
"trailing_diamond": "\ue0b0\u2500\u256e",
"type": "time"
}
2022-02-03 01:22:57 -08:00
],
"type": "prompt"
},
{
"alignment": "left",
"newline": true,
"segments": [
{
"foreground": "#d3d7cf",
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"
}
2022-02-03 01:22:57 -08:00
],
"type": "prompt"
},
{
"segments": [
{
"foreground": "#d3d7cf",
2022-02-03 01:22:57 -08:00
"style": "plain",
2022-03-27 01:12:47 -07:00
"template": "\u2500\u256f",
2022-02-03 01:22:57 -08:00
"type": "text"
}
2022-02-03 01:22:57 -08:00
],
"type": "rprompt"
}
],
2022-02-03 01:22:57 -08:00
"console_title_template": "{{ .Shell }} in {{ .Folder }}",
"final_space": true,
2022-03-27 01:12:47 -07:00
"version": 2
}