2021-08-12 22:31:44 -07:00
|
|
|
{
|
|
|
|
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
|
|
|
"blocks": [
|
|
|
|
{
|
|
|
|
"alignment": "left",
|
|
|
|
"segments": [
|
|
|
|
{
|
|
|
|
"background": "#333333",
|
2022-02-03 01:22:57 -08:00
|
|
|
"foreground": "#ff0000",
|
|
|
|
"leading_diamond": "\ue0b6",
|
2021-12-03 14:44:58 -08:00
|
|
|
"properties": {
|
2022-02-03 01:22:57 -08:00
|
|
|
"template": " {{ .UserName }}@{{ .HostName }} "
|
|
|
|
},
|
|
|
|
"style": "diamond",
|
|
|
|
"trailing_diamond": "\ue0b0",
|
|
|
|
"type": "session"
|
2021-08-12 22:31:44 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"background": "#1BD760",
|
2022-02-03 01:22:57 -08:00
|
|
|
"foreground": "#434343",
|
|
|
|
"powerline_symbol": "\ue0b0",
|
2021-08-12 22:31:44 -07:00
|
|
|
"properties": {
|
2022-02-03 01:22:57 -08:00
|
|
|
"template": " \uf9c6 {{ .Icon }}{{ if ne .Status \"stopped\" }}{{ .Artist }} - {{ .Track }}{{ end }} "
|
|
|
|
},
|
|
|
|
"style": "powerline",
|
|
|
|
"type": "spotify"
|
2021-08-12 22:31:44 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"background": "#ff0000",
|
2022-02-03 01:22:57 -08:00
|
|
|
"foreground": "#000000",
|
|
|
|
"powerline_symbol": "\ue0b0",
|
2021-08-12 22:31:44 -07:00
|
|
|
"properties": {
|
2022-02-03 01:22:57 -08:00
|
|
|
"style": "folder",
|
|
|
|
"template": " \ue5ff {{ .Path }} "
|
|
|
|
},
|
|
|
|
"style": "powerline",
|
|
|
|
"type": "path"
|
2021-08-12 22:31:44 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"background": "#fffb38",
|
2022-02-03 01:22:57 -08:00
|
|
|
"foreground": "#193549",
|
|
|
|
"powerline_symbol": "\ue0b0",
|
2021-08-12 22:31:44 -07:00
|
|
|
"properties": {
|
2021-11-07 08:42:56 -08:00
|
|
|
"fetch_stash_count": true,
|
2021-11-08 13:56:40 -08:00
|
|
|
"fetch_upstream_icon": true,
|
2022-02-03 01:22:57 -08:00
|
|
|
"template": " {{ .UpstreamIcon }}{{ .HEAD }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} "
|
|
|
|
},
|
|
|
|
"style": "powerline",
|
|
|
|
"type": "git"
|
2021-08-12 22:31:44 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"background": "#6CA35E",
|
2022-02-03 01:22:57 -08:00
|
|
|
"foreground": "#ffffff",
|
|
|
|
"powerline_symbol": "\ue0b0",
|
2021-08-12 22:31:44 -07:00
|
|
|
"properties": {
|
2022-02-03 01:22:57 -08:00
|
|
|
"template": " \ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} "
|
|
|
|
},
|
|
|
|
"style": "powerline",
|
|
|
|
"type": "node"
|
2021-08-12 22:31:44 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"background": "#203248",
|
2022-02-03 01:22:57 -08:00
|
|
|
"foreground": "#ffffff",
|
|
|
|
"powerline_symbol": "\ue0b0",
|
2021-08-12 22:31:44 -07:00
|
|
|
"properties": {
|
2022-02-03 01:22:57 -08:00
|
|
|
"template": " \ufcb5 {{ .Name }} "
|
|
|
|
},
|
|
|
|
"style": "powerline",
|
|
|
|
"type": "shell"
|
2021-08-12 22:31:44 -07:00
|
|
|
},
|
|
|
|
{
|
2022-02-03 01:22:57 -08:00
|
|
|
"background": "#ffff66",
|
2021-08-12 22:31:44 -07:00
|
|
|
"foreground": "#ffffff",
|
2022-02-03 01:22:57 -08:00
|
|
|
"powerline_symbol": "\ue0b0",
|
|
|
|
"properties": {
|
|
|
|
"template": " \uf0e7 "
|
|
|
|
},
|
|
|
|
"style": "powerline",
|
|
|
|
"type": "root"
|
2021-08-12 22:31:44 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"background": "#2e9599",
|
2022-02-03 01:22:57 -08:00
|
|
|
"background_templates": [
|
|
|
|
"{{ if gt .Code 0 }}#f1184c{{ end }}"
|
|
|
|
],
|
|
|
|
"foreground": "#ffffff",
|
2021-08-12 22:31:44 -07:00
|
|
|
"properties": {
|
|
|
|
"always_enabled": true,
|
2022-02-03 01:22:57 -08:00
|
|
|
"template": "<transparent>\ue0b0</> \ue23a <background,transparent>\ue0b4</>"
|
|
|
|
},
|
|
|
|
"style": "plain",
|
|
|
|
"type": "exit"
|
2021-08-12 22:31:44 -07:00
|
|
|
}
|
2022-02-03 01:22:57 -08:00
|
|
|
],
|
|
|
|
"type": "prompt"
|
2021-08-12 22:31:44 -07:00
|
|
|
}
|
|
|
|
],
|
2022-02-03 01:22:57 -08:00
|
|
|
"final_space": true,
|
|
|
|
"version": 1
|
2021-08-12 22:31:44 -07:00
|
|
|
}
|