mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-14 23:14:05 -08:00
66 lines
1.9 KiB
JSON
66 lines
1.9 KiB
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
|
"blocks": [
|
|
{
|
|
"alignment": "left",
|
|
"segments": [
|
|
{
|
|
"background": "#B4009E",
|
|
"foreground": "#ffffff",
|
|
"leading_diamond": "\ue0b6",
|
|
"style": "diamond",
|
|
"template": "{{ .UserName }} ",
|
|
"type": "session"
|
|
},
|
|
{
|
|
"background": "#FFFF00",
|
|
"foreground": "#000000",
|
|
"powerline_symbol": "\ue0b0",
|
|
"properties": {
|
|
"style": "folder"
|
|
},
|
|
"style": "powerline",
|
|
"template": " {{ .Path }} ",
|
|
"type": "path"
|
|
},
|
|
{
|
|
"background": "#4E44FF",
|
|
"foreground": "#ffffff",
|
|
"powerline_symbol": "\ue0b0",
|
|
"properties": {
|
|
"branch_icon": "",
|
|
"fetch_stash_count": true,
|
|
"fetch_status": false,
|
|
"fetch_upstream_icon": true
|
|
},
|
|
"style": "powerline",
|
|
"template": " \u279c ({{ .UpstreamIcon }}{{ .HEAD }}{{ if gt .StashCount 0 }} \ueb4b {{ .StashCount }}{{ end }}) ",
|
|
"type": "git"
|
|
},
|
|
{
|
|
"background": "#4e903d",
|
|
"foreground": "#ffffff",
|
|
"powerline_symbol": "\ue0b0",
|
|
"style": "powerline",
|
|
"template": " \ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} ",
|
|
"type": "node"
|
|
},
|
|
{
|
|
"background": "#16C60C",
|
|
"foreground": "#ffffff",
|
|
"properties": {
|
|
"time_format": "15:04"
|
|
},
|
|
"style": "diamond",
|
|
"template": " \u2665 {{ .CurrentDate | date .Format }} ",
|
|
"trailing_diamond": "\ue0b0",
|
|
"type": "time"
|
|
}
|
|
],
|
|
"type": "prompt"
|
|
}
|
|
],
|
|
"final_space": true,
|
|
"version": 3
|
|
}
|