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

61 lines
2 KiB
JSON
Raw Normal View History

{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"segments": [
{
"background": "#feae34",
"foreground": "#262b44",
2022-02-03 01:22:57 -08:00
"leading_diamond": "\ue0b6",
"powerline_symbol": "\ue0b0",
"properties": {
2022-03-27 01:12:47 -07:00
"style": "folder"
},
"style": "diamond",
2022-03-27 01:12:47 -07:00
"template": " \ue5ff {{ .Path }} ",
2022-02-03 01:22:57 -08:00
"trailing_diamond": "\ue0b0",
"type": "path"
},
{
"background": "#fee761",
"background_templates": [
2021-11-09 08:13:47 -08:00
"{{ if or (.Working.Changed) (.Staging.Changed) }}#f77622{{ end }}",
"{{ if and (gt .Ahead 0) (gt .Behind 0) }}#e43b44{{ end }}",
"{{ if gt .Ahead 0 }}#2ce8f5{{ end }}",
"{{ if gt .Behind 0 }}#f77622{{ end }}"
],
2022-02-03 01:22:57 -08:00
"foreground": "#262b44",
"powerline_symbol": "\ue0b0",
"properties": {
"fetch_stash_count": true,
2022-02-03 01:22:57 -08:00
"fetch_status": true,
2022-03-27 01:12:47 -07:00
"fetch_upstream_icon": true
},
"style": "powerline",
"template": " {{ .UpstreamIcon }}{{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if gt .StashCount 0 }} \ueb4b {{ .StashCount }}{{ end }} ",
"type": "git"
},
{
"background": "#0095e9",
2022-02-03 01:22:57 -08:00
"background_templates": [
"{{ if gt .Code 0 }}#ff0044{{ end }}"
],
"foreground": "#ffffff",
2022-02-03 01:22:57 -08:00
"leading_diamond": "<transparent,background>\ue0b0</>",
"properties": {
2022-03-27 01:12:47 -07:00
"always_enabled": true
},
"style": "diamond",
2022-03-27 01:12:47 -07:00
"template": " \uf0e7 ",
2022-02-03 01:22:57 -08:00
"trailing_diamond": "\ue0b4",
"type": "status"
}
],
"type": "prompt"
}
],
2022-02-03 01:22:57 -08:00
"final_space": true,
2022-03-27 01:12:47 -07:00
"version": 2
}