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

70 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",
"properties": {
"template": "{{ .UserName }} "
},
"style": "diamond",
"type": "session"
},
{
"background": "#FFFF00",
"foreground": "#000000",
"powerline_symbol": "\ue0b0",
"properties": {
"style": "folder",
"template": " {{ .Path }} "
},
"style": "powerline",
"type": "path"
},
{
"background": "#4E44FF",
"foreground": "#ffffff",
"powerline_symbol": "\ue0b0",
"properties": {
"branch_icon": "",
"fetch_stash_count": true,
"fetch_status": false,
"fetch_upstream_icon": true,
"template": " \u279c ({{ .UpstreamIcon }}{{ .HEAD }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }}) "
},
"style": "powerline",
"type": "git"
},
{
"background": "#4e903d",
"foreground": "#ffffff",
"powerline_symbol": "\ue0b0",
"properties": {
"template": " \ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} "
},
"style": "powerline",
"type": "node"
},
{
"background": "#16C60C",
"foreground": "#ffffff",
"properties": {
"template": " \u2665 {{ .CurrentDate | date .Format }} ",
"time_format": "15:04"
},
"style": "diamond",
"trailing_diamond": "\ue0b0",
"type": "time"
}
],
"type": "prompt"
}
],
"final_space": true,
"version": 1
}