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

107 lines
2.9 KiB
JSON
Raw Normal View History

{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"segments": [
{
"background": "#3A86FF",
2022-02-03 01:22:57 -08:00
"foreground": "#ffffff",
"leading_diamond": "\ue0b6",
"style": "diamond",
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"
},
{
2021-12-03 14:44:58 -08:00
"background": "#3A86FF",
2022-02-03 01:22:57 -08:00
"foreground": "#ffffff",
"style": "powerline",
2022-03-27 01:12:47 -07:00
"template": " {{ .UserName }}@{{ .HostName }} ",
2022-02-03 01:22:57 -08:00
"type": "session"
},
{
"background": "#ff479c",
2022-02-03 01:22:57 -08:00
"foreground": "#ffffff",
"powerline_symbol": "\ue0b0",
"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": " \ue5ff {{ .Path }} ",
2022-02-03 01:22:57 -08:00
"type": "path"
},
{
"background": "#4caf50",
2022-02-03 01:22:57 -08:00
"foreground": "#193549",
"powerline_symbol": "\ue0b0",
"properties": {
2021-12-04 02:56:55 -08:00
"time_format": "2006-01-02 15:04:05"
2022-02-03 01:22:57 -08:00
},
"style": "powerline",
2022-03-27 01:12:47 -07:00
"template": " {{ .CurrentDate | date .Format }} ",
2022-02-03 01:22:57 -08:00
"type": "time"
},
{
"background": "#fffb38",
2022-02-03 01:22:57 -08:00
"foreground": "#193549",
"powerline_symbol": "\ue0b0",
"properties": {
"fetch_stash_count": true,
2022-03-27 01:12:47 -07:00
"fetch_upstream_icon": true
2022-02-03 01:22:57 -08:00
},
"style": "powerline",
"template": " {{ .UpstreamIcon }}{{ .HEAD }}{{ if gt .StashCount 0 }} \ueb4b {{ .StashCount }}{{ end }} ",
2022-02-03 01:22:57 -08:00
"type": "git"
},
{
"background": "#6CA35E",
2022-02-03 01:22:57 -08:00
"foreground": "#ffffff",
"powerline_symbol": "\ue0b0",
"style": "powerline",
2022-03-27 01:12:47 -07:00
"template": " \ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} ",
2022-02-03 01:22:57 -08:00
"type": "node"
},
{
2022-02-03 01:22:57 -08:00
"background": "#ffff66",
"foreground": "#193549",
2022-02-03 01:22:57 -08:00
"powerline_symbol": "\ue0b0",
"style": "powerline",
2022-03-27 01:12:47 -07:00
"template": " \uf0e7 ",
2022-02-03 01:22:57 -08:00
"type": "root"
},
{
"background": "#2e9599",
2022-02-03 01:22:57 -08:00
"background_templates": [
"{{ if gt .Code 0 }}#f1184c{{ end }}"
],
"foreground": "#ffffff",
"leading_diamond": "<transparent,background>\ue0b0</>",
"properties": {
2022-03-27 01:12:47 -07:00
"always_enabled": true
2022-02-03 01:22:57 -08:00
},
"style": "diamond",
"template": " \ueb05 ",
2022-02-03 01:22:57 -08:00
"trailing_diamond": "\ue0b4",
"type": "status"
}
2022-02-03 01:22:57 -08:00
],
"type": "prompt"
},
{
"alignment": "left",
"newline": true,
"segments": [
{
"foreground": "#f1184c",
2022-02-03 01:22:57 -08:00
"style": "plain",
"template": "\uf0a9 ",
2022-02-03 01:22:57 -08:00
"type": "text"
}
2022-02-03 01:22:57 -08:00
],
"type": "prompt"
}
],
2022-02-03 01:22:57 -08:00
"final_space": true,
2022-03-27 01:12:47 -07:00
"version": 2
}