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

120 lines
4 KiB
JSON
Raw Normal View History

2022-01-07 01:37:56 -08:00
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"segments": [
{
"foreground": "#ffce7b",
2022-02-03 01:22:57 -08:00
"style": "plain",
2022-03-27 01:12:47 -07:00
"template": "\u250c ",
2022-02-03 01:22:57 -08:00
"type": "text"
2022-01-07 01:37:56 -08:00
},
{
"background": "#ffce7b",
2022-02-03 01:22:57 -08:00
"foreground": "#1d1626",
"powerline_symbol": "\ue0b0",
"style": "powerline",
"template": " \uf26c {{ if .SSHSession }}\ueba9 {{ end }}{{ .UserName }}@{{ .HostName }} ",
2022-02-03 01:22:57 -08:00
"type": "session"
},
{
"background": "#C678DD",
2022-02-03 01:22:57 -08:00
"foreground": "#fffef9",
"powerline_symbol": "\ue0b0",
"properties": {
2022-02-03 01:22:57 -08:00
"windows": "\uf17a"
},
"style": "powerline",
2022-03-27 01:12:47 -07:00
"template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}} ",
2022-02-03 01:22:57 -08:00
"type": "os"
2022-01-07 01:37:56 -08:00
},
{
"background": "#C678DD",
2022-02-03 01:22:57 -08:00
"foreground": "#fffef9",
"powerline_symbol": "\ue0b0",
2022-01-07 01:37:56 -08:00
"properties": {
2022-03-27 01:12:47 -07:00
"style": "full"
2022-02-03 01:22:57 -08:00
},
"style": "powerline",
2022-03-27 01:12:47 -07:00
"template": "{{ path .Path .Location }} ",
2022-02-03 01:22:57 -08:00
"type": "path"
2022-01-07 01:37:56 -08:00
},
{
"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 }}",
"{{ if .UpstreamGone }}#d1c7b7{{ end }}"
2022-01-07 01:37:56 -08:00
],
2022-02-03 01:22:57 -08:00
"foreground": "#100e23",
"powerline_symbol": "\ue0b0",
2022-01-07 01:37:56 -08:00
"properties": {
"azure_devops_icon": "\uebd8 ",
"bitbucket_icon": "\uf171 ",
"branch_gone_icon": "\uebcc ",
2022-02-03 01:22:57 -08:00
"branch_icon": "\ue0a0 ",
"branch_identical_icon": "\uf4c4 ",
2022-02-03 01:22:57 -08:00
"commit_icon": "\uf417 ",
2022-01-07 01:37:56 -08:00
"fetch_stash_count": true,
2022-02-03 01:22:57 -08:00
"fetch_status": true,
2022-01-07 01:37:56 -08:00
"fetch_upstream_icon": true,
2022-02-03 01:22:57 -08:00
"fetch_worktree_count": true,
"git_icon": "\uf1d3 ",
"github_icon": "\uf408 ",
"gitlab_icon": "\uf296 ",
2022-03-27 01:12:47 -07:00
"tag_icon": "\uf412 "
2022-02-03 01:22:57 -08:00
},
"style": "powerline",
"template": " {{ if( .UpstreamIcon ) }}{{ url .UpstreamIcon .UpstreamURL }} {{ end }}{{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ 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 }} \ueb4b {{.StashCount}}{{ end }}{{ if gt .WorktreeCount 0 }}{{if .IsWorkTree}}<#1d953f>{{ end }} \uf1bb {{if .IsWorkTree}}</>{{ end }}{{.WorktreeCount}}{{ end }} ",
2022-02-03 01:22:57 -08:00
"type": "git"
2022-01-07 01:37:56 -08:00
},
{
"background": "#33a3dc",
2022-02-03 01:22:57 -08:00
"foreground": "#fffef9",
"powerline_symbol": "\ue0b0",
"properties": {
2022-03-27 01:12:47 -07:00
"always_enabled": true
2022-02-03 01:22:57 -08:00
},
"style": "powerline",
2022-03-27 01:12:47 -07:00
"template": " \uf064 {{ .FormattedMs }} ",
2022-02-03 01:22:57 -08:00
"type": "executiontime"
},
2022-01-07 01:37:56 -08:00
{
"background": "#ed1941",
2022-02-03 01:22:57 -08:00
"foreground": "#fffef9",
"powerline_symbol": "\ue0b0",
"style": "powerline",
"template": " \uf12a >>{{ reason .Code }} ",
"type": "status"
2022-01-07 01:37:56 -08:00
}
2022-02-03 01:22:57 -08:00
],
"type": "prompt"
2022-01-07 01:37:56 -08:00
},
{
"alignment": "left",
"newline": true,
"segments": [
{
"foreground": "#ffce7b",
2022-02-03 01:22:57 -08:00
"style": "plain",
2022-03-27 01:12:47 -07:00
"template": "\u2514",
2022-02-03 01:22:57 -08:00
"type": "text"
2022-01-07 01:37:56 -08:00
},
{
"foreground": "#ffffff",
2022-02-03 01:22:57 -08:00
"style": "plain",
2022-03-27 01:12:47 -07:00
"template": " $",
2022-02-03 01:22:57 -08:00
"type": "text"
2022-01-07 01:37:56 -08:00
}
2022-02-03 01:22:57 -08:00
],
"type": "prompt"
2022-01-07 01:37:56 -08:00
}
],
2022-02-03 01:22:57 -08:00
"console_title_template": "{{if .Root}}\u26a1 {{end}}{{.Folder}}",
"final_space": true,
2024-10-28 05:59:40 -07:00
"version": 3
2022-01-07 01:37:56 -08:00
}