winfig/powershell/m1ng.omp.json

170 lines
4.7 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"$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": {
"prefix": " \ue235 ",
"display_mode": "files"
},
"leading_diamond": " \ue0b6",
"trailing_diamond": "\ue0b4",
"foreground": "#ffffff",
"background": "#4584b6",
"type": "python",
"style": "diamond"
},
{
"properties": {
"prefix": " \ue627 ",
"display_mode": "files"
},
"leading_diamond": " \ue0b6",
"trailing_diamond": "\ue0b4",
"foreground": "#ffffff",
"background": "#00acd7",
"type": "go",
"style": "diamond"
},
{
"properties": {
"prefix": " \uf308 ",
"display_mode": "files"
},
"leading_diamond": " \ue0b6",
"trailing_diamond": "\ue0b4",
"foreground": "#ffffff",
"background": "#0db7ed",
"type": "docker",
"style": "diamond"
},
{
"properties": {
"threshold": 500,
"style": "austin",
"prefix": " <#fefefe>\uf252</> "
},
"leading_diamond": " \ue0b6",
"trailing_diamond": "\ue0b4",
"foreground": "#ffffff",
"background": "#c4a000",
"type": "executiontime",
"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
}