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

122 lines
3.6 KiB
JSON
Raw Normal View History

2021-04-08 14:13:12 -07:00
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"segments": [
2021-04-08 14:13:12 -07:00
{
"background": "#546E7A",
2022-02-03 01:22:57 -08:00
"foreground": "#26C6DA",
"leading_diamond": "\ue0c5",
"properties": {
2022-03-27 01:12:47 -07:00
"macos": "mac"
},
2022-02-03 01:22:57 -08:00
"style": "diamond",
2022-03-27 01:12:47 -07:00
"template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}} \ue0b1",
2022-02-03 01:22:57 -08:00
"trailing_diamond": "\ue0b0",
"type": "os"
2021-04-08 14:13:12 -07:00
},
{
"background": "#546E7A",
2022-02-03 01:22:57 -08:00
"foreground": "#26C6DA",
"powerline_symbol": "\ue0b0",
"style": "powerline",
2022-03-27 01:12:47 -07:00
"template": " {{ .UserName }}@{{ .HostName }} ",
2022-02-03 01:22:57 -08:00
"type": "session"
2021-04-08 14:13:12 -07:00
},
{
"background": "#a2beef",
"background_templates": [
"{{if eq \"Charging\" .State.String}}#00D100{{end}}",
"{{if eq \"Discharging\" .State.String}}#FFCD58{{end}}",
"{{if eq \"Full\" .State.String}}#0476d0{{end}}"
],
2022-02-03 01:22:57 -08:00
"foreground": "#193549",
"powerline_symbol": "\ue0b0",
"style": "powerline",
2022-03-27 01:12:47 -07:00
"template": " {{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }}\uf295 \uf583 ",
2022-02-03 01:22:57 -08:00
"type": "battery"
2021-04-08 14:13:12 -07:00
},
{
"background": "#14c2dd",
2022-02-03 01:22:57 -08:00
"foreground": "#193549",
"powerline_symbol": "\ue0b0",
"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-04-08 14:13:12 -07:00
},
{
"background": "#a2c4e0",
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",
2022-03-27 01:12:47 -07:00
"template": " {{ .UpstreamIcon }}{{ .HEAD }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} ",
2022-02-03 01:22:57 -08:00
"type": "git"
2021-04-08 14:13:12 -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-04-08 14:13:12 -07:00
},
{
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"
2021-04-08 14:13:12 -07:00
},
{
"background": "#0077c2",
2022-02-03 01:22:57 -08:00
"foreground": "#ffffff",
"powerline_symbol": "\ue0b0",
"style": "powerline",
2022-03-27 01:12:47 -07:00
"template": " \ufd31 {{.Context}} :: {{if .Namespace}}{{.Namespace}}{{else}}default{{end}} ",
2022-02-03 01:22:57 -08:00
"type": "kubectl"
2021-04-08 14:13:12 -07:00
},
{
"background": "#007800",
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",
2022-03-27 01:12:47 -07:00
"template": " \ufc8d ",
2022-02-03 01:22:57 -08:00
"trailing_diamond": "\ue0b0",
"type": "exit"
2021-04-08 14:13:12 -07:00
}
2022-02-03 01:22:57 -08:00
],
"type": "prompt"
2021-04-08 14:13:12 -07:00
},
{
"alignment": "left",
"newline": true,
"segments": [
2021-04-08 14:13:12 -07:00
{
"foreground": "#007ACC",
2022-02-03 01:22:57 -08:00
"style": "plain",
2022-03-27 01:12:47 -07:00
"template": "\u279c ",
2022-02-03 01:22:57 -08:00
"type": "text"
2021-04-08 14:13:12 -07:00
}
2022-02-03 01:22:57 -08:00
],
"type": "prompt"
2021-04-08 14:13:12 -07:00
}
],
2022-02-03 01:22:57 -08:00
"final_space": true,
2022-03-27 01:12:47 -07:00
"version": 2
2021-04-08 14:13:12 -07:00
}