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

91 lines
2.7 KiB
JSON
Raw Normal View History

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",
"style": "diamond",
2022-03-27 01:12:47 -07:00
"template": " {{ .UserName }}@{{ .HostName }} ",
2022-02-03 01:22:57 -08:00
"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",
"style": "powerline",
"template": " \uf1bc {{ .Icon }}{{ if ne .Status \"stopped\" }}{{ .Artist }} - {{ .Track }}{{ end }} ",
2022-02-03 01:22:57 -08:00
"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-03-27 01:12:47 -07:00
"style": "folder"
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"
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": {
"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"
2021-08-12 22:31:44 -07:00
},
{
"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"
2021-08-12 22:31:44 -07:00
},
{
"background": "#203248",
2022-02-03 01:22:57 -08:00
"foreground": "#ffffff",
"powerline_symbol": "\ue0b0",
"style": "powerline",
"template": " \uf120 {{ .Name }} ",
2022-02-03 01:22:57 -08:00
"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",
"style": "powerline",
2022-03-27 01:12:47 -07:00
"template": " \uf0e7 ",
2022-02-03 01:22:57 -08:00
"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": {
2022-03-27 01:12:47 -07:00
"always_enabled": true
2022-02-03 01:22:57 -08:00
},
"style": "plain",
2022-03-27 01:12:47 -07:00
"template": "<transparent>\ue0b0</> \ue23a <background,transparent>\ue0b4</>",
2022-02-03 01:22:57 -08:00
"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,
2022-03-27 01:12:47 -07:00
"version": 2
2021-08-12 22:31:44 -07:00
}