mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-10 04:54:03 -08:00
350 lines
10 KiB
JSON
350 lines
10 KiB
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
|
"final_space": false,
|
|
"osc99": true,
|
|
"console_title": true,
|
|
"console_title_style": "template",
|
|
"console_title_template": "{{ .Folder }}",
|
|
"transient_prompt": {
|
|
"background": "transparent",
|
|
"foreground": "#d6deeb",
|
|
"template": "\ue285 "
|
|
},
|
|
"blocks": [
|
|
{
|
|
"type": "prompt",
|
|
"alignment": "left",
|
|
"segments": [
|
|
{
|
|
"type": "os",
|
|
"style": "diamond",
|
|
"leading_diamond": "╭─\uE0B6",
|
|
"trailing_diamond": "\uE0B0",
|
|
"foreground": "#011627",
|
|
"background": "#21c7a8",
|
|
"properties": {
|
|
"postfix": " ",
|
|
"windows": "\uf871"
|
|
}
|
|
},
|
|
{
|
|
"type": "root",
|
|
"style": "diamond",
|
|
"leading_diamond": "<transparent,#ef5350>\uE0B0</>",
|
|
"trailing_diamond": "\uE0B0",
|
|
"foreground": "#ffeb95",
|
|
"background": "#ef5350",
|
|
"properties": {
|
|
"root_icon": "\uf292 "
|
|
}
|
|
},
|
|
{
|
|
"type": "path",
|
|
"style": "diamond",
|
|
"leading_diamond": "<transparent,#82AAFF>\uE0B0</>",
|
|
"trailing_diamond": "\uE0B0",
|
|
"foreground": "#011627",
|
|
"background": "#82AAFF",
|
|
"properties": {
|
|
"folder_separator_icon": " <#011627>\uE0B1</> ",
|
|
"home_icon": "\uf7db ",
|
|
"folder_icon": "\uf07c ",
|
|
"style": "agnoster",
|
|
"enable_hyperlink": true
|
|
}
|
|
},
|
|
{
|
|
"type": "git",
|
|
"style": "powerline",
|
|
"powerline_symbol": "\uE0B0",
|
|
"foreground": "#011627",
|
|
"background": "#22da6e",
|
|
"background_templates": [
|
|
"{{ 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 }}"
|
|
],
|
|
"properties": {
|
|
"branch_icon": "\ue725 ",
|
|
"fetch_status": true,
|
|
"fetch_stash_count": true,
|
|
"fetch_worktree_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 }}"
|
|
}
|
|
},
|
|
{
|
|
"type": "executiontime",
|
|
"style": "diamond",
|
|
"leading_diamond": "<transparent,#575656>\uE0B0</>",
|
|
"trailing_diamond": "\uE0B4",
|
|
"foreground": "#d6deeb",
|
|
"background": "#575656",
|
|
"properties": {
|
|
"threshold": 0,
|
|
"style": "roundrock"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "prompt",
|
|
"alignment": "right",
|
|
"segments": [
|
|
{
|
|
"type": "shell",
|
|
"style": "diamond",
|
|
"leading_diamond": "\uE0B6",
|
|
"trailing_diamond": "<transparent,#d6deeb>\uE0B2</>",
|
|
"foreground": "#011627",
|
|
"background": "#d6deeb",
|
|
"properties": {
|
|
"prefix": "\uf489 ",
|
|
"postfix": ""
|
|
}
|
|
},
|
|
{
|
|
"type": "sysinfo",
|
|
"style": "diamond",
|
|
"leading_diamond": "\uE0B2",
|
|
"trailing_diamond": "<transparent,#8f43f3>\uE0B2</>",
|
|
"foreground": "#ffffff",
|
|
"background": "#8f43f3",
|
|
"properties": {
|
|
"prefix": " \uf85a ",
|
|
"postfix": "% ",
|
|
"template": "{{ round .PhysicalPercentUsed .Precision }}"
|
|
}
|
|
},
|
|
{
|
|
"type": "node",
|
|
"style": "diamond",
|
|
"leading_diamond": "\uE0B2",
|
|
"trailing_diamond": "<transparent,#303030>\uE0B2</>",
|
|
"foreground": "#3C873A",
|
|
"background": "#303030",
|
|
"properties": {
|
|
"prefix": "\uE718 ",
|
|
"postfix": "",
|
|
"display_package_manager": true,
|
|
"yarn_icon": " <#348cba></>",
|
|
"npm_icon": " <#cc3a3a></> "
|
|
}
|
|
},
|
|
{
|
|
"type": "python",
|
|
"style": "diamond",
|
|
"leading_diamond": "\uE0B2",
|
|
"trailing_diamond": "<transparent,#306998>\uE0B2</>",
|
|
"foreground": "#FFE873",
|
|
"background": "#306998",
|
|
"properties": {
|
|
"prefix": "\uE235 ",
|
|
"postfix": ""
|
|
}
|
|
},
|
|
{
|
|
"type": "java",
|
|
"style": "diamond",
|
|
"leading_diamond": "\uE0B2",
|
|
"trailing_diamond": "<transparent,#0e8ac8>\uE0B2</>",
|
|
"foreground": "#ec2729",
|
|
"background": "#ffffff",
|
|
"properties": {
|
|
"prefix": "\uE738 ",
|
|
"postfix": ""
|
|
}
|
|
},
|
|
{
|
|
"type": "php",
|
|
"style": "diamond",
|
|
"leading_diamond": "\uE0B2",
|
|
"trailing_diamond": "<transparent,#787CB5>\uE0B2</>",
|
|
"foreground": "#000000",
|
|
"background": "#787CB5",
|
|
"properties": {
|
|
"prefix": "\ue73d ",
|
|
"postfix": ""
|
|
}
|
|
},
|
|
{
|
|
"type": "dotnet",
|
|
"style": "diamond",
|
|
"leading_diamond": "\uE0B2",
|
|
"trailing_diamond": "<transparent,#0e0e0e>\uE0B2</>",
|
|
"foreground": "#0d6da8",
|
|
"background": "#0e0e0e",
|
|
"properties": {
|
|
"prefix": "\uE77F ",
|
|
"postfix": ""
|
|
}
|
|
},
|
|
{
|
|
"type": "go",
|
|
"style": "diamond",
|
|
"leading_diamond": "\uE0B2",
|
|
"trailing_diamond": "<transparent,#ffffff>\uE0B2</>",
|
|
"foreground": "#06aad5",
|
|
"background": "#ffffff",
|
|
"properties": {
|
|
"prefix": "\uFCD1 ",
|
|
"postfix": ""
|
|
}
|
|
},
|
|
{
|
|
"type": "rust",
|
|
"style": "diamond",
|
|
"leading_diamond": "\uE0B2",
|
|
"trailing_diamond": "<transparent,#f3f0ec>\uE0B2</>",
|
|
"foreground": "#925837",
|
|
"background": "#f3f0ec",
|
|
"properties": {
|
|
"prefix": "\uE7a8 ",
|
|
"postfix": ""
|
|
}
|
|
},
|
|
{
|
|
"type": "dart",
|
|
"style": "diamond",
|
|
"leading_diamond": "\uE0B2",
|
|
"trailing_diamond": "<transparent,#e1e8e9>\uE0B2</>",
|
|
"foreground": "#055b9c",
|
|
"background": "#e1e8e9",
|
|
"properties": {
|
|
"prefix": "\uE798 ",
|
|
"postfix": ""
|
|
}
|
|
},
|
|
{
|
|
"type": "angular",
|
|
"style": "diamond",
|
|
"leading_diamond": "\uE0B2",
|
|
"trailing_diamond": "<transparent,#ffffff>\uE0B2</>",
|
|
"foreground": "#ce092f",
|
|
"background": "#ffffff",
|
|
"properties": {
|
|
"prefix": "\uE753 ",
|
|
"postfix": ""
|
|
}
|
|
},
|
|
{
|
|
"type": "julia",
|
|
"style": "diamond",
|
|
"leading_diamond": "\uE0B2",
|
|
"trailing_diamond": "<transparent,#945bb3>\uE0B2</>",
|
|
"foreground": "#359a25",
|
|
"background": "#945bb3",
|
|
"properties": {
|
|
"prefix": "<#ca3c34>\uE624</> ",
|
|
"postfix": ""
|
|
}
|
|
},
|
|
{
|
|
"type": "ruby",
|
|
"style": "diamond",
|
|
"leading_diamond": "\uE0B2",
|
|
"trailing_diamond": "<transparent,#ffffff>\uE0B2</>",
|
|
"foreground": "#9c1006",
|
|
"background": "#ffffff",
|
|
"properties": {
|
|
"prefix": "\uE791 ",
|
|
"postfix": ""
|
|
}
|
|
},
|
|
{
|
|
"type": "azfunc",
|
|
"style": "diamond",
|
|
"leading_diamond": "\uE0B2",
|
|
"trailing_diamond": "<transparent,#ffffff>\uE0B2</>",
|
|
"foreground": "#5398c2",
|
|
"background": "#ffffff",
|
|
"properties": {
|
|
"prefix": "\uf104<#f5bf45>\uf0e7</>\uf105 ",
|
|
"postfix": ""
|
|
}
|
|
},
|
|
{
|
|
"type": "aws",
|
|
"style": "diamond",
|
|
"leading_diamond": "\uE0B2",
|
|
"trailing_diamond": "<transparent,#565656>\uE0B2</>",
|
|
"foreground": "#faa029",
|
|
"background": "#565656",
|
|
"properties": {
|
|
"prefix": "\uE7AD ",
|
|
"postfix": "",
|
|
"template": "{{.Profile}}{{if .Region}}@{{.Region}}{{end}}"
|
|
}
|
|
},
|
|
{
|
|
"type": "kubectl",
|
|
"style": "diamond",
|
|
"leading_diamond": "\uE0B2",
|
|
"trailing_diamond": "<transparent,#316ce4>\uE0B2</>",
|
|
"foreground": "#ffffff",
|
|
"background": "#316ce4",
|
|
"properties": {
|
|
"prefix": "\uFD31 ",
|
|
"postfix": "",
|
|
"template": "{{.Context}}{{if .Namespace}} :: {{.Namespace}}{{end}}"
|
|
}
|
|
},
|
|
{
|
|
"type": "time",
|
|
"style": "diamond",
|
|
"leading_diamond": "\uE0B2",
|
|
"trailing_diamond": "\uE0B4",
|
|
"foreground": "#d6deeb",
|
|
"background": "#234d70",
|
|
"properties": {
|
|
"prefix": "\uf64f ",
|
|
"postfix": "",
|
|
"time_format": "15:04:05"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "prompt",
|
|
"alignment": "left",
|
|
"newline": true,
|
|
"segments": [
|
|
{
|
|
"type": "text",
|
|
"style": "plain",
|
|
"foreground": "#21c7a8",
|
|
"properties": {
|
|
"prefix": "",
|
|
"postfix": "",
|
|
"text": "╰─"
|
|
}
|
|
},
|
|
{
|
|
"type": "spotify",
|
|
"style": "diamond",
|
|
"leading_diamond": "\uE0B6",
|
|
"trailing_diamond": "\uE0c6 ",
|
|
"foreground": "#011627",
|
|
"background": "#1DB954",
|
|
"properties": {
|
|
"playing_icon": "\uf1bc ",
|
|
"track_separator": " ~ "
|
|
}
|
|
},
|
|
{
|
|
"type": "exit",
|
|
"style": "plain",
|
|
"foreground": "#22da6e",
|
|
"foreground_templates": ["{{ if gt .Code 0 }}#ef5350{{ end }}"],
|
|
"properties": {
|
|
"prefix": "",
|
|
"template": "\ue285\ue285",
|
|
"always_enabled": true
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|