137 lines
4.0 KiB
JSON
137 lines
4.0 KiB
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
|
"palette": {
|
|
"ahead": "#54433a",
|
|
"blue": "#8aadf4",
|
|
"darktext": "#6e738d",
|
|
"green": "#a6da95",
|
|
"grey": "#e4e4e4",
|
|
"lavender": "#b7bdf8",
|
|
"maroon": "#ee99a0",
|
|
"mauve": "#c6a0f6",
|
|
"text": "#ffffff"
|
|
},
|
|
"blocks": [
|
|
{
|
|
"type": "prompt",
|
|
"alignment": "left",
|
|
"segments": [
|
|
{
|
|
"properties": {
|
|
"alpine": "\uf300",
|
|
"arch": "\uf303",
|
|
"centos": "\uf304",
|
|
"debian": "\uf306",
|
|
"elementary": "\uf309",
|
|
"fedora": "\uf30a",
|
|
"gentoo": "\uf30d",
|
|
"linux": "\ue712",
|
|
"macos": "\ue711",
|
|
"manjaro": "\uf312",
|
|
"mint": "\uf30f",
|
|
"opensuse": "\uf314",
|
|
"raspbian": "\uf315",
|
|
"ubuntu": "\uf31c",
|
|
"windows": "\ue70f"
|
|
},
|
|
"style": "diamond",
|
|
"leading_diamond": "\u256d\u2500\ue0b2",
|
|
"template": " {{ .Icon }} ",
|
|
"foreground": "p:text",
|
|
"background": "p:mauve",
|
|
"type": "os"
|
|
},
|
|
{
|
|
"style": "powerline",
|
|
"template": " {{ .UserName }} ",
|
|
"foreground": "p:darktext",
|
|
"powerline_symbol": "\ue0b0",
|
|
"background": "p:grey",
|
|
"type": "session"
|
|
},
|
|
{
|
|
"properties": {
|
|
"folder_icon": "\u2026",
|
|
"folder_separator_icon": " <transparent>\ue0b1</> ",
|
|
"max_depth": 3,
|
|
"style": "agnoster_short"
|
|
},
|
|
"style": "powerline",
|
|
"template": " {{ .Path }} ",
|
|
"foreground": "p:text",
|
|
"powerline_symbol": "\ue0b0",
|
|
"background": "p:blue",
|
|
"type": "path"
|
|
},
|
|
{
|
|
"properties": {
|
|
"branch_gone_icon": "\ueab8",
|
|
"branch_icon": "\uf418 ",
|
|
"branch_identical_icon": "\uf444",
|
|
"branch_max_length": 25,
|
|
"fetch_stash_count": true,
|
|
"fetch_status": true
|
|
},
|
|
"style": "diamond",
|
|
"leading_diamond": "<transparent,background>\ue0b0</>",
|
|
"trailing_diamond": "\ue0b0",
|
|
"template": " {{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }} <transparent>\ue0b1</> <#121318>\uf044 {{ .Working.String }}</>{{ end }}{{ if .Staging.Changed }} <transparent>\ue0b1</> <#121318>\uf046 {{ .Staging.String }}</>{{ end }}{{ if gt .StashCount 0 }} <transparent>\ue0b1</> <#121318>\ueb4b {{ .StashCount }}</>{{ end }} ",
|
|
"foreground": "p:text",
|
|
"background": "p:green",
|
|
"type": "git",
|
|
"background_templates": [
|
|
"{{ if or (.Working.Changed) (.Staging.Changed) }}p:maroon{{ end }}"
|
|
]
|
|
}
|
|
],
|
|
"newline": true
|
|
},
|
|
{
|
|
"type": "prompt",
|
|
"alignment": "right",
|
|
"segments": [
|
|
{
|
|
"properties": {
|
|
"always_enabled": true,
|
|
"style": "austin"
|
|
},
|
|
"style": "powerline",
|
|
"template": " \ueba2 {{ .FormattedMs }} ",
|
|
"foreground": "p:darktext",
|
|
"powerline_symbol": "\ue0b2",
|
|
"background": "p:grey",
|
|
"type": "executiontime",
|
|
"invert_powerline": true
|
|
},
|
|
{
|
|
"properties": {
|
|
"time_format": "15:04:05"
|
|
},
|
|
"style": "diamond",
|
|
"trailing_diamond": "\ue0b0",
|
|
"template": " \uf073 {{ .CurrentDate | date .Format }} ",
|
|
"foreground": "p:text",
|
|
"background": "p:mauve",
|
|
"type": "time",
|
|
"invert_powerline": true
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "prompt",
|
|
"alignment": "left",
|
|
"segments": [
|
|
{
|
|
"style": "plain",
|
|
"template": "\u2570\u2500 {{ if .Root }}#{{else}}${{end}}",
|
|
"foreground": "p:mauve",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"newline": true
|
|
}
|
|
],
|
|
"version": 3,
|
|
"final_space": true
|
|
}
|