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

191 lines
5.6 KiB
JSON
Raw Normal View History

2022-03-16 06:03:33 -07:00
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"segments": [
{
"background": "p:yellow",
"foreground": "p:black",
"leading_diamond": "\ue0b6",
"properties": {
2022-03-27 01:12:47 -07:00
"display_host": false
2022-03-16 06:03:33 -07:00
},
"style": "diamond",
2022-03-27 01:12:47 -07:00
"template": " {{ if .SSHSession }}\uf817 {{ end }}{{ .UserName }} ",
2022-03-16 06:03:33 -07:00
"trailing_diamond": "\ue0b0",
"type": "session"
},
{
"background": "p:orange",
"foreground": "p:white",
"powerline_symbol": "\ue0b0",
"properties": {
"home_icon": "~",
2022-03-27 01:12:47 -07:00
"style": "folder"
2022-03-16 06:03:33 -07:00
},
"style": "powerline",
2022-03-27 01:12:47 -07:00
"template": " \uf74a {{ path .Path .Location }} ",
2022-03-16 06:03:33 -07:00
"type": "path"
},
{
"background": "p:green",
"background_templates": [
"{{ if or (.Working.Changed) (.Staging.Changed) }}p:yellow{{ end }}",
"{{ if and (gt .Ahead 0) (gt .Behind 0) }}p:red{{ end }}",
"{{ if gt .Ahead 0 }}#49416D{{ end }}",
"{{ if gt .Behind 0 }}#7A306C{{ end }}"
],
"foreground": "p:black",
"foreground_templates": [
"{{ if or (.Working.Changed) (.Staging.Changed) }}p:black{{ end }}",
"{{ if and (gt .Ahead 0) (gt .Behind 0) }}p:white{{ end }}",
"{{ if gt .Ahead 0 }}p:white{{ end }}"
],
"powerline_symbol": "\ue0b0",
"properties": {
"branch_max_length": 25,
"fetch_status": true,
"fetch_upstream_icon": true,
2022-03-27 01:12:47 -07:00
"github_icon": "\uf7a3"
2022-03-16 06:03:33 -07:00
},
"style": "powerline",
2022-03-27 01:12:47 -07:00
"template": " {{ if .UpstreamURL }}{{ url .UpstreamIcon .UpstreamURL }} {{ end }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }} ",
2022-03-16 06:03:33 -07:00
"type": "git"
},
{
"background": "p:yellow",
"foreground": "p:white",
"powerline_symbol": "\ue0b0",
"properties": {
2022-03-27 01:12:47 -07:00
"root_icon": "\uf0ad"
2022-03-16 06:03:33 -07:00
},
"style": "powerline",
2022-03-27 01:12:47 -07:00
"template": " \uf0e7 ",
2022-03-16 06:03:33 -07:00
"type": "root"
},
{
"background": "p:blue",
2022-03-27 01:12:47 -07:00
"background_templates": [
"{{ if gt .Code 0 }}p:red{{ end }}"
],
2022-03-16 06:03:33 -07:00
"foreground": "p:white",
2022-03-27 01:12:47 -07:00
"leading_diamond": "<transparent,background>\ue0b0</>",
2022-03-16 06:03:33 -07:00
"properties": {
2022-03-27 01:12:47 -07:00
"always_enabled": true
2022-03-16 06:03:33 -07:00
},
"style": "diamond",
2022-03-27 01:12:47 -07:00
"template": " {{ if gt .Code 0 }}\uf00d{{ else }}\uf00c{{ end }} ",
2022-03-16 06:03:33 -07:00
"trailing_diamond": "\ue0b4",
"type": "exit"
}
],
"type": "prompt"
},
{
"segments": [
{
"background": "transparent",
"foreground": "p:green",
"properties": {
"display_mode": "files",
"fetch_package_manager": false,
2022-03-27 01:12:47 -07:00
"home_enabled": false
2022-03-16 06:03:33 -07:00
},
"style": "plain",
2022-03-27 01:12:47 -07:00
"template": "\uf898 ",
2022-03-16 06:03:33 -07:00
"type": "node"
},
{
"background": "transparent",
"foreground": "p:blue",
"properties": {
2022-03-27 01:12:47 -07:00
"fetch_version": false
2022-03-16 06:03:33 -07:00
},
"style": "powerline",
2022-03-27 01:12:47 -07:00
"template": "\ufcd1 ",
2022-03-16 06:03:33 -07:00
"type": "go"
},
{
"background": "transparent",
"foreground": "p:yellow",
"properties": {
"display_mode": "files",
"fetch_version": true,
2022-03-27 01:12:47 -07:00
"fetch_virtual_env": false
2022-03-16 06:03:33 -07:00
},
"style": "plain",
2022-03-27 01:12:47 -07:00
"template": "\ue235 ",
2022-03-16 06:03:33 -07:00
"type": "python"
},
{
"background": "transparent",
"foreground": "p:white",
"style": "plain",
2022-03-27 01:12:47 -07:00
"template": "in <p:blue><b>{{ .Name }}</b></> ",
2022-03-16 06:03:33 -07:00
"type": "shell"
},
{
"background": "transparent",
"foreground": "p:white",
"style": "plain",
2022-03-27 01:12:47 -07:00
"template": "at <p:blue><b>{{ .CurrentDate | date \"15:04:05\" }}</b></>",
2022-03-16 06:03:33 -07:00
"type": "time"
}
],
"type": "rprompt"
}
],
"console_title_template": "{{ .Shell }} in {{ .Folder }}",
"final_space": true,
2022-03-27 01:12:47 -07:00
"palette": {
"black": "#262B44",
"blue": "#4B95E9",
"green": "#59C9A5",
"orange": "#F07623",
"red": "#D81E5B",
"white": "#E0DEF4",
"yellow": "#F3AE35"
},
2022-03-16 06:03:33 -07:00
"secondary_prompt": {
"background": "transparent",
"foreground": "p:black",
"template": "<p:yellow,transparent>\ue0b6</><,p:yellow> > </><p:yellow,transparent>\ue0b0</> "
},
"tooltips": [
{
"background": "p:orange",
"foreground": "p:white",
"leading_diamond": "\ue0b6",
"properties": {
2022-03-27 01:12:47 -07:00
"display_default": true
2022-03-16 06:03:33 -07:00
},
"style": "diamond",
2022-03-27 01:12:47 -07:00
"template": " \ue7ad {{ .Profile }}{{ if .Region }}@{{ .Region }}{{ end }} ",
"tips": [
"aws"
],
2022-03-16 06:03:33 -07:00
"trailing_diamond": "\ue0b4",
"type": "aws"
},
{
"background": "p:blue",
"foreground": "p:white",
"leading_diamond": "\ue0b6",
"style": "diamond",
2022-03-27 01:12:47 -07:00
"template": " \ufd03 {{ .Name }} ",
"tips": [
"az"
],
2022-03-16 06:03:33 -07:00
"trailing_diamond": "\ue0b4",
"type": "az"
}
],
"transient_prompt": {
"background": "transparent",
"foreground": "p:black",
"template": "<p:yellow,transparent>\ue0b6</><,p:yellow> {{ .Folder }} </><p:yellow,transparent>\ue0b0</> "
},
2022-03-27 01:12:47 -07:00
"version": 2
2022-03-16 06:03:33 -07:00
}