mirror of
https://github.com/m1ngsama/winfig.git
synced 2025-12-24 10:51:49 +00:00
121 lines
3.4 KiB
JSON
121 lines
3.4 KiB
JSON
{
|
||
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
||
"blocks": [
|
||
{
|
||
"type": "prompt",
|
||
"alignment": "left",
|
||
"segments": [
|
||
{
|
||
"leading_diamond": "\u256d\u2500\ue0b6",
|
||
"foreground": "#ffffff",
|
||
"background": "#0077c2",
|
||
"type": "shell",
|
||
"style": "diamond"
|
||
},
|
||
{
|
||
"properties": {
|
||
"prefix": "<parentBackground>\ue0b0</> ",
|
||
"root_icon": "\uf292"
|
||
},
|
||
"foreground": "#FFFB38",
|
||
"background": "#ef5350",
|
||
"type": "root",
|
||
"style": "diamond"
|
||
},
|
||
{
|
||
"properties": {
|
||
"enable_hyperlink": true,
|
||
"style": "full"
|
||
},
|
||
"foreground": "#E4E4E4",
|
||
"powerline_symbol": "\ue0b0",
|
||
"background": "#444444",
|
||
"type": "path",
|
||
"style": "powerline"
|
||
},
|
||
{
|
||
"properties": {
|
||
"branch_icon": "\ue725 ",
|
||
"fetch_status": true,
|
||
"fetch_upstream_icon": true,
|
||
"template": "{{ .HEAD }} {{ if .Working.Changed }}{{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }}<#ef5350> \uf046 {{ .Staging.String }}</>{{ end }}"
|
||
},
|
||
"foreground": "#011627",
|
||
"powerline_symbol": "\ue0b0",
|
||
"background": "#FFFB38",
|
||
"type": "git",
|
||
"style": "powerline",
|
||
"background_templates": [
|
||
"{{ if or (.Working.Changed) (.Staging.Changed) }}#ffeb95{{ end }}",
|
||
"{{ if and (gt .Ahead 0) (gt .Behind 0) }}#c5e478{{ end }}",
|
||
"{{ if gt .Ahead 0 }}#C792EA{{ end }}",
|
||
"{{ if gt .Behind 0 }}#C792EA{{ end }}"
|
||
]
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"type": "prompt",
|
||
"alignment": "right",
|
||
"segments": [
|
||
{
|
||
"properties": {
|
||
"display_package_manager": true,
|
||
"npm_icon": " <#cc3a3a>\ue5fa</> ",
|
||
"postfix": "",
|
||
"prefix": "\ue718 ",
|
||
"yarn_icon": " <#348cba>\uf61a</>"
|
||
},
|
||
"leading_diamond": " \ue0b6",
|
||
"trailing_diamond": "\ue0b4",
|
||
"foreground": "#3C873A",
|
||
"background": "#303030",
|
||
"type": "node",
|
||
"style": "diamond"
|
||
},
|
||
{
|
||
"properties": {
|
||
"postfix": " ",
|
||
"prefix": " \udb80\udcf0 "
|
||
},
|
||
"leading_diamond": " \ue0b6",
|
||
"trailing_diamond": "\ue0b4",
|
||
"foreground": "#ffffff",
|
||
"background": "#40c4ff",
|
||
"type": "time",
|
||
"style": "diamond",
|
||
"invert_powerline": true
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"type": "prompt",
|
||
"alignment": "left",
|
||
"segments": [
|
||
{
|
||
"properties": {
|
||
"postfix": "",
|
||
"prefix": "",
|
||
"text": "\u2570\u2500"
|
||
},
|
||
"foreground": "#21c7c7",
|
||
"type": "text",
|
||
"style": "plain"
|
||
},
|
||
{
|
||
"properties": {
|
||
"always_enabled": true,
|
||
"display_exit_code": false,
|
||
"error_color": "#ef5350",
|
||
"prefix": "❯"
|
||
},
|
||
"foreground": "#e0f8ff",
|
||
"type": "exit",
|
||
"style": "plain"
|
||
}
|
||
],
|
||
"newline": true
|
||
}
|
||
],
|
||
"version": 3
|
||
}
|