oh-my-posh/themes/markbull.omp.json
2022-02-03 10:44:18 +01:00

135 lines
4 KiB
JSON

{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"osc99": true,
"console_title": true,
"console_title_style": "template",
"console_title_template": "{{if .Root}}\u26a1 {{end}}{{.Folder}}",
"blocks": [
{
"type": "prompt",
"alignment": "left",
"segments": [
{
"type": "text",
"style": "plain",
"foreground": "#ffce7b",
"properties": {
"prefix": "",
"template": "\u250c"
}
},
{
"type": "session",
"style": "powerline",
"powerline_symbol": "\ue0b0",
"foreground": "#1d1626",
"background": "#ffce7b",
"properties": {
"prefix": " \uF26C "
}
},
{
"type": "os",
"style": "powerline",
"powerline_symbol": "\ue0b0",
"foreground": "#fffef9",
"background": "#C678DD",
"properties": {
"windows": "\uF17A"
}
},
{
"type": "path",
"style": "powerline",
"powerline_symbol": "\ue0b0",
"foreground": "#fffef9",
"background": "#C678DD",
"properties": {
"style": "full"
}
},
{
"type": "git",
"style": "powerline",
"powerline_symbol": "\ue0b0",
"foreground": "#100e23",
"background": "#fffffb",
"background_templates": [
"{{ if or (.Working.Changed) (.Staging.Changed) }}#ffeb95{{ end }}",
"{{ if and (gt .Ahead 0) (gt .Behind 0) }}#fcaf17{{ end }}",
"{{ if gt .Ahead 0 }}#95ffa4{{ end }}",
"{{ if gt .Behind 0 }}#f7acbc{{ end }}"
],
"properties": {
"fetch_status": true,
"fetch_stash_count": true,
"fetch_worktree_count": true,
"fetch_upstream_icon": true,
"branch_icon": "\uE0A0 ",
"commit_icon": "\uF417 ",
"tag_icon": "\uF412 ",
"github_icon": "\uF408 ",
"gitlab_icon": "\uF296 ",
"bitbucket_icon": "\uF171 ",
"azure_devops_icon": "\uFD03 ",
"git_icon": "\uF1D3 ",
"branch_identical_icon": "\uF690 ",
"branch_gone_icon": "\uF68E ",
"template": "{{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }} <#ed1941>\uF044 {{.Working.String}}</>{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} <#225a1f>\uF046 {{.Staging.String}}</>{{ end }}{{ if gt .StashCount 0 }} \uF692 {{.StashCount}}{{ end }}{{ if gt .WorktreeCount 0 }}{{if .IsWorkTree}}<#1d953f>{{ end }} \uF1BB {{if .IsWorkTree}}</>{{ end }}{{.WorktreeCount}}{{ end }}"
}
},
{
"type": "executiontime",
"style": "powerline",
"powerline_symbol": "\uE0B0",
"foreground": "#fffef9",
"background": "#33a3dc",
"properties": {
"prefix": " \uF064 ",
"always_enabled": true
}
},
{
"type": "exit",
"style": "powerline",
"powerline_symbol": "\ue0b0",
"foreground": "#fffef9",
"background": "#ed1941",
"properties": {
"prefix": " \uF12A >>",
"template": "{{ .Text }}"
}
}
]
},
{
"type": "prompt",
"alignment": "left",
"newline": true,
"segments": [
{
"type": "text",
"style": "plain",
"foreground": "#ffce7b",
"properties": {
"prefix": "",
"postfix": "",
"text": "\u2514 "
}
},
{
"type": "text",
"style": "plain",
"foreground": "#ffffff",
"properties": {
"prefix": "",
"postfix": "",
"text": "<b>$</b>"
}
}
]
}
],
"final_space": true
}