oh-my-posh/themes/marcduiker.omp.json
2021-11-09 13:26:59 +01:00

69 lines
2.3 KiB
JSON

{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"horizontal_offset": 0,
"vertical_offset": 0,
"segments": [
{
"background": "#feae34",
"foreground": "#262b44",
"powerline_symbol": "\uE0B0",
"leading_diamond": "",
"trailing_diamond": "\uE0B0",
"properties": {
"prefix": "  ",
"style": "folder"
},
"style": "diamond",
"type": "path"
},
{
"background": "#fee761",
"foreground": "#262b44",
"background_templates": [
"{{ if or (.Repo.Working.Changed) (.Repo.Staging.Changed) }}#f77622{{ end }}",
"{{ if and (.Repo.Ahead gt 0) (.Repo.Behind gt 0) }}#e43b44{{ end }}",
"{{ if .Repo.Ahead gt 0 }}#2ce8f5{{ end }}",
"{{ if .Repo.Behind gt 0 }}#f77622{{ end }}"
],
"powerline_symbol": "\uE0B0",
"properties": {
"fetch_status": true,
"fetch_stash_count": true,
"fetch_upstream_icon": true,
"template": "{{ .Repo.UpstreamIcon }}{{ .Repo.HEAD }}{{ .Repo.BranchStatus }}{{ if .Repo.Staging.Changed }} \uF046 {{ .Repo.Staging.String }}{{ end }}{{ if and (.Repo.Working.Changed) (.Repo.Staging.Changed) }} |{{ end }}{{ if .Repo.Working.Changed }} \uF044 {{ .Repo.Working.String }}{{ end }}{{ if gt .Repo.StashCount 0 }} \uF692 {{ .Repo.StashCount }}{{ end }}"
},
"style": "powerline",
"type": "git"
},
{
"background": "#fee761",
"foreground": "#262b44",
"powerline_symbol": "\uE0B0",
"style": "powerline",
"type": "root"
},
{
"background": "#0095e9",
"foreground": "#ffffff",
"leading_diamond": "<transparent, #0095e9>\uE0B0</>",
"properties": {
"always_enabled": true,
"color_background": true,
"display_exit_code": false,
"error_color": "#ff0044",
"prefix": " "
},
"style": "diamond",
"trailing_diamond": "",
"type": "exit"
}
],
"type": "prompt"
}
],
"final_space": true
}